mirror of https://github.com/rusefi/rusefi.git
Merge branch 'master' of https://github.com/rusefi/rusefi into test_trigger_input_adc_more
This commit is contained in:
commit
1ba08e3b38
|
@ -70,6 +70,7 @@ jobs:
|
|||
alphax-8chan,
|
||||
m74_9,
|
||||
s105,
|
||||
t-b-g,
|
||||
harley81,
|
||||
hellen72,
|
||||
hellen81,
|
||||
|
@ -142,6 +143,11 @@ jobs:
|
|||
ini-file: rusefi_s105.ini
|
||||
skip-rate: 90
|
||||
|
||||
- build-target: t-b-g
|
||||
folder: config/boards/test-build-guards
|
||||
ini-file: rusefi_t-b-g.ini
|
||||
skip-rate: 90
|
||||
|
||||
- build-target: m74_9
|
||||
folder: config/boards/m74_9
|
||||
ini-file: rusefi_m74_9.ini
|
||||
|
@ -336,7 +342,7 @@ jobs:
|
|||
- name: Execution throttle early exit
|
||||
# Don't skip any jobs if this workflow was run manually,
|
||||
# or if the commit contains `only:`, signifying that only one bundle should be built.
|
||||
if: ${{ matrix.skip-rate && github.event_name != 'workflow_dispatch' && github.event_name != 'schedule' || contains(github.event.head_commit.message, 'only:') }}
|
||||
if: ${{ matrix.skip-rate && github.event_name != 'workflow_dispatch' && github.event_name != 'schedule' && github.event_name != 'pull_request' || contains(github.event.head_commit.message, 'only:') }}
|
||||
run: |
|
||||
# if the commit message contains `only:`, get the part after the semicolon and check if it matches the build target.
|
||||
read -d '' MSG << EOM || true
|
||||
|
|
|
@ -1369,7 +1369,7 @@
|
|||
#define ts_show_vbatt true
|
||||
#define ts_show_vr_threshold_2 true
|
||||
#define ts_show_vr_threshold_all true
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.cypress.756779283"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.cypress.756779283"
|
||||
#define TS_SINGLE_WRITE_COMMAND 'W'
|
||||
#define TS_SINGLE_WRITE_COMMAND_char W
|
||||
#define TS_TEST_COMMAND 't'
|
||||
|
|
|
@ -1369,7 +1369,7 @@
|
|||
#define ts_show_vbatt true
|
||||
#define ts_show_vr_threshold_2 true
|
||||
#define ts_show_vr_threshold_all true
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.kin.1171008479"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.kin.1171008479"
|
||||
#define TS_SINGLE_WRITE_COMMAND 'W'
|
||||
#define TS_SINGLE_WRITE_COMMAND_char W
|
||||
#define TS_TEST_COMMAND 't'
|
||||
|
|
|
@ -25,4 +25,7 @@ BRDFLAGS += -DBOOT_CPU_SYSTEM_SPEED_KHZ=168000
|
|||
# Select the desired UART peripheral as a zero based index.
|
||||
BRDFLAGS += -DBOOT_COM_RS232_CHANNEL_INDEX=2
|
||||
# \brief Select the desired CAN peripheral as a zero based index.
|
||||
BRDFLAGS += -DBOOT_COM_CAN_CHANNEL_INDEX=1
|
||||
BRDFLAGS += -DBOOT_COM_CAN_CHANNEL_INDEX=1
|
||||
|
||||
# see also BOOT_COM_USB_BACKDOOR_EXTENSION_MS
|
||||
BRDFLAGS += -DBOOT_COM_USB_ENABLE=1
|
||||
|
|
|
@ -1321,7 +1321,7 @@
|
|||
#define ts_show_vbatt true
|
||||
#define ts_show_vr_threshold_2 true
|
||||
#define ts_show_vr_threshold_all true
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.subaru_eg33_f7.709901255"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.subaru_eg33_f7.709901255"
|
||||
#define TS_SINGLE_WRITE_COMMAND 'W'
|
||||
#define TS_SINGLE_WRITE_COMMAND_char W
|
||||
#define TS_TEST_COMMAND 't'
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
DDEFS += -DFIRMWARE_ID=\"t-b-g\"
|
||||
DDEFS += -DSHORT_BOARD_NAME=t-b-g
|
||||
|
||||
DDEFS += -DHAL_USE_ADC=FALSE
|
||||
DDEFS += -DHAL_USE_GPT=FALSE
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
bash ../common_make.sh test-build-guards ARCH_STM32F4
|
|
@ -0,0 +1,3 @@
|
|||
rusEFI is a modular codebase less coupled to any specific microcontroller these days.
|
||||
|
||||
We use this fake board to assert that firmware builds without ADC and GPT.
|
|
@ -235,9 +235,9 @@ void EtbController::onConfigurationChange(pid_s* previousConfiguration) {
|
|||
if (m_motor && !m_pid.isSame(previousConfiguration)) {
|
||||
m_shouldResetPid = true;
|
||||
}
|
||||
m_dutyRocAverage.init(engineConfiguration->etbRocExpAverageLength);
|
||||
m_dutyAverage.init(engineConfiguration->etbExpAverageLength);
|
||||
doInitElectronicThrottle();
|
||||
m_dutyRocAverage.init(engineConfiguration->etbRocExpAverageLength);
|
||||
m_dutyAverage.init(engineConfiguration->etbExpAverageLength);
|
||||
doInitElectronicThrottle();
|
||||
}
|
||||
|
||||
void EtbController::showStatus() {
|
||||
|
@ -321,9 +321,9 @@ expected<percent_t> EtbController::getSetpointEtb() {
|
|||
percent_t targetPosition = idlePosition + getLuaAdjustment();
|
||||
|
||||
#if EFI_ANTILAG_SYSTEM
|
||||
if (engine->antilagController.isAntilagCondition) {
|
||||
targetPosition += engineConfiguration->ALSEtbAdd;
|
||||
}
|
||||
if (engine->antilagController.isAntilagCondition) {
|
||||
targetPosition += engineConfiguration->ALSEtbAdd;
|
||||
}
|
||||
#endif /* EFI_ANTILAG_SYSTEM */
|
||||
|
||||
// Apply any adjustment that this throttle alone needs
|
||||
|
@ -401,7 +401,7 @@ expected<percent_t> EtbController::getOpenLoop(percent_t target) {
|
|||
&& m_function != DC_IdleValve) {
|
||||
etbFeedForward = interpolate2d(target, config->etbBiasBins, config->etbBiasValues);
|
||||
} else {
|
||||
etbFeedForward = 0;
|
||||
etbFeedForward = 0;
|
||||
}
|
||||
|
||||
return etbFeedForward;
|
||||
|
@ -566,10 +566,10 @@ bool EtbController::checkStatus() {
|
|||
#endif /* EFI_TUNER_STUDIO */
|
||||
|
||||
if (!isEtbMode()) {
|
||||
// no validation for h-bridge or idle mode
|
||||
return true;
|
||||
}
|
||||
// ETB-specific code belo. The whole mix-up between DC and ETB is shameful :(
|
||||
// no validation for h-bridge or idle mode
|
||||
return true;
|
||||
}
|
||||
// ETB-specific code belo. The whole mix-up between DC and ETB is shameful :(
|
||||
|
||||
m_pid.iTermMin = engineConfiguration->etb_iTermMin;
|
||||
m_pid.iTermMax = engineConfiguration->etb_iTermMax;
|
||||
|
@ -621,7 +621,7 @@ bool EtbController::checkStatus() {
|
|||
|
||||
etbErrorCode = (int8_t)localReason;
|
||||
|
||||
return localReason == TpsState::None;
|
||||
return localReason == TpsState::None;
|
||||
}
|
||||
|
||||
void EtbController::update() {
|
||||
|
@ -638,7 +638,7 @@ void EtbController::update() {
|
|||
return;
|
||||
}
|
||||
|
||||
bool isOk = checkStatus();
|
||||
bool isOk = checkStatus();
|
||||
|
||||
if (!isOk) {
|
||||
// If engine is stopped and so configured, skip the ETB update entirely
|
||||
|
|
|
@ -94,13 +94,13 @@ private:
|
|||
// todo: rename to m_targetErrorAccumulator
|
||||
ErrorAccumulator m_errorAccumulator;
|
||||
|
||||
/**
|
||||
* @return true if OK, false if should be disabled
|
||||
*/
|
||||
bool checkStatus();
|
||||
bool isEtbMode() {
|
||||
return m_function == DC_Throttle1 || m_function == DC_Throttle2;
|
||||
}
|
||||
/**
|
||||
* @return true if OK, false if should be disabled
|
||||
*/
|
||||
bool checkStatus();
|
||||
bool isEtbMode() {
|
||||
return m_function == DC_Throttle1 || m_function == DC_Throttle2;
|
||||
}
|
||||
|
||||
ExpAverage m_dutyRocAverage;
|
||||
ExpAverage m_dutyAverage;
|
||||
|
|
|
@ -317,7 +317,7 @@ float IdleController::getIdlePosition(float rpm) {
|
|||
|
||||
bool isAutomaticIdle = tps.Valid && engineConfiguration->idleMode == IM_AUTO;
|
||||
|
||||
isVerboseIAC = engineConfiguration->isVerboseIAC && isAutomaticIdle;
|
||||
isVerboseIAC = engineConfiguration->isVerboseIAC && isAutomaticIdle;
|
||||
if (isVerboseIAC) {
|
||||
efiPrintf("Idle state %s", getIdle_state_e(idleState));
|
||||
getIdlePid()->showPidStatus("idle");
|
||||
|
|
|
@ -159,9 +159,9 @@ void stopVvtControlPins() {
|
|||
}
|
||||
|
||||
void initVvtActuators() {
|
||||
if (engineConfiguration->vvtControlMinRpm < engineConfiguration->cranking.rpm) {
|
||||
engineConfiguration->vvtControlMinRpm = engineConfiguration->cranking.rpm;
|
||||
}
|
||||
if (engineConfiguration->vvtControlMinRpm < engineConfiguration->cranking.rpm) {
|
||||
engineConfiguration->vvtControlMinRpm = engineConfiguration->cranking.rpm;
|
||||
}
|
||||
|
||||
vvtTable1.init(config->vvtTable1, config->vvtTable1LoadBins,
|
||||
config->vvtTable1RpmBins);
|
||||
|
|
|
@ -54,15 +54,15 @@ static angle_t getRunningAdvance(int rpm, float engineLoad) {
|
|||
);
|
||||
|
||||
#if EFI_ANTILAG_SYSTEM
|
||||
if (engine->antilagController.isAntilagCondition) {
|
||||
float throttleIntent = Sensor::getOrZero(SensorType::DriverThrottleIntent);
|
||||
if (engine->antilagController.isAntilagCondition) {
|
||||
float throttleIntent = Sensor::getOrZero(SensorType::DriverThrottleIntent);
|
||||
engine->antilagController.timingALSCorrection = interpolate3d(
|
||||
config->ALSTimingRetardTable,
|
||||
config->alsIgnRetardLoadBins, throttleIntent,
|
||||
config->alsIgnRetardrpmBins, rpm
|
||||
);
|
||||
advanceAngle += engine->antilagController.timingALSCorrection;
|
||||
}
|
||||
}
|
||||
#endif /* EFI_ANTILAG_SYSTEM */
|
||||
|
||||
// Add any adjustments if configured
|
||||
|
@ -79,7 +79,7 @@ static angle_t getRunningAdvance(int rpm, float engineLoad) {
|
|||
// get advance from the separate table for Idle
|
||||
#if EFI_IDLE_CONTROL
|
||||
if (engineConfiguration->useSeparateAdvanceForIdle &&
|
||||
engine->module<IdleController>()->isIdlingOrTaper()) {
|
||||
engine->module<IdleController>()->isIdlingOrTaper()) {
|
||||
float idleAdvance = interpolate2d(rpm, config->idleAdvanceBins, config->idleAdvance);
|
||||
|
||||
auto tps = Sensor::get(SensorType::DriverThrottleIntent);
|
||||
|
@ -92,15 +92,15 @@ static angle_t getRunningAdvance(int rpm, float engineLoad) {
|
|||
|
||||
#if EFI_LAUNCH_CONTROL
|
||||
if (engine->launchController.isLaunchCondition && engineConfiguration->enableLaunchRetard) {
|
||||
if (engineConfiguration->launchSmoothRetard) {
|
||||
float launchAngle = engineConfiguration->launchTimingRetard;
|
||||
int launchRpm = engineConfiguration->launchRpm;
|
||||
int launchRpmWithTimingRange = launchRpm + engineConfiguration->launchTimingRpmRange;
|
||||
if (engineConfiguration->launchSmoothRetard) {
|
||||
float launchAngle = engineConfiguration->launchTimingRetard;
|
||||
int launchRpm = engineConfiguration->launchRpm;
|
||||
int launchRpmWithTimingRange = launchRpm + engineConfiguration->launchTimingRpmRange;
|
||||
// interpolate timing from rpm at launch triggered to full retard at launch launchRpm + launchTimingRpmRange
|
||||
return interpolateClamped(launchRpm, advanceAngle, launchRpmWithTimingRange, launchAngle, rpm);
|
||||
} else {
|
||||
return engineConfiguration->launchTimingRetard;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /* EFI_LAUNCH_CONTROL */
|
||||
|
||||
|
|
|
@ -396,17 +396,17 @@ float getBaroCorrection() {
|
|||
|
||||
percent_t getFuelALSCorrection(int rpm) {
|
||||
#if EFI_ANTILAG_SYSTEM
|
||||
if (engine->antilagController.isAntilagCondition) {
|
||||
float throttleIntent = Sensor::getOrZero(SensorType::DriverThrottleIntent);
|
||||
auto AlsFuelAdd = interpolate3d(
|
||||
if (engine->antilagController.isAntilagCondition) {
|
||||
float throttleIntent = Sensor::getOrZero(SensorType::DriverThrottleIntent);
|
||||
auto AlsFuelAdd = interpolate3d(
|
||||
config->ALSFuelAdjustment,
|
||||
config->alsFuelAdjustmentLoadBins, throttleIntent,
|
||||
config->alsFuelAdjustmentrpmBins, rpm
|
||||
);
|
||||
return AlsFuelAdd;
|
||||
} else
|
||||
);
|
||||
return AlsFuelAdd;
|
||||
} else
|
||||
#endif /* EFI_ANTILAG_SYSTEM */
|
||||
{
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -113,7 +113,7 @@ void LaunchControlBase::update() {
|
|||
or it is supposed to be referencing 'launchTimingRpmRange'?
|
||||
+ (engineConfiguration->enableLaunchRetard ? engineConfiguration->launchAdvanceRpmRange : 0)
|
||||
*/
|
||||
+ engineConfiguration->hardCutRpmRange;
|
||||
+ engineConfiguration->hardCutRpmRange;
|
||||
|
||||
if (!combinedConditions) {
|
||||
// conditions not met, reset timer
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#pragma once
|
||||
#define VCS_DATE 20230601
|
||||
#define VCS_DATE 20230602
|
||||
|
|
|
@ -1369,7 +1369,7 @@
|
|||
#define ts_show_vbatt true
|
||||
#define ts_show_vr_threshold_2 true
|
||||
#define ts_show_vr_threshold_all true
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.f407-discovery.1899591142"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.f407-discovery.1899591142"
|
||||
#define TS_SINGLE_WRITE_COMMAND 'W'
|
||||
#define TS_SINGLE_WRITE_COMMAND_char W
|
||||
#define TS_TEST_COMMAND 't'
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 126675272
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.48way.126675272"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.48way.126675272"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 1572616753
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.alphax-2chan.1572616753"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.alphax-2chan.1572616753"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2065600475
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.alphax-4chan.2065600475"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.alphax-4chan.2065600475"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 1785088417
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.alphax-8chan.1785088417"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.alphax-8chan.1785088417"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 835812404
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.atlas.835812404"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.atlas.835812404"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2071030852
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.core8.2071030852"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.core8.2071030852"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 756779283
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.cypress.756779283"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.cypress.756779283"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 1899591142
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.f407-discovery.1899591142"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.f407-discovery.1899591142"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 756779283
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.f429-discovery.756779283"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.f429-discovery.756779283"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 256469465
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.frankenso_na6.256469465"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.frankenso_na6.256469465"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2030145807
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.harley81.2030145807"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.harley81.2030145807"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 3836417242
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellen-gm-e67.3836417242"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellen-gm-e67.3836417242"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 1141679524
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellen-honda-k.1141679524"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellen-honda-k.1141679524"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 4224237496
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellen-nb1.4224237496"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellen-nb1.4224237496"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 3065602192
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellen121nissan.3065602192"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellen121nissan.3065602192"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 4144381926
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellen121vag.4144381926"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellen121vag.4144381926"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2397094805
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellen128.2397094805"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellen128.2397094805"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2432116723
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellen154hyundai.2432116723"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellen154hyundai.2432116723"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 900424036
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellen72.900424036"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellen72.900424036"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 675388413
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellen81.675388413"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellen81.675388413"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2800035386
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellen88bmw.2800035386"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellen88bmw.2800035386"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 3361245866
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellenNA6.3361245866"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellenNA6.3361245866"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2810993790
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.hellenNA8_96.2810993790"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.hellenNA8_96.2810993790"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 1171008479
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.kin.1171008479"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.kin.1171008479"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 4069872680
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.m74_9.4069872680"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.m74_9.4069872680"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2699876979
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.mre_f4.2699876979"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.mre_f4.2699876979"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2699876979
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.mre_f7.2699876979"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.mre_f7.2699876979"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 756779283
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.nucleo_f429.756779283"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.nucleo_f429.756779283"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 756779283
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.nucleo_f767.756779283"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.nucleo_f767.756779283"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 756779283
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.nucleo_h743.756779283"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.nucleo_h743.756779283"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 495928451
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.prometheus_405.495928451"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.prometheus_405.495928451"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 495928451
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.prometheus_469.495928451"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.prometheus_469.495928451"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2493447562
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.proteus_f4.2493447562"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.proteus_f4.2493447562"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2493447562
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.proteus_f7.2493447562"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.proteus_f7.2493447562"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2493447562
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.proteus_h7.2493447562"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.proteus_h7.2493447562"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 366443690
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.s105.366443690"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.s105.366443690"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 709901255
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.subaru_eg33_f7.709901255"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.subaru_eg33_f7.709901255"
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
//
|
||||
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh by SignatureConsumer
|
||||
//
|
||||
|
||||
#define SIGNATURE_HASH 756779283
|
||||
#define TS_SIGNATURE "rusEFI tbg.2023.06.01.t-b-g.756779283"
|
|
@ -3,4 +3,4 @@
|
|||
//
|
||||
|
||||
#define SIGNATURE_HASH 2813699377
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.01.tdg-pdm8.2813699377"
|
||||
#define TS_SIGNATURE "rusEFI master.2023.06.02.tdg-pdm8.2813699377"
|
||||
|
|
|
@ -63,7 +63,8 @@ void TriggerWaveform::initialize(operation_mode_e operationMode, SyncEdge syncEd
|
|||
gapTrackingLength = 1;
|
||||
|
||||
tdcPosition = 0;
|
||||
shapeDefinitionError = useOnlyPrimaryForSync = false;
|
||||
shapeDefinitionError = false;
|
||||
useOnlyPrimaryForSync = false;
|
||||
|
||||
this->operationMode = operationMode;
|
||||
this->syncEdge = syncEdge;
|
||||
|
|
|
@ -140,10 +140,10 @@ expected<uint32_t> TriggerStimulatorHelper::findTriggerSyncPoint(
|
|||
}
|
||||
shape.setShapeDefinitionError(true);
|
||||
|
||||
if (engineConfiguration->overrideTriggerGaps) {
|
||||
firmwareError(ObdCode::CUSTOM_ERR_CUSTOM_GAPS_BAD, "Your custom trigger gaps are not good.");
|
||||
if (engineConfiguration->overrideTriggerGaps) {
|
||||
firmwareError(ObdCode::CUSTOM_ERR_CUSTOM_GAPS_BAD, "The custom trigger gaps are invalid for the current trigger type.");
|
||||
} else {
|
||||
firmwareError(ObdCode::CUSTOM_ERR_TRIGGER_SYNC, "findTriggerZeroEventIndex() failed");
|
||||
firmwareError(ObdCode::CUSTOM_ERR_TRIGGER_SYNC, "findTriggerZeroEventIndex() failed");
|
||||
}
|
||||
return unexpected;
|
||||
}
|
||||
|
|
|
@ -130,6 +130,8 @@
|
|||
/** \brief Enable/disable hooks functions to override the user program checksum handling. */
|
||||
#define BOOT_NVM_CHECKSUM_HOOKS_ENABLE (0)
|
||||
|
||||
#define BOOT_COM_USB_TX_MAX_DATA (63)
|
||||
#define BOOT_COM_USB_RX_MAX_DATA (63)
|
||||
|
||||
/****************************************************************************************
|
||||
* F L A S H M E M O R Y D R I V E R C O N F I G U R A T I O N
|
||||
|
|
|
@ -85,6 +85,19 @@ PROJ_FILES += $(PROJECT_DIR)/hw_layer/openblt/led.h
|
|||
PROJ_FILES += $(PROJECT_DIR)/hw_layer/openblt/shared_params.c
|
||||
PROJ_FILES += $(PROJECT_DIR)/hw_layer/openblt/shared_params.h
|
||||
|
||||
ifeq ($(PROJECT_CPU),ARCH_STM32F4)
|
||||
# USB support
|
||||
PROJ_FILES += $(PROJECT_DIR)/hw_layer/openblt/usbd_desc.c
|
||||
PROJ_FILES += $(PROJECT_DIR)/hw_layer/openblt/usbd_desc.h
|
||||
PROJ_FILES += $(PROJECT_DIR)/hw_layer/openblt/usbd_conf.c
|
||||
PROJ_FILES += $(PROJECT_DIR)/hw_layer/openblt/usbd_conf.h
|
||||
PROJ_FILES += $(PROJECT_DIR)/hw_layer/openblt/usbd_bulk.c
|
||||
PROJ_FILES += $(PROJECT_DIR)/hw_layer/openblt/usbd_bulk.h
|
||||
# Common USB lib
|
||||
PROJ_FILES += $(wildcard $(PROJECT_DIR)/ext/openblt/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_GCC/Boot/lib/STM32_USB_Device_Library/Core/Src/*.c)
|
||||
PROJ_FILES += $(wildcard $(PROJECT_DIR)/ext/openblt/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_GCC/Boot/lib/STM32_USB_Device_Library/Core/Inc/*.h)
|
||||
endif
|
||||
|
||||
# CPU-dependent sources
|
||||
ifeq ($(PROJECT_CPU),ARCH_STM32F4)
|
||||
# Collect bootloader port files
|
||||
|
@ -217,6 +230,8 @@ $(OBJ_PATH)%.o: %.c
|
|||
$(OBJ_PATH):
|
||||
@echo AOBJS = $(AOBJS)
|
||||
@echo COBJS = $(COBJS)
|
||||
@echo PROJ_CHDRS = $(PROJ_CHDRS)
|
||||
@echo INC_PATH = $(INC_PATH)
|
||||
@mkdir -p $(OBJ_PATH)
|
||||
|
||||
#|--------------------------------------------------------------------------------------|
|
||||
|
|
|
@ -0,0 +1,400 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* @file usbd_bulk.c
|
||||
* @author MCD Application Team
|
||||
* @version V2.4.2
|
||||
* @date 11-December-2015
|
||||
* @brief This file provides the high layer firmware functions to manage a
|
||||
* USB bulk device.
|
||||
*
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© COPYRIGHT 2015 STMicroelectronics</center></h2>
|
||||
*
|
||||
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
*
|
||||
* http://www.st.com/software_license_agreement_liberty_v2
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "usbd_bulk.h"
|
||||
#include "usbd_desc.h"
|
||||
#include "usbd_ctlreq.h"
|
||||
|
||||
|
||||
/** @addtogroup STM32_USB_DEVICE_LIBRARY
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
||||
/** @defgroup USBD_Bulk
|
||||
* @brief usbd core module
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_Bulk_Private_TypesDefinitions
|
||||
* @{
|
||||
*/
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
/** @defgroup USBD_Bulk_Private_Defines
|
||||
* @{
|
||||
*/
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
/** @defgroup USBD_Bulk_Private_Macros
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
/** @defgroup USBD_Bulk_Private_FunctionPrototypes
|
||||
* @{
|
||||
*/
|
||||
extern void UsbReceivePipeBulkOUT(uint8_t epnum);
|
||||
extern void UsbTransmitPipeBulkIN(void);
|
||||
|
||||
|
||||
static uint8_t USBD_Bulk_Init (USBD_HandleTypeDef *pdev,
|
||||
uint8_t cfgidx);
|
||||
|
||||
static uint8_t USBD_Bulk_DeInit (USBD_HandleTypeDef *pdev,
|
||||
uint8_t cfgidx);
|
||||
|
||||
static uint8_t USBD_Bulk_Setup (USBD_HandleTypeDef *pdev,
|
||||
USBD_SetupReqTypedef *req);
|
||||
|
||||
static uint8_t USBD_Bulk_DataIn (USBD_HandleTypeDef *pdev,
|
||||
uint8_t epnum);
|
||||
|
||||
static uint8_t USBD_Bulk_DataOut (USBD_HandleTypeDef *pdev,
|
||||
uint8_t epnum);
|
||||
|
||||
static uint8_t USBD_Bulk_SOF (USBD_HandleTypeDef *pdev);
|
||||
|
||||
static uint8_t *USBD_Bulk_GetFSCfgDesc (uint16_t *length);
|
||||
|
||||
uint8_t *USBD_Bulk_GetDeviceQualifierDescriptor (uint16_t *length);
|
||||
|
||||
/* USB Standard Device Descriptor */
|
||||
__ALIGN_BEGIN static uint8_t USBD_Bulk_DeviceQualifierDesc[USB_LEN_DEV_QUALIFIER_DESC] __ALIGN_END =
|
||||
{
|
||||
USB_LEN_DEV_QUALIFIER_DESC,
|
||||
USB_DESC_TYPE_DEVICE_QUALIFIER,
|
||||
0x10,
|
||||
0x01,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x40,
|
||||
0x01,
|
||||
0x00,
|
||||
};
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_Bulk_Private_Variables
|
||||
* @{
|
||||
*/
|
||||
#if defined ( __ICCARM__ ) /* IAR Compiler */
|
||||
#pragma data_alignment=4
|
||||
#endif /* defined ( __ICCARM__ ) */
|
||||
__ALIGN_BEGIN static volatile uint32_t usbd_bulk_AltSet __ALIGN_END = 0;
|
||||
__ALIGN_BEGIN uint8_t USB_Rx_Buffer[BULK_DATA_MAX_PACKET_SIZE] __ALIGN_END ;
|
||||
|
||||
|
||||
/* Bulk interface class callbacks structure */
|
||||
USBD_ClassTypeDef USBD_Bulk =
|
||||
{
|
||||
USBD_Bulk_Init,
|
||||
USBD_Bulk_DeInit,
|
||||
USBD_Bulk_Setup,
|
||||
NULL,
|
||||
NULL,
|
||||
USBD_Bulk_DataIn,
|
||||
USBD_Bulk_DataOut,
|
||||
USBD_Bulk_SOF,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
USBD_Bulk_GetFSCfgDesc,
|
||||
NULL,
|
||||
USBD_Bulk_GetDeviceQualifierDescriptor,
|
||||
};
|
||||
|
||||
/* USB Bulk device Configuration Descriptor */
|
||||
__ALIGN_BEGIN uint8_t USBD_Bulk_CfgFSDesc[USB_BULK_CONFIG_DESC_SIZ] __ALIGN_END =
|
||||
{
|
||||
/*Configuration Descriptor*/
|
||||
0x09, /* bLength: Configuration Descriptor size */
|
||||
USB_DESC_TYPE_CONFIGURATION, /* bDescriptorType: Configuration */
|
||||
USB_BULK_CONFIG_DESC_SIZ, /* wTotalLength:no of returned bytes */
|
||||
0x00,
|
||||
0x01, /* bNumInterfaces: 1 interface */
|
||||
0x01, /* bConfigurationValue: Configuration value */
|
||||
0x00, /* iConfiguration: Index of string descriptor describing the configuration */
|
||||
0xC0, /* bmAttributes: self powered */
|
||||
0x32, /* MaxPower 100 mA */
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
/*Interface Descriptor */
|
||||
0x09, /* bLength: Interface Descriptor size */
|
||||
USB_DESC_TYPE_INTERFACE, /* bDescriptorType: Interface */
|
||||
/* Interface descriptor type */
|
||||
0x00, /* bInterfaceNumber: Number of Interface */
|
||||
0x00, /* bAlternateSetting: Alternate setting */
|
||||
0x02, /* bNumEndpoints: One endpoints used */
|
||||
0xFF, /* bInterfaceClass: vendor specific */
|
||||
0x00, /* bInterfaceSubClass */
|
||||
0x00, /* bInterfaceProtocol */
|
||||
0x00, /* iInterface: */
|
||||
|
||||
/*Endpoint IN Descriptor*/
|
||||
0x07, /* bLength: Endpoint Descriptor size */
|
||||
USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
|
||||
BULK_IN_EP, /* bEndpointAddress */
|
||||
0x02, /* bmAttributes: Bulk */
|
||||
LOBYTE(BULK_DATA_MAX_PACKET_SIZE), /* wMaxPacketSize: */
|
||||
HIBYTE(BULK_DATA_MAX_PACKET_SIZE),
|
||||
0xFF, /* bInterval: ignore for Bulk transfer */
|
||||
|
||||
/*Endpoint OUT Descriptor*/
|
||||
0x07, /* bLength: Endpoint Descriptor size */
|
||||
USB_DESC_TYPE_ENDPOINT, /* bDescriptorType: Endpoint */
|
||||
BULK_OUT_EP, /* bEndpointAddress */
|
||||
0x02, /* bmAttributes: Bulk */
|
||||
LOBYTE(BULK_DATA_MAX_PACKET_SIZE), /* wMaxPacketSize: */
|
||||
HIBYTE(BULK_DATA_MAX_PACKET_SIZE),
|
||||
0xFF /* bInterval: ignore for Bulk transfer */
|
||||
} ;
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_Bulk_Private_Functions
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief USBD_Bulk_Init
|
||||
* Initialize the Bulk interface
|
||||
* @param pdev: device instance
|
||||
* @param cfgidx: Configuration index
|
||||
* @retval status
|
||||
*/
|
||||
static uint8_t USBD_Bulk_Init (USBD_HandleTypeDef *pdev,
|
||||
uint8_t cfgidx)
|
||||
{
|
||||
uint8_t ret = 0;
|
||||
|
||||
/* Open EP IN */
|
||||
USBD_LL_OpenEP(pdev,
|
||||
BULK_IN_EP,
|
||||
USBD_EP_TYPE_BULK,
|
||||
BULK_DATA_FS_IN_PACKET_SIZE);
|
||||
|
||||
/* Open EP OUT */
|
||||
USBD_LL_OpenEP(pdev,
|
||||
BULK_OUT_EP,
|
||||
USBD_EP_TYPE_BULK,
|
||||
BULK_DATA_FS_OUT_PACKET_SIZE);
|
||||
|
||||
/* Prepare Out endpoint to receive next packet */
|
||||
USBD_LL_PrepareReceive(pdev,
|
||||
BULK_OUT_EP,
|
||||
&USB_Rx_Buffer[0],
|
||||
BULK_DATA_FS_OUT_PACKET_SIZE);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief USBD_Bulk_DeInit
|
||||
* DeInitialize the Bulk layer
|
||||
* @param pdev: device instance
|
||||
* @param cfgidx: Configuration index
|
||||
* @retval status
|
||||
*/
|
||||
static uint8_t USBD_Bulk_DeInit (USBD_HandleTypeDef *pdev,
|
||||
uint8_t cfgidx)
|
||||
{
|
||||
uint8_t ret = 0;
|
||||
|
||||
/* Close EP IN */
|
||||
USBD_LL_CloseEP(pdev, BULK_IN_EP);
|
||||
|
||||
/* lose EP OUT */
|
||||
USBD_LL_CloseEP(pdev, BULK_OUT_EP);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief USBD_Bulk_Setup
|
||||
* Handle the bulk specific requests
|
||||
* @param pdev: instance
|
||||
* @param req: usb requests
|
||||
* @retval status
|
||||
*/
|
||||
static uint8_t USBD_Bulk_Setup (USBD_HandleTypeDef *pdev,
|
||||
USBD_SetupReqTypedef *req)
|
||||
{
|
||||
uint16_t len=USB_BULK_DESC_SIZ;
|
||||
uint8_t *pbuf=USBD_Bulk_CfgFSDesc + 9;
|
||||
|
||||
switch (req->bmRequest & USB_REQ_TYPE_MASK)
|
||||
{
|
||||
case USB_REQ_TYPE_STANDARD:
|
||||
switch (req->bRequest)
|
||||
{
|
||||
case USB_REQ_GET_DESCRIPTOR :
|
||||
if ( (req->wValue >> 8) == BULK_DESCRIPTOR_TYPE)
|
||||
{
|
||||
pbuf = USBD_Bulk_CfgFSDesc + 9 + (9 * USBD_MAX_NUM_INTERFACES);
|
||||
len = MIN(USB_BULK_DESC_SIZ , req->wLength);
|
||||
|
||||
}
|
||||
USBD_CtlSendData (pdev, pbuf, len);
|
||||
break;
|
||||
|
||||
case USB_REQ_GET_INTERFACE :
|
||||
USBD_CtlSendData (pdev,
|
||||
(uint8_t *)&usbd_bulk_AltSet,
|
||||
1);
|
||||
break;
|
||||
|
||||
case USB_REQ_SET_INTERFACE :
|
||||
if ((uint8_t)(req->wValue) < USBD_MAX_NUM_INTERFACES)
|
||||
{
|
||||
usbd_bulk_AltSet = (uint8_t)(req->wValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Call the error management function (command will be nacked */
|
||||
USBD_CtlError (pdev, req);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return USBD_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief USBD_Bulk_DataIn
|
||||
* Data sent on non-control IN endpoint
|
||||
* @param pdev: device instance
|
||||
* @param epnum: endpoint number
|
||||
* @retval status
|
||||
*/
|
||||
static uint8_t USBD_Bulk_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum)
|
||||
{
|
||||
/* endpoint finished the previous transmission so see if more data is left */
|
||||
UsbTransmitPipeBulkIN();
|
||||
return USBD_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief USBD_Bulk_DataOut
|
||||
* Data received on non-control Out endpoint
|
||||
* @param pdev: device instance
|
||||
* @param epnum: endpoint number
|
||||
* @retval status
|
||||
*/
|
||||
static uint8_t USBD_Bulk_DataOut (USBD_HandleTypeDef *pdev, uint8_t epnum)
|
||||
{
|
||||
/* read the data from the bulk OUT pipe */
|
||||
UsbReceivePipeBulkOUT(epnum);
|
||||
return USBD_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief USBD_Bulk_SOF
|
||||
* Start Of Frame event management
|
||||
* @param pdev: device instance
|
||||
* @retval status
|
||||
*/
|
||||
static uint8_t USBD_Bulk_SOF (USBD_HandleTypeDef *pdev)
|
||||
{
|
||||
if (pdev->dev_state == USBD_STATE_CONFIGURED )
|
||||
{
|
||||
/* Check the data to be sent through IN pipe */
|
||||
UsbTransmitPipeBulkIN();
|
||||
}
|
||||
return USBD_OK;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief USBD_Bulk_GetFSCfgDesc
|
||||
* Return configuration descriptor
|
||||
* @param speed : current device speed
|
||||
* @param length : pointer data length
|
||||
* @retval pointer to descriptor buffer
|
||||
*/
|
||||
static uint8_t *USBD_Bulk_GetFSCfgDesc (uint16_t *length)
|
||||
{
|
||||
*length = sizeof (USBD_Bulk_CfgFSDesc);
|
||||
return USBD_Bulk_CfgFSDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief DeviceQualifierDescriptor
|
||||
* return Device Qualifier descriptor
|
||||
* @param length : pointer data length
|
||||
* @retval pointer to descriptor buffer
|
||||
*/
|
||||
uint8_t *USBD_Bulk_GetDeviceQualifierDescriptor (uint16_t *length)
|
||||
{
|
||||
*length = sizeof (USBD_Bulk_DeviceQualifierDesc);
|
||||
return USBD_Bulk_DeviceQualifierDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief USBD_Bulk_GetRxBufferPtr
|
||||
* @retval Pointer to reception buffer.
|
||||
*/
|
||||
uint8_t * USBD_Bulk_GetRxBufferPtr(void)
|
||||
{
|
||||
return &USB_Rx_Buffer[0];
|
||||
}
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
@ -0,0 +1,120 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* @file usbd_bulk.h
|
||||
* @author MCD Application Team
|
||||
* @version V2.4.2
|
||||
* @date 11-December-2015
|
||||
* @brief header file for the usbd_bulk.c file.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© COPYRIGHT 2015 STMicroelectronics</center></h2>
|
||||
*
|
||||
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
*
|
||||
* http://www.st.com/software_license_agreement_liberty_v2
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __USB_BULK_H
|
||||
#define __USB_BULK_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "usbd_ioreq.h"
|
||||
|
||||
/** @addtogroup STM32_USB_DEVICE_LIBRARY
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup usbd_cdc
|
||||
* @brief This file is the Header file for usbd_cdc.c
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
||||
/** @defgroup usbd_cdc_Exported_Defines
|
||||
* @{
|
||||
*/
|
||||
#define BULK_IN_EP 0x81 /* EP1 for data IN */
|
||||
#define BULK_OUT_EP 0x01 /* EP1 for data OUT */
|
||||
|
||||
/* CDC Endpoints parameters: you can fine tune these values depending on the needed baudrates and performance. */
|
||||
#define BULK_DATA_MAX_PACKET_SIZE 64 /* Endpoint IN & OUT Packet size */
|
||||
|
||||
#define USB_BULK_CONFIG_DESC_SIZ 32
|
||||
#define USB_BULK_DESC_SIZ (32-9)
|
||||
|
||||
#define BULK_DESCRIPTOR_TYPE 0x21
|
||||
|
||||
|
||||
#define BULK_DATA_FS_IN_PACKET_SIZE BULK_DATA_MAX_PACKET_SIZE
|
||||
#define BULK_DATA_FS_OUT_PACKET_SIZE BULK_DATA_MAX_PACKET_SIZE
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
/** @defgroup USBD_CORE_Exported_TypesDefinitions
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
/** @defgroup USBD_CORE_Exported_Macros
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_CORE_Exported_Variables
|
||||
* @{
|
||||
*/
|
||||
|
||||
extern USBD_ClassTypeDef USBD_Bulk;
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USB_CORE_Exported_Functions
|
||||
* @{
|
||||
*/
|
||||
uint8_t * USBD_Bulk_GetRxBufferPtr(void);
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __USB_BULK_H */
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
@ -0,0 +1,595 @@
|
|||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file : Target/usbd_conf.c
|
||||
* @version : v1.0_Cube
|
||||
* @brief : This file implements the board support package for the USB device library
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© Copyright (c) 2021 STMicroelectronics.
|
||||
* All rights reserved.</center></h2>
|
||||
*
|
||||
* This software component is licensed by ST under Ultimate Liberty license
|
||||
* SLA0044, the "License"; You may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at:
|
||||
* www.st.com/SLA0044
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32f4xx.h"
|
||||
#include "stm32f4xx_hal.h"
|
||||
#include "usbd_def.h"
|
||||
#include "usbd_core.h"
|
||||
#include "usbd_bulk.h"
|
||||
#include "boot.h"
|
||||
#include "usb.h"
|
||||
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
/* Private define ------------------------------------------------------------*/
|
||||
/* Private macro -------------------------------------------------------------*/
|
||||
|
||||
/* USER CODE BEGIN PV */
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
|
||||
/* USER CODE END PV */
|
||||
|
||||
PCD_HandleTypeDef hpcd_USB_OTG_FS;
|
||||
|
||||
/* External functions --------------------------------------------------------*/
|
||||
void SystemClock_Config(void);
|
||||
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
/* USER CODE END 0 */
|
||||
|
||||
/* USER CODE BEGIN PFP */
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status);
|
||||
|
||||
/* USER CODE END PFP */
|
||||
|
||||
/* Private functions ---------------------------------------------------------*/
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
/* USER CODE END 1 */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
LL Driver Callbacks (PCD -> USB Device Library)
|
||||
*******************************************************************************/
|
||||
/**
|
||||
* @brief Setup stage callback
|
||||
* @param hpcd: PCD handle
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd)
|
||||
#else
|
||||
void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Data Out stage callback.
|
||||
* @param hpcd: PCD handle
|
||||
* @param epnum: Endpoint number
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
|
||||
#else
|
||||
void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Data In stage callback.
|
||||
* @param hpcd: PCD handle
|
||||
* @param epnum: Endpoint number
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
|
||||
#else
|
||||
void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief SOF callback.
|
||||
* @param hpcd: PCD handle
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_SOFCallback(PCD_HandleTypeDef *hpcd)
|
||||
#else
|
||||
void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Reset callback.
|
||||
* @param hpcd: PCD handle
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_ResetCallback(PCD_HandleTypeDef *hpcd)
|
||||
#else
|
||||
void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
USBD_SpeedTypeDef speed = USBD_SPEED_FULL;
|
||||
|
||||
if ( hpcd->Init.speed == PCD_SPEED_HIGH)
|
||||
{
|
||||
speed = USBD_SPEED_HIGH;
|
||||
}
|
||||
else if ( hpcd->Init.speed == PCD_SPEED_FULL)
|
||||
{
|
||||
speed = USBD_SPEED_FULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
ASSERT_RT(BLT_FALSE);
|
||||
}
|
||||
/* Set Speed. */
|
||||
USBD_LL_SetSpeed((USBD_HandleTypeDef*)hpcd->pData, speed);
|
||||
|
||||
/* Reset Device. */
|
||||
USBD_LL_Reset((USBD_HandleTypeDef*)hpcd->pData);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Suspend callback.
|
||||
* When Low power mode is enabled the debug cannot be used (IAR, Keil doesn't support it)
|
||||
* @param hpcd: PCD handle
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_SuspendCallback(PCD_HandleTypeDef *hpcd)
|
||||
#else
|
||||
void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
/* Inform USB library that core enters in suspend Mode. */
|
||||
USBD_LL_Suspend((USBD_HandleTypeDef*)hpcd->pData);
|
||||
__HAL_PCD_GATE_PHYCLOCK(hpcd);
|
||||
/* Enter in STOP mode. */
|
||||
/* USER CODE BEGIN 2 */
|
||||
if (hpcd->Init.low_power_enable)
|
||||
{
|
||||
/* Set SLEEPDEEP bit and SleepOnExit of Cortex System Control Register. */
|
||||
SCB->SCR |= (uint32_t)((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk));
|
||||
}
|
||||
/* Inform application that the USB entered low power mode. */
|
||||
UsbEnterLowPowerModeHook();
|
||||
/* USER CODE END 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Resume callback.
|
||||
* When Low power mode is enabled the debug cannot be used (IAR, Keil doesn't support it)
|
||||
* @param hpcd: PCD handle
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_ResumeCallback(PCD_HandleTypeDef *hpcd)
|
||||
#else
|
||||
void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
/* USER CODE BEGIN 3 */
|
||||
/* Inform application that the USB left low power mode. */
|
||||
UsbLeaveLowPowerModeHook();
|
||||
/* USER CODE END 3 */
|
||||
USBD_LL_Resume((USBD_HandleTypeDef*)hpcd->pData);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ISOOUTIncomplete callback.
|
||||
* @param hpcd: PCD handle
|
||||
* @param epnum: Endpoint number
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
|
||||
#else
|
||||
void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
USBD_LL_IsoOUTIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ISOINIncomplete callback.
|
||||
* @param hpcd: PCD handle
|
||||
* @param epnum: Endpoint number
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
|
||||
#else
|
||||
void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
USBD_LL_IsoINIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Connect callback.
|
||||
* @param hpcd: PCD handle
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_ConnectCallback(PCD_HandleTypeDef *hpcd)
|
||||
#else
|
||||
void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
/* Configure Low connection state. */
|
||||
UsbConnectHook(BLT_TRUE);
|
||||
/* Inform lower layer. */
|
||||
USBD_LL_DevConnected((USBD_HandleTypeDef*)hpcd->pData);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Disconnect callback.
|
||||
* @param hpcd: PCD handle
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
static void PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd)
|
||||
#else
|
||||
void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd)
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
{
|
||||
/* Configure High connection state. */
|
||||
UsbConnectHook(BLT_FALSE);
|
||||
/* Inform lower layer. */
|
||||
USBD_LL_DevDisconnected((USBD_HandleTypeDef*)hpcd->pData);
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
LL Driver Interface (USB Device Library --> PCD)
|
||||
*******************************************************************************/
|
||||
|
||||
/**
|
||||
* @brief Initializes the low level portion of the device driver.
|
||||
* @param pdev: Device handle
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev)
|
||||
{
|
||||
/* Init USB Ip. */
|
||||
if (pdev->id == DEVICE_FS) {
|
||||
/* Link the driver to the stack. */
|
||||
hpcd_USB_OTG_FS.pData = pdev;
|
||||
pdev->pData = &hpcd_USB_OTG_FS;
|
||||
|
||||
hpcd_USB_OTG_FS.Instance = USB_OTG_FS;
|
||||
hpcd_USB_OTG_FS.Init.dev_endpoints = 4;
|
||||
hpcd_USB_OTG_FS.Init.speed = PCD_SPEED_FULL;
|
||||
hpcd_USB_OTG_FS.Init.dma_enable = DISABLE;
|
||||
hpcd_USB_OTG_FS.Init.phy_itface = PCD_PHY_EMBEDDED;
|
||||
hpcd_USB_OTG_FS.Init.Sof_enable = ENABLE;
|
||||
hpcd_USB_OTG_FS.Init.low_power_enable = DISABLE;
|
||||
hpcd_USB_OTG_FS.Init.lpm_enable = DISABLE;
|
||||
hpcd_USB_OTG_FS.Init.vbus_sensing_enable = DISABLE;
|
||||
hpcd_USB_OTG_FS.Init.use_dedicated_ep1 = DISABLE;
|
||||
if (HAL_PCD_Init(&hpcd_USB_OTG_FS) != HAL_OK)
|
||||
{
|
||||
ASSERT_RT(BLT_FALSE);
|
||||
}
|
||||
|
||||
#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
/* Register USB PCD CallBacks */
|
||||
HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_SOF_CB_ID, PCD_SOFCallback);
|
||||
HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_SETUPSTAGE_CB_ID, PCD_SetupStageCallback);
|
||||
HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_RESET_CB_ID, PCD_ResetCallback);
|
||||
HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_SUSPEND_CB_ID, PCD_SuspendCallback);
|
||||
HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_RESUME_CB_ID, PCD_ResumeCallback);
|
||||
HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_CONNECT_CB_ID, PCD_ConnectCallback);
|
||||
HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_DISCONNECT_CB_ID, PCD_DisconnectCallback);
|
||||
|
||||
HAL_PCD_RegisterDataOutStageCallback(&hpcd_USB_OTG_FS, PCD_DataOutStageCallback);
|
||||
HAL_PCD_RegisterDataInStageCallback(&hpcd_USB_OTG_FS, PCD_DataInStageCallback);
|
||||
HAL_PCD_RegisterIsoOutIncpltCallback(&hpcd_USB_OTG_FS, PCD_ISOOUTIncompleteCallback);
|
||||
HAL_PCD_RegisterIsoInIncpltCallback(&hpcd_USB_OTG_FS, PCD_ISOINIncompleteCallback);
|
||||
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
HAL_PCDEx_SetRxFiFo(&hpcd_USB_OTG_FS, 0x80);
|
||||
HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_FS, 0, 0x40);
|
||||
HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_FS, 1, 0x80);
|
||||
}
|
||||
return USBD_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief De-Initializes the low level portion of the device driver.
|
||||
* @param pdev: Device handle
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_DeInit(USBD_HandleTypeDef *pdev)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_DeInit(pdev->pData);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Starts the low level portion of the device driver.
|
||||
* @param pdev: Device handle
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_Start(USBD_HandleTypeDef *pdev)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_Start(pdev->pData);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Stops the low level portion of the device driver.
|
||||
* @param pdev: Device handle
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_Stop(USBD_HandleTypeDef *pdev)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_Stop(pdev->pData);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Opens an endpoint of the low level driver.
|
||||
* @param pdev: Device handle
|
||||
* @param ep_addr: Endpoint number
|
||||
* @param ep_type: Endpoint type
|
||||
* @param ep_mps: Endpoint max packet size
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_OpenEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_mps)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_EP_Open(pdev->pData, ep_addr, ep_mps, ep_type);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Closes an endpoint of the low level driver.
|
||||
* @param pdev: Device handle
|
||||
* @param ep_addr: Endpoint number
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_CloseEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_EP_Close(pdev->pData, ep_addr);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Flushes an endpoint of the Low Level Driver.
|
||||
* @param pdev: Device handle
|
||||
* @param ep_addr: Endpoint number
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_FlushEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_EP_Flush(pdev->pData, ep_addr);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Sets a Stall condition on an endpoint of the Low Level Driver.
|
||||
* @param pdev: Device handle
|
||||
* @param ep_addr: Endpoint number
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_StallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_EP_SetStall(pdev->pData, ep_addr);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Clears a Stall condition on an endpoint of the Low Level Driver.
|
||||
* @param pdev: Device handle
|
||||
* @param ep_addr: Endpoint number
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_ClearStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_EP_ClrStall(pdev->pData, ep_addr);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Returns Stall condition.
|
||||
* @param pdev: Device handle
|
||||
* @param ep_addr: Endpoint number
|
||||
* @retval Stall (1: Yes, 0: No)
|
||||
*/
|
||||
uint8_t USBD_LL_IsStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
|
||||
{
|
||||
PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData;
|
||||
|
||||
if((ep_addr & 0x80) == 0x80)
|
||||
{
|
||||
return hpcd->IN_ep[ep_addr & 0x7F].is_stall;
|
||||
}
|
||||
else
|
||||
{
|
||||
return hpcd->OUT_ep[ep_addr & 0x7F].is_stall;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Assigns a USB address to the device.
|
||||
* @param pdev: Device handle
|
||||
* @param dev_addr: Device address
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_SetUSBAddress(USBD_HandleTypeDef *pdev, uint8_t dev_addr)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_SetAddress(pdev->pData, dev_addr);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Transmits data over an endpoint.
|
||||
* @param pdev: Device handle
|
||||
* @param ep_addr: Endpoint number
|
||||
* @param pbuf: Pointer to data to be sent
|
||||
* @param size: Data size
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_Transmit(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint32_t size)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_EP_Transmit(pdev->pData, ep_addr, pbuf, size);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Prepares an endpoint for reception.
|
||||
* @param pdev: Device handle
|
||||
* @param ep_addr: Endpoint number
|
||||
* @param pbuf: Pointer to data to be received
|
||||
* @param size: Data size
|
||||
* @retval USBD status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint32_t size)
|
||||
{
|
||||
HAL_StatusTypeDef hal_status = HAL_OK;
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
hal_status = HAL_PCD_EP_Receive(pdev->pData, ep_addr, pbuf, size);
|
||||
|
||||
usb_status = USBD_Get_USB_Status(hal_status);
|
||||
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Returns the last transfered packet size.
|
||||
* @param pdev: Device handle
|
||||
* @param ep_addr: Endpoint number
|
||||
* @retval Recived Data Size
|
||||
*/
|
||||
uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
|
||||
{
|
||||
return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Delays routine for the USB Device Library.
|
||||
* @param Delay: Delay in ms
|
||||
* @retval None
|
||||
*/
|
||||
void USBD_LL_Delay(uint32_t Delay)
|
||||
{
|
||||
HAL_Delay(Delay);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Retuns the USB status depending on the HAL status:
|
||||
* @param hal_status: HAL status
|
||||
* @retval USB status
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status)
|
||||
{
|
||||
USBD_StatusTypeDef usb_status = USBD_OK;
|
||||
|
||||
switch (hal_status)
|
||||
{
|
||||
case HAL_OK :
|
||||
usb_status = USBD_OK;
|
||||
break;
|
||||
case HAL_ERROR :
|
||||
usb_status = USBD_FAIL;
|
||||
break;
|
||||
case HAL_BUSY :
|
||||
usb_status = USBD_BUSY;
|
||||
break;
|
||||
case HAL_TIMEOUT :
|
||||
usb_status = USBD_FAIL;
|
||||
break;
|
||||
default :
|
||||
usb_status = USBD_FAIL;
|
||||
break;
|
||||
}
|
||||
return usb_status;
|
||||
}
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
@ -0,0 +1,176 @@
|
|||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file : usbd_conf.h
|
||||
* @version : v1.0_Cube
|
||||
* @brief : Header for usbd_conf.c file.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© Copyright (c) 2021 STMicroelectronics.
|
||||
* All rights reserved.</center></h2>
|
||||
*
|
||||
* This software component is licensed by ST under Ultimate Liberty license
|
||||
* SLA0044, the "License"; You may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at:
|
||||
* www.st.com/SLA0044
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __USBD_CONF__H__
|
||||
#define __USBD_CONF__H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "stm32f4xx.h"
|
||||
#include "stm32f4xx_hal.h"
|
||||
|
||||
/* USER CODE BEGIN INCLUDE */
|
||||
|
||||
/* USER CODE END INCLUDE */
|
||||
|
||||
/** @addtogroup USBD_OTG_DRIVER
|
||||
* @brief Driver for Usb device.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_CONF USBD_CONF
|
||||
* @brief Configuration file for Usb otg low level driver.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_CONF_Exported_Variables USBD_CONF_Exported_Variables
|
||||
* @brief Public variables.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_CONF_Exported_Defines USBD_CONF_Exported_Defines
|
||||
* @brief Defines for configuration of the Usb device.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/*---------- -----------*/
|
||||
#define USBD_MAX_NUM_INTERFACES 1U
|
||||
/*---------- -----------*/
|
||||
#define USBD_MAX_NUM_CONFIGURATION 1U
|
||||
/*---------- -----------*/
|
||||
#define USBD_MAX_STR_DESC_SIZ 512U
|
||||
/*---------- -----------*/
|
||||
#define USBD_DEBUG_LEVEL 0U
|
||||
/*---------- -----------*/
|
||||
#define USBD_LPM_ENABLED 0U
|
||||
/*---------- -----------*/
|
||||
#define USBD_SELF_POWERED 1U
|
||||
|
||||
/****************************************/
|
||||
/* #define for FS and HS identification */
|
||||
#define DEVICE_FS 0
|
||||
#define DEVICE_HS 1
|
||||
|
||||
/* Inform USB core that a full speed device is used. */
|
||||
#define USE_USB_FS
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_CONF_Exported_Macros USBD_CONF_Exported_Macros
|
||||
* @brief Aliases.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* Memory management macros */
|
||||
|
||||
/** Alias for memory allocation. */
|
||||
#define USBD_malloc malloc
|
||||
|
||||
/** Alias for memory release. */
|
||||
#define USBD_free free
|
||||
|
||||
/** Alias for memory set. */
|
||||
#define USBD_memset memset
|
||||
|
||||
/** Alias for memory copy. */
|
||||
#define USBD_memcpy memcpy
|
||||
|
||||
/** Alias for delay. */
|
||||
#define USBD_Delay HAL_Delay
|
||||
|
||||
/* DEBUG macros */
|
||||
|
||||
#if (USBD_DEBUG_LEVEL > 0)
|
||||
#define USBD_UsrLog(...) printf(__VA_ARGS__);\
|
||||
printf("\n");
|
||||
#else
|
||||
#define USBD_UsrLog(...)
|
||||
#endif
|
||||
|
||||
#if (USBD_DEBUG_LEVEL > 1)
|
||||
|
||||
#define USBD_ErrLog(...) printf("ERROR: ") ;\
|
||||
printf(__VA_ARGS__);\
|
||||
printf("\n");
|
||||
#else
|
||||
#define USBD_ErrLog(...)
|
||||
#endif
|
||||
|
||||
#if (USBD_DEBUG_LEVEL > 2)
|
||||
#define USBD_DbgLog(...) printf("DEBUG : ") ;\
|
||||
printf(__VA_ARGS__);\
|
||||
printf("\n");
|
||||
#else
|
||||
#define USBD_DbgLog(...)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_CONF_Exported_Types USBD_CONF_Exported_Types
|
||||
* @brief Types.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_CONF_Exported_FunctionsPrototype USBD_CONF_Exported_FunctionsPrototype
|
||||
* @brief Declaration of public functions for Usb device.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* Exported functions -------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __USBD_CONF__H__ */
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
@ -0,0 +1,158 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* @file usbd_core.h
|
||||
* @author MCD Application Team
|
||||
* @brief Header file for usbd_core.c file
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© Copyright (c) 2015 STMicroelectronics.
|
||||
* All rights reserved.</center></h2>
|
||||
*
|
||||
* This software component is licensed by ST under Ultimate Liberty license
|
||||
* SLA0044, the "License"; You may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at:
|
||||
* www.st.com/SLA0044
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __USBD_CORE_H
|
||||
#define __USBD_CORE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "usbd_conf.h"
|
||||
#include "usbd_def.h"
|
||||
#include "usbd_ioreq.h"
|
||||
#include "usbd_ctlreq.h"
|
||||
|
||||
/** @addtogroup STM32_USB_DEVICE_LIBRARY
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_CORE
|
||||
* @brief This file is the Header file for usbd_core.c file
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
||||
/** @defgroup USBD_CORE_Exported_Defines
|
||||
* @{
|
||||
*/
|
||||
#ifndef USBD_DEBUG_LEVEL
|
||||
#define USBD_DEBUG_LEVEL 0U
|
||||
#endif /* USBD_DEBUG_LEVEL */
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
/** @defgroup USBD_CORE_Exported_TypesDefinitions
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/** @defgroup USBD_CORE_Exported_Macros
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_CORE_Exported_Variables
|
||||
* @{
|
||||
*/
|
||||
#define USBD_SOF USBD_LL_SOF
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_CORE_Exported_FunctionsPrototype
|
||||
* @{
|
||||
*/
|
||||
USBD_StatusTypeDef USBD_Init(USBD_HandleTypeDef *pdev, USBD_DescriptorsTypeDef *pdesc, uint8_t id);
|
||||
USBD_StatusTypeDef USBD_DeInit(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_Start(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_Stop(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_RegisterClass(USBD_HandleTypeDef *pdev, USBD_ClassTypeDef *pclass);
|
||||
|
||||
USBD_StatusTypeDef USBD_RunTestMode(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_SetClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx);
|
||||
USBD_StatusTypeDef USBD_ClrClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx);
|
||||
|
||||
USBD_StatusTypeDef USBD_LL_SetupStage(USBD_HandleTypeDef *pdev, uint8_t *psetup);
|
||||
USBD_StatusTypeDef USBD_LL_DataOutStage(USBD_HandleTypeDef *pdev, uint8_t epnum, uint8_t *pdata);
|
||||
USBD_StatusTypeDef USBD_LL_DataInStage(USBD_HandleTypeDef *pdev, uint8_t epnum, uint8_t *pdata);
|
||||
|
||||
USBD_StatusTypeDef USBD_LL_Reset(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_LL_SetSpeed(USBD_HandleTypeDef *pdev, USBD_SpeedTypeDef speed);
|
||||
USBD_StatusTypeDef USBD_LL_Suspend(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_LL_Resume(USBD_HandleTypeDef *pdev);
|
||||
|
||||
USBD_StatusTypeDef USBD_LL_SOF(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum);
|
||||
USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum);
|
||||
|
||||
USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_LL_DevDisconnected(USBD_HandleTypeDef *pdev);
|
||||
|
||||
/* USBD Low Level Driver */
|
||||
USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_LL_DeInit(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_LL_Start(USBD_HandleTypeDef *pdev);
|
||||
USBD_StatusTypeDef USBD_LL_Stop(USBD_HandleTypeDef *pdev);
|
||||
|
||||
USBD_StatusTypeDef USBD_LL_OpenEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr,
|
||||
uint8_t ep_type, uint16_t ep_mps);
|
||||
|
||||
USBD_StatusTypeDef USBD_LL_CloseEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr);
|
||||
USBD_StatusTypeDef USBD_LL_FlushEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr);
|
||||
USBD_StatusTypeDef USBD_LL_StallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr);
|
||||
USBD_StatusTypeDef USBD_LL_ClearStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr);
|
||||
USBD_StatusTypeDef USBD_LL_SetUSBAddress(USBD_HandleTypeDef *pdev, uint8_t dev_addr);
|
||||
|
||||
USBD_StatusTypeDef USBD_LL_Transmit(USBD_HandleTypeDef *pdev, uint8_t ep_addr,
|
||||
uint8_t *pbuf, uint32_t size);
|
||||
|
||||
USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef *pdev, uint8_t ep_addr,
|
||||
uint8_t *pbuf, uint32_t size);
|
||||
|
||||
uint8_t USBD_LL_IsStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr);
|
||||
uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef *pdev, uint8_t ep_addr);
|
||||
|
||||
void USBD_LL_Delay(uint32_t Delay);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __USBD_CORE_H */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,402 @@
|
|||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file : App/usbd_desc.c
|
||||
* @version : v1.0_Cube
|
||||
* @brief : This file implements the USB device descriptors.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© Copyright (c) 2021 STMicroelectronics.
|
||||
* All rights reserved.</center></h2>
|
||||
*
|
||||
* This software component is licensed by ST under Ultimate Liberty license
|
||||
* SLA0044, the "License"; You may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at:
|
||||
* www.st.com/SLA0044
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "usbd_core.h"
|
||||
#include "usbd_desc.h"
|
||||
#include "usbd_conf.h"
|
||||
|
||||
/* USER CODE BEGIN INCLUDE */
|
||||
|
||||
/* USER CODE END INCLUDE */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
/* Private define ------------------------------------------------------------*/
|
||||
/* Private macro -------------------------------------------------------------*/
|
||||
|
||||
/* USER CODE BEGIN PV */
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
|
||||
/* USER CODE END PV */
|
||||
|
||||
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @addtogroup USBD_DESC
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Private_TypesDefinitions USBD_DESC_Private_TypesDefinitions
|
||||
* @brief Private types.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* USER CODE BEGIN PRIVATE_TYPES */
|
||||
|
||||
/* USER CODE END PRIVATE_TYPES */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Private_Defines USBD_DESC_Private_Defines
|
||||
* @brief Private defines.
|
||||
* @{
|
||||
*/
|
||||
|
||||
#define USBD_VID 0x1d50
|
||||
#define USBD_LANGID_STRING 1033
|
||||
#define USBD_MANUFACTURER_STRING "OpenBLT User"
|
||||
#define USBD_PID_FS 0x60ac
|
||||
#define USBD_PRODUCT_STRING_FS "WinUSB Bulk Device"
|
||||
#define USBD_CONFIGURATION_STRING_FS "Default"
|
||||
#define USBD_INTERFACE_STRING_FS "WinUSB Bulk Interface"
|
||||
|
||||
#define USB_SIZ_BOS_DESC 0x0C
|
||||
|
||||
/* USER CODE BEGIN PRIVATE_DEFINES */
|
||||
|
||||
/* USER CODE END PRIVATE_DEFINES */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
/* USER CODE END 0 */
|
||||
|
||||
/** @defgroup USBD_DESC_Private_Macros USBD_DESC_Private_Macros
|
||||
* @brief Private macros.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* USER CODE BEGIN PRIVATE_MACRO */
|
||||
|
||||
/* USER CODE END PRIVATE_MACRO */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Private_FunctionPrototypes USBD_DESC_Private_FunctionPrototypes
|
||||
* @brief Private functions declaration.
|
||||
* @{
|
||||
*/
|
||||
|
||||
static void Get_SerialNum(void);
|
||||
static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Private_FunctionPrototypes USBD_DESC_Private_FunctionPrototypes
|
||||
* @brief Private functions declaration for FS.
|
||||
* @{
|
||||
*/
|
||||
|
||||
uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
uint8_t * USBD_FS_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
uint8_t * USBD_FS_ManufacturerStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
uint8_t * USBD_FS_ProductStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
uint8_t * USBD_FS_SerialStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
uint8_t * USBD_FS_ConfigStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
uint8_t * USBD_FS_InterfaceStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
#if (USBD_LPM_ENABLED == 1)
|
||||
uint8_t * USBD_FS_USR_BOSDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
#endif /* (USBD_LPM_ENABLED == 1) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Private_Variables USBD_DESC_Private_Variables
|
||||
* @brief Private variables.
|
||||
* @{
|
||||
*/
|
||||
|
||||
USBD_DescriptorsTypeDef FS_Desc =
|
||||
{
|
||||
USBD_FS_DeviceDescriptor
|
||||
, USBD_FS_LangIDStrDescriptor
|
||||
, USBD_FS_ManufacturerStrDescriptor
|
||||
, USBD_FS_ProductStrDescriptor
|
||||
, USBD_FS_SerialStrDescriptor
|
||||
, USBD_FS_ConfigStrDescriptor
|
||||
, USBD_FS_InterfaceStrDescriptor
|
||||
#if (USBD_LPM_ENABLED == 1)
|
||||
, USBD_FS_USR_BOSDescriptor
|
||||
#endif /* (USBD_LPM_ENABLED == 1) */
|
||||
};
|
||||
|
||||
#if defined ( __ICCARM__ ) /* IAR Compiler */
|
||||
#pragma data_alignment=4
|
||||
#endif /* defined ( __ICCARM__ ) */
|
||||
/** USB standard device descriptor. */
|
||||
__ALIGN_BEGIN uint8_t USBD_FS_DeviceDesc[USB_LEN_DEV_DESC] __ALIGN_END =
|
||||
{
|
||||
0x12, /*bLength */
|
||||
USB_DESC_TYPE_DEVICE, /*bDescriptorType*/
|
||||
0x10, /*bcdUSB */
|
||||
0x01,
|
||||
0x00, /*bDeviceClass*/
|
||||
0x00, /*bDeviceSubClass*/
|
||||
0x00, /*bDeviceProtocol*/
|
||||
USB_MAX_EP0_SIZE, /*bMaxPacketSize*/
|
||||
LOBYTE(USBD_VID), /*idVendor*/
|
||||
HIBYTE(USBD_VID), /*idVendor*/
|
||||
LOBYTE(USBD_PID_FS), /*idProduct*/
|
||||
HIBYTE(USBD_PID_FS), /*idProduct*/
|
||||
0x00, /*bcdDevice rel. 2.00*/
|
||||
0x01,
|
||||
USBD_IDX_MFC_STR, /*Index of manufacturer string*/
|
||||
USBD_IDX_PRODUCT_STR, /*Index of product string*/
|
||||
USBD_IDX_SERIAL_STR, /*Index of serial number string*/
|
||||
USBD_MAX_NUM_CONFIGURATION /*bNumConfigurations*/
|
||||
};
|
||||
|
||||
/* USB_DeviceDescriptor */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Private_Variables USBD_DESC_Private_Variables
|
||||
* @brief Private variables.
|
||||
* @{
|
||||
*/
|
||||
|
||||
#if defined ( __ICCARM__ ) /* IAR Compiler */
|
||||
#pragma data_alignment=4
|
||||
#endif /* defined ( __ICCARM__ ) */
|
||||
|
||||
/** USB lang indentifier descriptor. */
|
||||
__ALIGN_BEGIN uint8_t USBD_LangIDDesc[USB_LEN_LANGID_STR_DESC] __ALIGN_END =
|
||||
{
|
||||
USB_LEN_LANGID_STR_DESC,
|
||||
USB_DESC_TYPE_STRING,
|
||||
LOBYTE(USBD_LANGID_STRING),
|
||||
HIBYTE(USBD_LANGID_STRING)
|
||||
};
|
||||
|
||||
#if defined ( __ICCARM__ ) /* IAR Compiler */
|
||||
#pragma data_alignment=4
|
||||
#endif /* defined ( __ICCARM__ ) */
|
||||
/* Internal string descriptor. */
|
||||
__ALIGN_BEGIN uint8_t USBD_StrDesc[USBD_MAX_STR_DESC_SIZ] __ALIGN_END;
|
||||
|
||||
#if defined ( __ICCARM__ ) /*!< IAR Compiler */
|
||||
#pragma data_alignment=4
|
||||
#endif
|
||||
__ALIGN_BEGIN uint8_t USBD_StringSerial[USB_SIZ_STRING_SERIAL] __ALIGN_END = {
|
||||
USB_SIZ_STRING_SERIAL,
|
||||
USB_DESC_TYPE_STRING,
|
||||
};
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Private_Functions USBD_DESC_Private_Functions
|
||||
* @brief Private functions.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Return the device descriptor
|
||||
* @param speed : Current device speed
|
||||
* @param length : Pointer to data length variable
|
||||
* @retval Pointer to descriptor buffer
|
||||
*/
|
||||
uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
|
||||
{
|
||||
UNUSED(speed);
|
||||
*length = sizeof(USBD_FS_DeviceDesc);
|
||||
return USBD_FS_DeviceDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Return the LangID string descriptor
|
||||
* @param speed : Current device speed
|
||||
* @param length : Pointer to data length variable
|
||||
* @retval Pointer to descriptor buffer
|
||||
*/
|
||||
uint8_t * USBD_FS_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
|
||||
{
|
||||
UNUSED(speed);
|
||||
*length = sizeof(USBD_LangIDDesc);
|
||||
return USBD_LangIDDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Return the product string descriptor
|
||||
* @param speed : Current device speed
|
||||
* @param length : Pointer to data length variable
|
||||
* @retval Pointer to descriptor buffer
|
||||
*/
|
||||
uint8_t * USBD_FS_ProductStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
|
||||
{
|
||||
if(speed == 0)
|
||||
{
|
||||
USBD_GetString((uint8_t *)USBD_PRODUCT_STRING_FS, USBD_StrDesc, length);
|
||||
}
|
||||
else
|
||||
{
|
||||
USBD_GetString((uint8_t *)USBD_PRODUCT_STRING_FS, USBD_StrDesc, length);
|
||||
}
|
||||
return USBD_StrDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Return the manufacturer string descriptor
|
||||
* @param speed : Current device speed
|
||||
* @param length : Pointer to data length variable
|
||||
* @retval Pointer to descriptor buffer
|
||||
*/
|
||||
uint8_t * USBD_FS_ManufacturerStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
|
||||
{
|
||||
UNUSED(speed);
|
||||
USBD_GetString((uint8_t *)USBD_MANUFACTURER_STRING, USBD_StrDesc, length);
|
||||
return USBD_StrDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Return the serial number string descriptor
|
||||
* @param speed : Current device speed
|
||||
* @param length : Pointer to data length variable
|
||||
* @retval Pointer to descriptor buffer
|
||||
*/
|
||||
uint8_t * USBD_FS_SerialStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
|
||||
{
|
||||
UNUSED(speed);
|
||||
*length = USB_SIZ_STRING_SERIAL;
|
||||
|
||||
/* Update the serial number string descriptor with the data from the unique
|
||||
* ID */
|
||||
Get_SerialNum();
|
||||
/* USER CODE BEGIN USBD_FS_SerialStrDescriptor */
|
||||
|
||||
/* USER CODE END USBD_FS_SerialStrDescriptor */
|
||||
return (uint8_t *) USBD_StringSerial;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Return the configuration string descriptor
|
||||
* @param speed : Current device speed
|
||||
* @param length : Pointer to data length variable
|
||||
* @retval Pointer to descriptor buffer
|
||||
*/
|
||||
uint8_t * USBD_FS_ConfigStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
|
||||
{
|
||||
if(speed == USBD_SPEED_HIGH)
|
||||
{
|
||||
USBD_GetString((uint8_t *)USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length);
|
||||
}
|
||||
else
|
||||
{
|
||||
USBD_GetString((uint8_t *)USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length);
|
||||
}
|
||||
return USBD_StrDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Return the interface string descriptor
|
||||
* @param speed : Current device speed
|
||||
* @param length : Pointer to data length variable
|
||||
* @retval Pointer to descriptor buffer
|
||||
*/
|
||||
uint8_t * USBD_FS_InterfaceStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
|
||||
{
|
||||
if(speed == 0)
|
||||
{
|
||||
USBD_GetString((uint8_t *)USBD_INTERFACE_STRING_FS, USBD_StrDesc, length);
|
||||
}
|
||||
else
|
||||
{
|
||||
USBD_GetString((uint8_t *)USBD_INTERFACE_STRING_FS, USBD_StrDesc, length);
|
||||
}
|
||||
return USBD_StrDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Create the serial number string descriptor
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void Get_SerialNum(void)
|
||||
{
|
||||
uint32_t deviceserial0, deviceserial1, deviceserial2;
|
||||
|
||||
deviceserial0 = *(uint32_t *) DEVICE_ID1;
|
||||
deviceserial1 = *(uint32_t *) DEVICE_ID2;
|
||||
deviceserial2 = *(uint32_t *) DEVICE_ID3;
|
||||
|
||||
deviceserial0 += deviceserial2;
|
||||
|
||||
if (deviceserial0 != 0)
|
||||
{
|
||||
IntToUnicode(deviceserial0, &USBD_StringSerial[2], 8);
|
||||
IntToUnicode(deviceserial1, &USBD_StringSerial[18], 4);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Convert Hex 32Bits value into char
|
||||
* @param value: value to convert
|
||||
* @param pbuf: pointer to the buffer
|
||||
* @param len: buffer length
|
||||
* @retval None
|
||||
*/
|
||||
static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len)
|
||||
{
|
||||
uint8_t idx = 0;
|
||||
|
||||
for (idx = 0; idx < len; idx++)
|
||||
{
|
||||
if (((value >> 28)) < 0xA)
|
||||
{
|
||||
pbuf[2 * idx] = (value >> 28) + '0';
|
||||
}
|
||||
else
|
||||
{
|
||||
pbuf[2 * idx] = (value >> 28) + 'A' - 10;
|
||||
}
|
||||
|
||||
value = value << 4;
|
||||
|
||||
pbuf[2 * idx + 1] = 0;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
@ -0,0 +1,145 @@
|
|||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file : usbd_desc.h
|
||||
* @version : v1.0_Cube
|
||||
* @brief : Header for usbd_conf.c file.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© Copyright (c) 2021 STMicroelectronics.
|
||||
* All rights reserved.</center></h2>
|
||||
*
|
||||
* This software component is licensed by ST under Ultimate Liberty license
|
||||
* SLA0044, the "License"; You may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at:
|
||||
* www.st.com/SLA0044
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __USBD_DESC__H__
|
||||
#define __USBD_DESC__H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "usbd_def.h"
|
||||
|
||||
/* USER CODE BEGIN INCLUDE */
|
||||
|
||||
/* USER CODE END INCLUDE */
|
||||
|
||||
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC USBD_DESC
|
||||
* @brief Usb device descriptors module.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Exported_Constants USBD_DESC_Exported_Constants
|
||||
* @brief Constants.
|
||||
* @{
|
||||
*/
|
||||
#define DEVICE_ID1 (UID_BASE)
|
||||
#define DEVICE_ID2 (UID_BASE + 0x4)
|
||||
#define DEVICE_ID3 (UID_BASE + 0x8)
|
||||
|
||||
#define USB_SIZ_STRING_SERIAL 0x1A
|
||||
|
||||
/* USER CODE BEGIN EXPORTED_CONSTANTS */
|
||||
|
||||
/* USER CODE END EXPORTED_CONSTANTS */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Exported_Defines USBD_DESC_Exported_Defines
|
||||
* @brief Defines.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* USER CODE BEGIN EXPORTED_DEFINES */
|
||||
|
||||
/* USER CODE END EXPORTED_DEFINES */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Exported_TypesDefinitions USBD_DESC_Exported_TypesDefinitions
|
||||
* @brief Types.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* USER CODE BEGIN EXPORTED_TYPES */
|
||||
|
||||
/* USER CODE END EXPORTED_TYPES */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Exported_Macros USBD_DESC_Exported_Macros
|
||||
* @brief Aliases.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* USER CODE BEGIN EXPORTED_MACRO */
|
||||
|
||||
/* USER CODE END EXPORTED_MACRO */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Exported_Variables USBD_DESC_Exported_Variables
|
||||
* @brief Public variables.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** Descriptor for the Usb device. */
|
||||
extern USBD_DescriptorsTypeDef FS_Desc;
|
||||
|
||||
/* USER CODE BEGIN EXPORTED_VARIABLES */
|
||||
|
||||
/* USER CODE END EXPORTED_VARIABLES */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup USBD_DESC_Exported_FunctionsPrototype USBD_DESC_Exported_FunctionsPrototype
|
||||
* @brief Public functions declaration.
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* USER CODE BEGIN EXPORTED_FUNCTIONS */
|
||||
|
||||
/* USER CODE END EXPORTED_FUNCTIONS */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __USBD_DESC__H__ */
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.f407-discovery.1899591142"
|
||||
signature = "rusEFI master.2023.06.02.f407-discovery.1899591142"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.f407-discovery.1899591142" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.f407-discovery.1899591142" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:56 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:33 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.48way.126675272"
|
||||
signature = "rusEFI master.2023.06.02.48way.126675272"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.48way.126675272" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.48way.126675272" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:33 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:14 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.alphax-2chan.1572616753"
|
||||
signature = "rusEFI master.2023.06.02.alphax-2chan.1572616753"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.alphax-2chan.1572616753" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.alphax-2chan.1572616753" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:05 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:22:50 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.alphax-4chan.2065600475"
|
||||
signature = "rusEFI master.2023.06.02.alphax-4chan.2065600475"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.alphax-4chan.2065600475" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.alphax-4chan.2065600475" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:07 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:22:51 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.alphax-8chan.1785088417"
|
||||
signature = "rusEFI master.2023.06.02.alphax-8chan.1785088417"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.alphax-8chan.1785088417" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.alphax-8chan.1785088417" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:08 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:22:52 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.atlas.835812404"
|
||||
signature = "rusEFI master.2023.06.02.atlas.835812404"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.atlas.835812404" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.atlas.835812404" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:53 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:31 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.core8.2071030852"
|
||||
signature = "rusEFI master.2023.06.02.core8.2071030852"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.core8.2071030852" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.core8.2071030852" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:32 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:12 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.cypress.756779283"
|
||||
signature = "rusEFI master.2023.06.02.cypress.756779283"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.cypress.756779283" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.cypress.756779283" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on hellen_cypress_gen_config.bat integration/rusefi_config.txt Thu Jun 01 04:41:02 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on hellen_cypress_gen_config.bat integration/rusefi_config.txt Thu Jun 01 23:22:48 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.f407-discovery.1899591142"
|
||||
signature = "rusEFI master.2023.06.02.f407-discovery.1899591142"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.f407-discovery.1899591142" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.f407-discovery.1899591142" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:46 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:25 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.f429-discovery.756779283"
|
||||
signature = "rusEFI master.2023.06.02.f429-discovery.756779283"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.f429-discovery.756779283" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.f429-discovery.756779283" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:47 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:26 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.frankenso_na6.256469465"
|
||||
signature = "rusEFI master.2023.06.02.frankenso_na6.256469465"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.frankenso_na6.256469465" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.frankenso_na6.256469465" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:38 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:17 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.harley81.2030145807"
|
||||
signature = "rusEFI master.2023.06.02.harley81.2030145807"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.harley81.2030145807" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.harley81.2030145807" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:10 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:22:54 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellen-gm-e67.3836417242"
|
||||
signature = "rusEFI master.2023.06.02.hellen-gm-e67.3836417242"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellen-gm-e67.3836417242" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellen-gm-e67.3836417242" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:25 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:06 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellen-honda-k.1141679524"
|
||||
signature = "rusEFI master.2023.06.02.hellen-honda-k.1141679524"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellen-honda-k.1141679524" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellen-honda-k.1141679524" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:16 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:22:59 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellen-nb1.4224237496"
|
||||
signature = "rusEFI master.2023.06.02.hellen-nb1.4224237496"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellen-nb1.4224237496" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellen-nb1.4224237496" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:23 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:05 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellen121nissan.3065602192"
|
||||
signature = "rusEFI master.2023.06.02.hellen121nissan.3065602192"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellen121nissan.3065602192" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellen121nissan.3065602192" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:14 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:22:58 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellen121vag.4144381926"
|
||||
signature = "rusEFI master.2023.06.02.hellen121vag.4144381926"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellen121vag.4144381926" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellen121vag.4144381926" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:13 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:22:56 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellen128.2397094805"
|
||||
signature = "rusEFI master.2023.06.02.hellen128.2397094805"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellen128.2397094805" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellen128.2397094805" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:11 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:22:55 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellen154hyundai.2432116723"
|
||||
signature = "rusEFI master.2023.06.02.hellen154hyundai.2432116723"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellen154hyundai.2432116723" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellen154hyundai.2432116723" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:17 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:00 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellen72.900424036"
|
||||
signature = "rusEFI master.2023.06.02.hellen72.900424036"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellen72.900424036" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellen72.900424036" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:20 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:03 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellen81.675388413"
|
||||
signature = "rusEFI master.2023.06.02.hellen81.675388413"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellen81.675388413" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellen81.675388413" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:22 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:04 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellen88bmw.2800035386"
|
||||
signature = "rusEFI master.2023.06.02.hellen88bmw.2800035386"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellen88bmw.2800035386" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellen88bmw.2800035386" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:19 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:01 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellenNA6.3361245866"
|
||||
signature = "rusEFI master.2023.06.02.hellenNA6.3361245866"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellenNA6.3361245866" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellenNA6.3361245866" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:26 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:08 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.hellenNA8_96.2810993790"
|
||||
signature = "rusEFI master.2023.06.02.hellenNA8_96.2810993790"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.hellenNA8_96.2810993790" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.hellenNA8_96.2810993790" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:28 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:09 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.kin.1171008479"
|
||||
signature = "rusEFI master.2023.06.02.kin.1171008479"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.kin.1171008479" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.kin.1171008479" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on kinetis_gen_config.bat integration/rusefi_config.txt Thu Jun 01 04:41:01 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on kinetis_gen_config.bat integration/rusefi_config.txt Thu Jun 01 23:22:47 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.m74_9.4069872680"
|
||||
signature = "rusEFI master.2023.06.02.m74_9.4069872680"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.m74_9.4069872680" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.m74_9.4069872680" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:35 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:15 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.mre_f4.2699876979"
|
||||
signature = "rusEFI master.2023.06.02.mre_f4.2699876979"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.mre_f4.2699876979" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.mre_f4.2699876979" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:30 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:11 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.mre_f7.2699876979"
|
||||
signature = "rusEFI master.2023.06.02.mre_f7.2699876979"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.mre_f7.2699876979" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.mre_f7.2699876979" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:29 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:10 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.nucleo_f429.756779283"
|
||||
signature = "rusEFI master.2023.06.02.nucleo_f429.756779283"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.nucleo_f429.756779283" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.nucleo_f429.756779283" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:49 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:27 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.nucleo_f767.756779283"
|
||||
signature = "rusEFI master.2023.06.02.nucleo_f767.756779283"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.nucleo_f767.756779283" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.nucleo_f767.756779283" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:50 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:28 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.nucleo_h743.756779283"
|
||||
signature = "rusEFI master.2023.06.02.nucleo_h743.756779283"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.nucleo_h743.756779283" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.nucleo_h743.756779283" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:52 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:29 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
|
@ -34,12 +34,12 @@ enable2ndByteCanID = false
|
|||
|
||||
[MegaTune]
|
||||
; https://rusefi.com/forum/viewtopic.php?p=36201#p36201
|
||||
signature = "rusEFI master.2023.06.01.prometheus_405.495928451"
|
||||
signature = "rusEFI master.2023.06.02.prometheus_405.495928451"
|
||||
|
||||
[TunerStudio]
|
||||
queryCommand = "S"
|
||||
versionInfo = "V" ; firmware version for title bar.
|
||||
signature= "rusEFI master.2023.06.01.prometheus_405.495928451" ; signature is expected to be 7 or more characters.
|
||||
signature= "rusEFI master.2023.06.02.prometheus_405.495928451" ; signature is expected to be 7 or more characters.
|
||||
|
||||
; TS will try to use legacy temp units in some cases, showing "deg F" on a CLT gauge that's actually deg C
|
||||
useLegacyFTempUnits = false
|
||||
|
@ -87,7 +87,7 @@ enable2ndByteCanID = false
|
|||
; name = scalar, type, offset, units, scale, translate, lo, hi, digits
|
||||
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 04:41:40 UTC 2023
|
||||
; this section was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Thu Jun 01 23:23:20 UTC 2023
|
||||
|
||||
pageSize = 23176
|
||||
page = 1
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue