Haltech as dash option (#2165)

* Haltech as dash option

* Update build-firmware.yaml

added generate enums for build-primary-bundle
This commit is contained in:
shadowm60 2020-12-31 19:22:01 +02:00 committed by GitHub
parent 5c26527c02
commit e0d1a57bfd
3 changed files with 6 additions and 1 deletions

View File

@ -202,6 +202,10 @@ jobs:
with:
submodules: recursive
- name: Generate Enum Strings
working-directory: ./firmware/
run: bash gen_enum_to_string.sh
- name: Generate Configs
working-directory: ./firmware/
run: bash gen_config_default.sh

View File

@ -892,6 +892,7 @@ typedef enum {
CAN_BUS_NBC_BMW = 4,
CAN_BUS_W202_C180 = 5,
CAN_BUS_BMW_E90 = 6,
CAN_BUS_Haltech = 7,
Internal_ForceMyEnumIntSize_can_nbc = ENUM_32_BITS,
} can_nbc_e;

View File

@ -598,7 +598,7 @@ float fsio_visible fanOffTemperature;+Cooling fan turn-off temperature threshold
float vehicleSpeedCoef;+This coefficient translates vehicle speed input frequency (in Hz) into vehicle speed, km/h;"coef", 1, 0, 0.01, 2000.0, 2
custom can_nbc_e 4 bits, U32, @OFFSET@, [0:3], "None", "FIAT", "VAG" , "MAZDA RX8", "BMW", "W202", "BMW E90", "INVALID", "INVALID"
custom can_nbc_e 4 bits, U32, @OFFSET@, [0:3], "None", "FIAT", "VAG" , "MAZDA RX8", "BMW", "W202", "BMW E90", "Haltech", "INVALID"
can_nbc_e canNbcType;set can_mode X
int canSleepPeriodMs;CANbus thread period, ms;"ms", 1, 0, 0, 1000.0, 2