Commit Graph

6 Commits

Author SHA1 Message Date
Andrey G 0b49efdbb7 subaru_eg33: remove duplicate compile script (#4576) 2022-09-13 19:56:41 -04:00
rusefillc a73035c60a +x 2022-08-15 11:00:47 -04:00
Matthew Kennedy 1e26e1ae99 pass parameters instead of `export` in build scripts (#4081)
* no `export ...` mess

* frankenso NA6
2022-04-18 19:05:27 -04:00
Matthew Kennedy 3f9fc7d09c set SHORT_BOARD_NAME from mk, not shell script (#4078)
* MRE

* proteus

* weird format lol

* alphax 4

* alphax 2ch

* prometheus, subaru

* s

* put a canary in the coal mine

* activate the sleepy canaries

* atlas

* tdg pdm

* The canary detected the problems it needed to

This reverts commit b0a3718b115f69f85f78fc4814aec04434968c0f.

* Revert "activate the sleepy canaries"

This reverts commit f80cfcdd789418caa30854064bcb9ce865eee474.

* prometheus
2022-04-18 14:22:05 -04: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
Andrey G 4b5da445f1 Subaru build (#2376)
* Subaru EG33: gen_config.sh update

* gen_config and gen_enum_to_string for subaru_eg33 board too

* Subaru eg33: add to buildables

* Subaru: fix build

* Subaru eg33: fix build and cleanup

* subaru eg33: add compile script

* github: subaru_eg33: call special  gen_config.sh
2021-02-18 18:18:13 -05:00