* f1_rev3: high speed (strenght) for heater PWM output
* threads: set name for all thread
* f1_dual: enalbe CH_CFG_USE_REGISTRY so GDB can see thread
* f1_rev3: enalbe CH_CFG_USE_REGISTRY so GDB can see thread
* tunerstudio: support JDY33 BT module init on UART
* tunerstudio: BT: try most popular baudrates first
* tunerstudio: BT: protect from overflow
* tunerstudio: BT: limit retries
* tunerstudio: BT: directly do chprintf() to SD device
* TS: serial: make BT setup optional
* f1_dual, f1_rev3: use Serial for TS not for debug
* f1_dual: config cleanup
* EGT_CHANNELS is better option for optional compilation of max driver
* max31855: supress warning
* main: acctually call InitConfiguration()
* f1_rev2: enable EFL and MFS (Managed Flash Storate)
* f1_dual: enable EFL and MFS (Managed Flash Storate)
* f1 boards: extract common code
* port.h: add LoadDefaults() method to Configuration class
* f1 boards: store Configuration to MFS
* f1 boards: common getTsSignature() for all f1 boards
* Rev2: define AUX output PWM device and channels
* Rev2: enalbe TIM1 used for aux outputs
* Rev2: aux pwm pins: no need to be 50MHz fast
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* f1_rev3: add board support (mostly copy-paste)
* f1_rev3: add to workflows
* hal_mfs.mk - one way or another we will use MFS for sure in this repo
* SPI means EGT and EGT means SPI
* one step towards master
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
* TS top down
* TS top down
* TS top down
* TS top down
* Ts top down #104
removing the controversial part
* Ts top down #104
removing the controversial part
* docs
* fix build (switch to serial)
* f1_dual: UART->Serial
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* board: f1_dual: add way to measure battery through Heater-
* heater_control: allow board to limit max heater duty
* board: f1_dual: use max sample for battery measurement, filter
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* port: ID_SEL2_PIN is optional
Dual version is out of mcu pins and implement only one sel pin.
* board: f1_dial: add dual channel board
* GH actions: add f1_dual build to actions
* f1_dual: use uart driver, not serial
* f1_dual: setup correct remaps
* f1_dual: DEBUG: enable uart debug (disable TS)
* board: f1_dual: add way to measure battery through Heater-
* fix dual board
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* f1_rev2: OpenBLT: update gpio and interfaces setup
* f1_rev2: OpenBLT: set default board name
* f1_rev2: no need to have bootloader region in main app LD file
* f1_rev2: use gpio settings from application include file
* f1_rev2: OpenBLT: update gpio and interfaces setup
* f1_rev2: OpenBLT: close backdoor
* f1_rev2: OpenBLT: fix uart setup
* f1_rev2: OpenBLT: gracefully close CAN after use
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* AUX outputs
* Rev2: define AUX output PWM device and channels
* Rev2: enalbe TIM1 used for aux outputs
* Rev2: define aux output gain
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* board: common make script
(cherry picked from commit cb087c60e9)
* common_make -> build_f1_board
* f1_rev2: use build_f1_board.sh helper
* Add encedo hex2dfu tools (bin for linux and win)
See https://github.com/encedo/hex2dfu
* Makefile: priduce srec too
* f1_rev2: OpenBLT: build bin and hex files
* f1_rev2: OpenBLT: optimize for size to fit into 8K flash
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* Rev 2: VM_RESISTOR_VALUE
(cherry picked from commit 84ae91fc67cf6764afd5b00210edbc3cfe4444a5)
* Rev 2: default settings for LSU4.9
(cherry picked from commit 5a1fe84bc1ec8d7ee6e0a5f2906a1b18d2ff8a8e)
* Per-board VM_RESISTOR_VALUE
(cherry picked from commit 0bdd19e058db579bed13488066df1176ea9addb2)
* Rev2: ID correct pins
(cherry picked from commit 59e4b36ad9bc7c166c3dae7e25b6317caf562056)
* Rev2: LSU 4.2 and ADV ESR drive pins
(cherry picked from commit 2f2b4399431136951fe2fa6819f44ba28c3cda17)
* Rev2: aux pwm pins: no need to be 50MHz fast
(cherry picked from commit b0af5c07c391438ca561118174df498207255f3b)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* Board Rev 2
(cherry picked from commit 2f1e2bd3e27fdfd43f0ccf8292aacfb1194060fc)
* CI good
(cherry picked from commit 2163af402ebc40f76fa53ac8f1648949b12aa50f)
* min r2
* min r2
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
* more code reuse
* more code reuse
* more code reuse
* more code reuse
* more code reuse
* more code reuse
* make it compile and actually include all the functions
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
* Prepare for multi-channel boards
(cherry picked from commit 8b713cebfc)
* this belongs in wideband_board_config.h they say
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
* f1_dave: clean-up board.h
* f1_dave: PB6 should be output+alternate
Set using VAL_GPIOBCRL, no need to call palSetPadMode
* f1_dave: PB12 ESR driver, should be high speed (hi current)
* f1_dave: PB13 - Blue LED should be output push-pull
* f1_dave: fix pinmuxes, add comments
* extracting hardware-specifc CAN from BL
reusing CAN settings between FW and BL
moving CRC into better location
* spelling M0 stuff as M0 stuff
Co-authored-by: rusefillc <sdfsdfqsf2334234234>