Commit Graph

13 Commits

Author SHA1 Message Date
rusefillc 25c965e822 making file reuseable 2022-05-26 23:54:30 -04:00
rusefillc 160d5305c9 unique file name seems a bit more convenient 2022-05-26 23:43:44 -04:00
rusefillc a9e6a4ba94 why does this fail? (#4196)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-26 20:54:36 -04:00
rusefillc 270968d88f how are these layout files used? is this change legit? (#4198)
* reducing OpenBLT file duplication

* Revert "Revert "what could possibly go wrong with MRE""

This reverts commit 405dbbc681.

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-25 17:10:41 -04:00
rusefillc ba8381be6b steps towards unified header 2022-05-24 16:45:00 -04:00
rusefillc e3d5e9ce0f reducing code duplication, also one step back with HSE 2022-05-24 16:25:16 -04:00
rusefillc ed40d0b0d5 reducing code duplication 2022-05-24 16:05:07 -04:00
rusefillc 9cae07cfd2 reducing code duplication 2022-05-24 15:45:06 -04:00
rusefillc 64338037f9 reducing code duplication 2022-05-24 15:31:14 -04:00
rusefillc 679dbf0af3 reducing code duplication in a questinable way 2022-05-24 15:07:31 -04:00
Andrey G 39bf967e70 OpenBLT: disable BOOT_CPU_USER_PROGRAM_START_HOOK for all supported boards (#4158)
We do not use it.
2022-05-10 06:15:46 -04:00
Andrey G 17ce890105 Openblt proteus (#3797)
* OpentBLT: fix for STM32F4/H7

* Proteus: OpenBLT: switch to HSI

* Proteus: Enable OpenBLT. (not tested!)
2022-01-16 17:25:36 -05:00
Andrey G 51f53aa3fc Openblt (#3430)
* Makefile: define BOOTLOADER=1 for linker in case of OpenBLT too

This will reserve first 32K of flash for bootloader.

* OpenBLT: include into build

* board: subaru eg33: add OpenBLT board code

* board: subaru eg33: use OpenBLT

* Board: Subaru EG33: OpenBLT: reuse HAL and CMSIS from OpenBLT submodule

* Board: Subaru EG33: OpenBLT: reuse linker file from OpenBLT too

* OpenBLT for MRE

* OpenBLT: MRE: adjust LD memory map for smallest variat of MCU on MRE

* OpenBLT: enable for MRE

* OpenBLT: disable CRC check of user application

This allows us to use DFU tool to flash main application too.

* hex2dfu: fresh binary for linux

* OpenBLT: extract common part of OpenBLT makefiles to openblt.mk

* OpenBLT: enable CRC check of user application for MRE and EG33

CRC (actually just a summ) of few first vectors is stored at 0x1c
offset. This is reserved vector for Cortex-M3, M4 and M7

* common_make: append OpenBLT CRC to dfu files

This should allow to use DFU to do main application update when
when OpenBLT is used as bootloader. hex2dfu will store same
styled CRC as OpenBLT expects to see in user app.

* OpenBLT reorganization

Move common stuff to hw_layer/ports/

* OpenBLT: proteus

* Proteus: enable OpenBLT for F4 and F7

Compilation tested only
2021-11-05 19:28:55 -04:00