Commit Graph

15 Commits

Author SHA1 Message Date
David Holdeman 7b67c07e28 Move cypress, kinetis, and subaru generated from algo/ to generated/ 2024-03-19 08:48:16 -04:00
andreika-git ce9480f854 remove SHORT_BOARD_NAME def from .mk https://github.com/rusefi/rusefi/issues/5931 2024-02-12 13:46:31 -05:00
rusefillc 5d7ece6bc0 move SHORT_BOARD_NAME in to a makefile variable 2023-11-08 11:31:54 -05:00
rusefillc c8ba68aa75 one variable per line is usually better 2023-11-08 01:57:33 -05:00
Andreika 84c6d4cde6
More universal Board-ID for bench test (#5518)
* add STATIC_BOARD_ID defines to get Board-ID more universal

* add getBoardId()

* broadcast BENCH_TEST_BOARD_STATUS via CAN

* add guards for sendBoardStatus()
2023-08-18 18:41:17 -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
Nathan Schulte 6d31ea7d9c
fix `cypress` and `kinetis` board/build options (#4751)
* move cypress options to Makefile

* move kinetis options to Makefile

* make cypress compile script executable
2022-11-07 20:13:04 -05:00
Matthew Kennedy 32de65f176
Short board name 2 (#4080)
* some hellens

* the rest
2022-04-18 15:45:29 -04:00
rusefillc d4b7882255 reducing copy-pasta - would this work? 2022-01-04 19:56:36 -05:00
rusefillc c411029383 reducing copy-pasta - would this work? 2022-01-04 19:08:37 -05:00
Andrey G 777979c3ca
Chibi os 20 (#2212)
* Update ChibiOS

* Fix Makefiles includes paths

* halconf.h: remove flash hack

* mcuconf: fix EXTI ptiorityes

* Digital Input: ICU: use designated initializers, initialize 'arr'

* ChibiOS: lis302dl fix

* ADC: update to new API

* UARTConfig: timeout_cb field, formating

* ChibiOS: remove _exit, _kill, _getpid

* Fix lis302dl

* Bump config versions

* chconfig_common: cosmetic changes

* stm32f4ems: commulative config update

* Update Simulator

* ALLCSRC already contain all needed ChibiOS files.

Same for ALLINC and ALLCPPSRC

* ChibiOS fix for Simulator

* ChibiOS: port lock/unlock hook and MMC over SPI timeout

* STM32F7: update configs

* STM32F7: update linker file

* Cypress: port ADC lld to ChibiOS-20

* Cypress: port SPI lld to ChibiOS-20

* Cypress: port CAN lld to ChibiOS-20

* Cypress: fix include path for rules.ld

* Cypress: update chconf.h and halconf.h for ChibiOS-20

* Kinetis: update ADC lld to ChibiOS-20

* Kinetis: update SPI lld to ChibiOS-20

* Kinetis: update UART lld driver for ChibiOS-20

* Kinetis: update chconf.h and halconf.h for ChibiOS-20

* Kinetis: fix include path for rules.ld

* Nucleo F746: update ld script

* Nucleo F746: fix compile

* Bootloader: fix compilation with ChibiOS-20, cleanup

* Bootloader: add way to pass crosscompiler using CROSS_COMPILE

* Debug build arguments

* Simulator: fix windows compilation

Exclude syscalls_cpp.cpp from compilation
2021-01-19 15:20:35 -05:00
Andrey G baea67eccf
Simplify Makefile, unify board.mk files (#2229)
* Proper way to add lis302 driver

* Proper way to add license directory to includes

* Makefile: simplify

All ChibiOS stuff is accumulated in ALLCSRC, ALLINC and so on.

* board.mk: append sources and includes to ALLSRC, ALLCPPSRC, ALLINC

* Cypress: fix CANv2 includence into build
2021-01-17 09:32:06 -05:00
dron0gus 474d5e64cf
Update chibios (#1364)
* Update ChibiOS

* Fix coexistance of ChibiOS and our flash drivers

* Add 'int' = internal prefix for all on-chip flash functions

This avoid conflict with ChibiOS functions available after
enabling HAL_USE_EFL

* Exclude ChibiOS flash driver from bootloader

* Makefile magic?

* Kinetis: fix build after ChibiOS update and switching to SMART_BUILD

* Bootloader now use SMART_BUILD too
2020-04-25 16:32:32 -04:00
andreika-git 97884dc677 Kinetis: fix ENABLE_PERF_TRACE and trigger_input_comp (#1031)
* Kinetis: fix ENABLE_PERF_TRACE

* Kinetis: fix trigger_input_comp
2019-11-25 00:22:26 -05:00
andreika-git 1e73b830ac Kinetis files (pre-alpha) (#890) 2019-07-27 09:52:01 -04:00