rusefi/firmware/config/boards
Matthew Kennedy 4665e67eb4
pass board dir to scripts instead of board name (#5022)
* pass board dir instead of name

* makefiles

* dead file?

* hw ci

* unit tests

* fix sd card generation while we're here

* actually test sd category

* jar

* clean merge

* jar for good measure

* fix f767 properly
2023-02-06 08:37:17 -04:00
..
48way deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
BB_V2 deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
BB_V3 deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
Benelli_Walbro/connectors fix combined pin C3C4 (#4983) 2023-01-20 12:11:11 -05:00
GDI4 GDI6 just for confusion 2022-06-06 12:15:50 -04:00
atlas deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
core8 deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
coreECU deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
cypress Auto-generated configs and docs 2023-02-06 00:58:11 +00:00
f407-discovery deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
f429-208 deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
f429-discovery deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
frankenso flip icu/pal default (#4268) 2022-06-22 18:43:39 -04:00
hellen deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
kinetis Auto-generated configs and docs 2023-02-06 00:58:11 +00:00
lambda-x2 typo 2022-12-18 18:58:23 -05:00
m74_9 deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
microrusefi deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
nucleo_f429 make nucleo builds normal (#5035) 2023-02-05 20:56:13 -04:00
nucleo_f767 pass board dir to scripts instead of board name (#5022) 2023-02-06 08:37:17 -04:00
nucleo_h743 make nucleo builds normal (#5035) 2023-02-05 20:56:13 -04:00
prometheus deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
proteus deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
s105 deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
skeleton deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
subaru_eg33 Auto-generated configs and docs 2023-02-06 00:58:11 +00:00
tdg-pdm8 Auto-generated configs and docs 2023-02-04 01:29:48 +00:00
STM32F407VET6_Black.bat
STM32F407VET6_Mini.bat
common_make.bat
common_make.sh deduplicate $(BOARD_DIR) in makefiles (#5024) 2023-02-01 14:41:27 -05:00
hellen_meta.h https://github.com/rusefi/alphax-8chan/issues/45 2023-01-29 19:21:05 -05:00
mre_meta.h CAN side of automated testing #4630 2022-09-29 22:17:28 -04:00
proteus_meta.h CAN side of automated testing #4630 2022-09-29 22:17:28 -04:00
readme.md Update readme.md 2022-06-19 14:59:48 -04:00

readme.md

Boards Directory

rusEFI supports quite a wide array of hardware - we support stm32f4 and we support stm32h7, we have kinetis and we support cypress MCUs. We support on-board a number of smart GPIO chips, overall we support quite a wide array of hardware. With all those options our goal is to provide nice user experience which means upfront investment by board designer.

For best user experience we have more than a dozen of different binaries which are all compiled from same firmware files with different configuration. This folder is all about that process.

See misc/jenkins/compile_other_versions/run.bat which is executed by build server.

See https://rusefi.com/build_server/

By definition, BOARD_NAME is a folder in firmware\config\boards

One BOARD_NAME could be producing a number of artifacts via compile_$BUNDLE_NAME.sh scripts

Work in progress: SHORT_BOARDNAME becomes BUNDLE_NAME

New board procedure once you have new folder in this boards directory

  1. update gen_config.sh: add "board board" pair into 'for BOARD' iteration - this would produce new signature*.h file and new rusefi*.ini file

  2. update build-firmware.yaml to get new firmware bundle on https://rusefi.com/build_server/

  3. add connector pinout mapping yaml file see examples of yaml files in 'connectors' subfolders here.

See also https://github.com/rusefi/rusefi/wiki/Hardware

FAQ

Q: how do I change Primary UART pins via TS?

A: Primary UART, critical error LED pin and maybe a couple more of the most fundamental pins could NOT be chagned via TS. You would need another binary altogether - either another official binary or a custom binary.

Q: I need more info!

A: please remember about https://github.com/rusefi/rusefi/wiki/Hardware#q-this-is-all-very-cool-but-you-guys-do-not-have-a-plugplay-for-my-trabant-i-think-i-will-go-and-make-a-new-rusefi-board-just-for-my-trabant