* remove flippant mkdir build/
this is unneeded in this flow, and is a ChibiOS-ism: BUILDDIR, defaults to build, and is created on demand
build works w/ alternate BUILDDIR env var / make argument
* comments
* remove gen_config_default dep in gen-configs.yaml
* comments in compile.sh
* unnecessary directory hopping
* gen_config.sh: stop catering to f407-discovery default
* remove gen_live_everything dep in build-FOME-console.yaml
* simplify gen-configs invoke
* common_make.sh BUILDDIR
* rm gen_default_everything.sh
* rm gen_config_default.sh
---------
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
* blindly implement checksum
* extra erase of checksum page
* don't need to write the sum ourselves
* maybe implement bootloader crc correctly
* minus is not plus
* modify build script to properly embed checksum
* cleanup
* use lma instead of vma
* implement bootloader blinky
* stub firmwareError
* static blinky
* calculate BOARD_DIR exactly once
* deduplicate board scripts
* unit tests
* make passes variables to openblt build properly
* was this an intentional omission?
* s
* prometheus
* prometheus
* common_make: rusefi.* should be functional image
OpenBLT used: rusefi.* is bootloader plus RusEFI
OpenBLT not used: rusefi.* is RusEFI only.
In both cases flashing of rusefi.* image to blank device should be
enough.
rusefi_update.srec does not include bootloader and this image should
be used for CAN update.
* Boundle generation: include bootloader and update image
* Update hex2dfu, deliver composite bin file
* 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
* fix typos, spelling
* add two V8 firing orders
* use the available number of CPU cores, not just 4
* add new firing orders to config
* updating generated files to include new v8 firing orders
* reverting update of auto-generated files
* correct firing order labels for new firing orders
* update all compile scripts to use available cores rather than a hardcoded value