Commit Graph

19 Commits

Author SHA1 Message Date
rusefillc 84178951a2 software jump to DFU does not work with OpenBLT fix #4230 2022-07-22 08:46:01 -04:00
rusefillc 0034325eda software jump to DFU does not work #4230 2022-06-02 09:22:26 -04:00
rusefillc f5936b8a92 what could possibly go wrong 2022-05-24 15:07:31 -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
rusefillc d1fb89ad3d Openblt proteus #3797
rollback
2022-01-16 20:50:55 -05: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
Matthew Kennedy 511e616607 disable (#3484) 2021-11-06 16:57:13 -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 9e111f856e +x into git 2021-07-20 12:49:40 -04:00
Matthew Kennedy 792de13069 build h7 proteus (#2429)
* build h7

* scripts

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 16:43:00 -05:00
Matthew Kennedy e22a9e9d02 -g3 to -g (#2256)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-31 14:13:55 -05:00
rusefi e2ac877926 GDB helper 2020-11-25 13:53:29 -05:00
David Holdeman 0f7b91861a move cd statements to common_make.sh (#1830)
* move cd to compile.sh

* rel path

* undo changes to compile.sh and move cd to common_make
2020-09-28 18:25:15 -04:00
David Holdeman a2078e9cfe Switch to Bash (#1585)
* switch firmware to bash

* switch unit_testts to bash

* switch jenkins to bash
2020-07-09 10:27:20 -04:00
rusefi 6ac45039d4 using bundle names in signature 2020-07-06 01:20:39 -04:00
rusefi 6b4613a3a8 making scripts a bit more consistent & docs 2020-07-06 00:19:25 -04:00
andreika-git 88c24479e0 Fix bundle signatures (#1569)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-04 10:46:27 -04:00
David Holdeman 8a7220d989 Convert jenkins build_extra_bundles scripts to sh (#1554)
* Add checkout

* remove empty with statement

* Actually we do need push depth

* convert build_working_folder

* convert prepare_bundle

* fixed extension

* fixed closing bracket

* fixed comparison and assignments

* no comment

* convert compile_and_upload and clean

* convert build_simulator

* Finish converting build_working_folder

* convert build_java_console

* Add hashbangs

* remove findcyg instruction

* changed paths

* remove call

* add path

* fixed script names

* add prams

* fix cd

* convert clean_env_variables

* convert common_make.sh

* Added linux hex2dfu binary

* add file extension to linux hex2dfu

* add file extension to linux hex2dfu

* remove spurious paren

* fixed board name

* convert compile-frankenso-na6

* convert compile-frankenso-pal

* add hashbang

* convert compile-kinetis

* convert compile-mre-f4

* convert compile-mre-f4-hardware-QC-special-build

* convert compile-mre-f4-slave

* convert compile-mre-f7

* convert compile-mre-f7-test

* switch to underscores

* converting boards to sh

* convert prometheus

* convert proteus

* fixed path

* switch to underscores

* chmod and add extension

* add quotes

* Add check for Windows

* Add chmod

* fix script name

* fix error checking

* quote vars

* remove checking from batch shims

* fix typo

* change error checking to support nix style error codes

* switch to 1 retval

* cd back to firmware

* Add escapes

* change from cd to rel path

* add p flags to mkdir

Co-authored-by: David Holdeman <David Holdeman>
2020-07-01 14:09:01 -04:00