fome-fw/firmware/hw_layer/openblt
Andrey G 074563ddfd OpenBLT shared params (#4417)
* OpenBLT: linker file: use last 16 bytes of ram for shared area

This area is used for communication between FW and OpenBLT.

* OpenBLT: startup: invalidate only DFU breadcumb from startup code

Same location (but different seed) is used for shared param's
signature in OpenBLT.

* OpenBLT: enable shared params

* OpenBLT: enable hooks

If 0x01 is stored in shared param idx=0, then stay in OpenBLT forever.

* Jump to OpenBLT: store proper shared param when OpenBLT is requested

TODO: calculate and store CRC too!

* OpenBLT: move shared_params to start of RAM

* Bootloader: Allocate 16 bytes at start of RAM for bootloader shared area

* OpenBLT: shared_params: reuse same .c and .h file for main application

* OpenBLT: shared_params: enable CRC check

* OpenBLT: no need to manualy set breadcumb before reset

* Revert "OpenBLT: startup: invalidate only DFU breadcumb from startup code"

This reverts commit 6b064714b953560227ae53e38355332cf9f46f7f.

* OpenBLT: guard for builds without OpenBLT

* OpenBLT: reboot to OpenBLT on CAN request with ID=0x667 and DLC=2

* config: options to enable OpenBLT on CAN interfaces

* OpenBLT: comments
2022-08-07 19:33:19 -04:00
..
blt_conf.h OpenBLT shared params (#4417) 2022-08-07 19:33:19 -04:00
flash_layout.c OpenBLT shared params (#4417) 2022-08-07 19:33:19 -04:00
hooks.c OpenBLT shared params (#4417) 2022-08-07 19:33:19 -04:00
led.c reducing code duplication, also one step back with HSE 2022-05-24 16:25:16 -04:00
led.h reducing code duplication 2022-05-24 16:05:07 -04:00
main_internal_osc.c OpenBLT shared params (#4417) 2022-08-07 19:33:19 -04:00
openblt.mk OpenBLT shared params (#4417) 2022-08-07 19:33:19 -04:00
shared_params.c OpenBLT shared params (#4417) 2022-08-07 19:33:19 -04:00
shared_params.h OpenBLT shared params (#4417) 2022-08-07 19:33:19 -04:00