fome-fw/firmware/config/boards/readme.md

29 lines
1.7 KiB
Markdown
Raw Normal View History

# Boards Directory
2022-05-22 17:30:09 -07:00
rusEFI supports quite a wide array of hardware - we support stm32f4 and we support stm32h7, we have [kinetis](https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/k-series-cortex-m4:KINETIS_K_SERIES) 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.
2020-04-08 20:27:26 -07:00
See [misc/jenkins/compile_other_versions/run.bat](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
2020-07-05 21:29:30 -07:00
One BOARD_NAME could be producing a number of artifacts via compile_$BUNDLE_NAME.sh scripts
Work in progress: SHORT_BOARDNAME becomes BUNDLE_NAME
2021-06-26 23:06:57 -07:00
2022-05-22 17:30:09 -07:00
New board procedure once you have new folder in this *boards* directory
1) update [gen_config.sh](https://github.com/rusefi/rusefi/blob/master/firmware/gen_config.sh): add "board board" pair into 'for BOARD' iteration - this would produce new signature*.h file and new rusefi*.ini file
2021-06-26 23:06:57 -07:00
2022-05-22 17:30:09 -07:00
2) update [build-firmware.yaml](https://github.com/rusefi/rusefi/blob/master/.github/workflows/build-firmware.yaml) to get new firmware bundle on https://rusefi.com/build_server/
2021-06-26 23:13:52 -07:00
2022-05-22 17:31:30 -07:00
3) add connector pinout mapping [yaml](https://en.wikipedia.org/wiki/YAML) file see examples of yaml files in 'connectors' subfolders here.
2021-07-07 11:06:44 -07:00
See also https://github.com/rusefi/rusefi/wiki/Hardware