* auxout: manually fill pwm config
(cherry picked from commit a01876bc034264de5d6930bf2cc49cf0fc0cbb0a)
* auxout: some boards use primary PWM outputs instead of complementary
(cherry picked from commit c13b95441e7b284a36445c261199e96580e94ebd)
* auxout: implement ripple cancelation using inverted PWM
(cherry picked from commit 77cbc04990421b24021639b098ea6040af3a12f8)
* f1_common: default AUXOUT value is AFR voltage
with 'default' scaling 8.5 to 18.0 AFR is represented with 0.0 to
5.0V
(cherry picked from commit 0c62ab8f509ff0ab3ab4260e308ad4b55bd64e40)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* f1_dual_rev1: add pinmux settings for port F and G
To supress compiler warning.
(cherry picked from commit 89876fe8eaad933308b63a4b0b1666deb75bfc84)
* f1_dual_rev1: fix remaps
-disable JTAG to free PA15, PB3, PB4
-use SPI3 for EGT chips without remaping
(cherry picked from commit 598f1aa0779ba6e90ccf2eb74445d074f2bfbc75)
* f1_dual_rev1: disable unused TIM1, TIM2
(cherry picked from commit 9e71c3813fd09c080c0eb2f1e63fe82b475efb4f)
* f1_dual_rev1: run at 72MHz from HSE
(cherry picked from commit eaa4577ef85bdfdba637c203646883202a1f8e02)
* f1_dual_rev1: fix can timings
(cherry picked from commit 6437b3d92047adefe6534efaa57062bdda449d37)
* f1_dual_rev1: add CAN timings for 125L, 250K and 1Mbps
(cherry picked from commit bc988d10dda43bfc8b4566de274e3b99bc6b8a5e)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Also allow coexistance of DEBUG_SERIAL_PORT and TS_ENABLED
(cherry picked from commit 87cb7d1309cb8aac38f2e4e979252690df0cbb39)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Instead enable it on default baudrate and wait for direct connection
(cherry picked from commit 4f2aa57bee6a50195768ffb0e7d7d2ff374048e4)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* dac: move helpers to separate cpp and h
(cherry picked from commit aee71931db269fc256ab43e1fb84b71c77e215d7)
* dac: HAL_USE_DAC guards
(cherry picked from commit 5517844e4d0f79c7cf8c5bb097c110541063bddf)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* TS: use BOARD_NAME in Test and Version commands reply
* making source code two bytes smaller
* making source code two bytes smaller
* making source code two bytes smaller
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This will avoid BT module restart after MCU restart. This will keep
BT connection between MCU reboots.
(cherry picked from commit 12443d73a0fa2a1fd0de0dcae3231473016b9efb)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
* heater settings for other types of sensors
* port: GetSensorType
* fancier C++ version
* fancier C++ version
* Why not a function
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
* Remove pageValueWrite command support
Move advanced pageChunkWrite is used
* Straight logic in validateOffsetCount(), simplify, move to tunerstudio.cpp
* Remove some more unused commands
* More unused defines
* Command defines cleanup
* Test command
* TS: fix signature
* pageIdentifier is optional
* pageActivate command is not used
* TS: extract offset and size from incoming packet only for packets with such data
* TS: cast to packet header
* TS: use page in commands
* TS: support scatteredOchGetCommand
* TS: incapsulation
* TS: scatter: optimization for CPU load
* More CPU load optimization
* Update libfirmware
* 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
* max31855: add EGT to livedata
* livedata: getEgtLiveDataStructAddr() returns NULL for boards with no EGT
* livedata: report AFR sensor(s) state
* livedata: report heater state
* uart: fix for max31855 update
* 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