Commit Graph

27 Commits

Author SHA1 Message Date
andreika-git 094ca97373 Enable CAN for OpenBLT https://github.com/rusefi/rusefi/issues/6043 2024-03-12 09:13:30 -04:00
andreika-git 49e1a5f95b Disable upload for OpenBLT 2024-01-24 10:53:42 -05:00
andreika-git 7abb91631a USB for BL is on RS232 2023-12-30 16:22:30 -05:00
rusefillc 18f4f96c93 bootloader 2023-12-30 16:22:30 -05:00
Andrey G 18fd4dcf80
Openblt usb on Proteus with OSC detecor (#5382)
* OpenBLT: enable for F4 (proteus), enable USB interface

* OpenBLT: subaru EG33: sync code with common

* OpenBLT: fix flashing script

* OpenBLT: fix flash layout

* OpenBLT: reuse osc_detector for OpenBLT on Proteus

* OpenBLT: define STM32F4XX, STM32F7XX or STM32H7XX

For compatibility with RusEFI sources
2023-07-03 08:22:18 -04:00
Andrey G d5e9c3a5e1
Openblt usb for F7 (#5365)
* OpenBLT: enable USB for F7

* OpenBLT: simple flash over USB script
2023-07-02 09:22:55 -04:00
Andrey Gusakov 3ee9b6e4ab OpenBLT: usb is for F4 only 2023-06-01 19:33:20 -04:00
Andrey Gusakov 18e8f4d298 openblt: usb cleanup 2023-06-01 19:33:20 -04:00
Andrey Gusakov 8dfd459d0b openblt: do not include twice 2023-06-01 19:33:20 -04:00
Andrey Gusakov a4c92701c0 openblt: do not redefine 2023-06-01 19:33:20 -04:00
rusefillc dab7a4ab3c openblt: USB
only:mre_f4
2023-06-01 19:33:20 -04:00
rusefillc bd35c25a57 openblt: USB
only:mre_f4
2023-06-01 19:33:20 -04:00
rusefillc 0b0a624db1 openblt: USB
only:mre_f4
2023-06-01 19:33:20 -04:00
rusefillc 37d6d76a4a openblt: OscillatorType inconsistency fix #5280 2023-05-21 09:23:34 -04:00
Matthew Kennedy 73f4436397
deduplicate $(BOARD_DIR) in makefiles (#5024)
* 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
2023-02-01 14:41:27 -05:00
Andrey G 94ce8134da
OpenBLT: fix lazy compilation (#4715)
* OpenBLT: fix lazy compilation

* OpenBLT: use per-board obj directory
2022-10-30 10:01:43 -04:00
Andrey G aecd997d4b
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 6b064714b9.

* 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
Andrey G cbef71e97c
Openblt to dfu jump fixed (#4367)
* OpenBLT: supress "target 'startup_xxxxxx.o' given more than once in the same rule" warning

* OpenBLT: check for DFU request, do not ignore dead beef
2022-07-22 07:43:15 -04:00
rusefillc 00f44bc2e2 making file reuseable 2022-05-26 23:54:30 -04:00
rusefillc de10b8c473 unique file name seems a bit more convenient 2022-05-26 23:43:44 -04:00
rusefillc 5c698b98b4
why does this fail? (#4196)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-26 20:54:36 -04:00
rusefillc 7700548b7a
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 124375b07a.

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-25 17:10:41 -04:00
rusefillc 03fa7c7d95 reducing code duplication, also one step back with HSE 2022-05-24 16:25:16 -04:00
rusefillc d4066acc14 reducing code duplication 2022-05-24 16:05:07 -04:00
rusefillc f35e0a634e reducing code duplication 2022-05-24 15:45:06 -04:00
rusefillc 54268843b8 reducing code duplication 2022-05-24 15:31:14 -04:00
rusefillc 4af557d7ac promoting openblt to it's own folder 2022-05-24 15:23:55 -04:00