Commit Graph

806 Commits

Author SHA1 Message Date
rusefillc 2032e5fdb8 Kawasaki KX450F trigger wheel #2538 2021-04-08 22:16:14 -04:00
GitHub build-firmware Action c8aed610ba Auto-generated configs and docs 2021-04-09 02:10:22 +00:00
GitHub build-firmware Action 8b4ebaf4a9 Auto-generated configs and docs 2021-04-07 20:46:09 +00:00
GitHub build-firmware Action 521164d57a Auto-generated configs and docs 2021-04-05 19:58:54 +00:00
GitHub build-firmware Action eb65a49b3b Auto-generated configs and docs 2021-04-05 00:01:45 +00:00
GitHub build-firmware Action e12ef51bb5 Auto-generated configs and docs 2021-04-04 00:31:15 +00:00
Matthew Kennedy 1dffcf5729
make board config override actually usable (#2508)
* new function

* hellen

* MRE

* proteus

* put those function declarations in a reasonable place

* put the comment back

* weak

* move that to a reasonable place

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-31 14:46:50 -04:00
GitHub build-firmware Action d2df6f9675 Auto-generated configs and docs 2021-03-29 13:06:35 +00:00
Matthew Kennedy f0cf4f38ff
fix multi-serial-port insanity (#2476)
* carve out UART specific

* implement channel

* config cleanup

* use new config

* bootloader

* dead code

* s

* h7 inherits f7

* oops

* ok now it's right

* tests

* cleanup

* call setup

* put that in its own file

* cleanup

* format

* guard

* not needed

* improve guarding

* portable

* allow override of uart mode

* fixes for bootloader

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 09:06:36 -04:00
GitHub build-firmware Action b5dff633ea Auto-generated configs and docs 2021-03-28 12:41:23 +00:00
GitHub build-firmware Action 5d84af0c35 Auto-generated configs and docs 2021-03-28 12:09:36 +00:00
GitHub build-firmware Action 9b6fdc823c Auto-generated configs and docs 2021-03-27 23:02:46 +00:00
Matthew Kennedy 4e3e95db2d
replace print/printMsg with scheduleMsg (#2497)
* start cleaning

* disabled feature means don't print that it's disabled

* cli

* usages

* printMsg -> scheduleMsg

* this is alllll dead now

* no crlf please

* all hope is lost if you manage to hit this line

* tests

* tests

* ok we did actually need that part

* sim

* d

* kinetis

* it did ifdef, not if

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-26 17:23:26 -04:00
GitHub build-firmware Action d215291ad5 Auto-generated configs and docs 2021-03-24 00:29:05 +00:00
GitHub build-firmware Action 47c896f008 Auto-generated configs and docs 2021-03-23 19:20:23 +00:00
Matthew Kennedy 51a5b4d6d5
rename setBoardConfigurationOverrides (#2479)
* rename

* proteus

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-22 14:15:09 -04:00
GitHub build-firmware Action 2eaa6de822 Auto-generated configs and docs 2021-03-22 11:54:44 +00:00
GitHub build-firmware Action fac82ed2fe Auto-generated configs and docs 2021-03-19 21:20:54 +00:00
GitHub build-firmware Action b0948589ac Auto-generated configs and docs 2021-03-19 12:41:10 +00:00
GitHub build-firmware Action ee5e73b446 Auto-generated configs and docs 2021-03-14 21:30:08 +00:00
GitHub build-firmware Action bc7a97e46a Auto-generated configs and docs 2021-03-13 04:21:15 +00:00
GitHub build-firmware Action efeb3d9289 Auto-generated configs and docs 2021-03-13 03:33:50 +00:00
GitHub build-firmware Action aba69aa4a7 Auto-generated configs and docs 2021-03-12 05:18:18 +00:00
GitHub build-firmware Action fc918ddd02 Auto-generated configs and docs 2021-03-11 13:40:39 +00:00
GitHub build-firmware Action c510211957 Auto-generated configs and docs 2021-03-06 02:09:06 +00:00
GitHub build-firmware Action d1056e3972 Auto-generated configs and docs 2021-03-06 01:48:51 +00:00
GitHub build-firmware Action 2ecfabd28e Auto-generated configs and docs 2021-03-06 01:45:12 +00:00
GitHub build-firmware Action 8373725f5e Auto-generated configs and docs 2021-03-06 01:34:46 +00:00
GitHub build-firmware Action 8a5d65cdbc Auto-generated configs and docs 2021-03-06 01:00:28 +00:00
GitHub build-firmware Action 6d40566a10 Auto-generated configs and docs 2021-03-06 00:30:16 +00:00
GitHub build-firmware Action 8d49cc3e48 Auto-generated configs and docs 2021-03-05 22:44:12 +00:00
GitHub build-firmware Action 8dc17d420c Auto-generated configs and docs 2021-03-05 03:41:12 +00:00
GitHub build-firmware Action f0098d8bc1 Auto-generated configs and docs 2021-03-05 02:01:14 +00:00
GitHub build-firmware Action d71b1184fc Auto-generated configs and docs 2021-03-03 12:32:56 +00:00
GitHub build-firmware Action b87d82735d Auto-generated configs and docs 2021-03-03 03:16:19 +00:00
GitHub build-firmware Action 41a120b05d Auto-generated configs and docs 2021-03-01 14:54:41 +00:00
GitHub build-firmware Action f564a220c6 Auto-generated configs and docs 2021-03-01 03:36:14 +00:00
GitHub build-firmware Action 6d0dfed9c2 Auto-generated configs and docs 2021-03-01 00:43:17 +00:00
GitHub build-firmware Action 1fd4759358 Auto-generated configs and docs 2021-02-28 23:58:40 +00:00
GitHub build-firmware Action e64dec2b5c Auto-generated configs and docs 2021-02-28 21:59:46 +00:00
GitHub build-firmware Action 3e92a8b38a Auto-generated configs and docs 2021-02-28 20:45:15 +00:00
GitHub build-firmware Action 0d143e2a56 Auto-generated configs and docs 2021-02-28 12:32:47 +00:00
Matthew Kennedy 6fe0cadfc0
allow disabling fast ADC (#2406)
* mostly guard against no fast adc

* disable on h7

* guard more

* guard adc init

* you can't do that in c++

* we need that

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-28 07:30:19 -05:00
GitHub build-firmware Action 306e4a230f Auto-generated configs and docs 2021-02-28 01:16:53 +00:00
GitHub build-firmware Action 13b234d97f Auto-generated configs and docs 2021-02-26 22:40:02 +00:00
GitHub build-firmware Action af5cefae43 Auto-generated configs and docs 2021-02-26 19:46:59 +00:00
GitHub build-firmware Action 713850beda Auto-generated configs and docs 2021-02-26 13:01:20 +00:00
GitHub build-firmware Action c03bf4297c Auto-generated configs and docs 2021-02-25 22:11:12 +00:00
GitHub build-firmware Action 39d9f55d01 Auto-generated configs and docs 2021-02-25 18:39:40 +00:00
GitHub build-firmware Action 5a990fb55d Auto-generated configs and docs 2021-02-25 06:39:30 +00:00
GitHub build-firmware Action 2e4067c210 Auto-generated configs and docs 2021-02-25 02:57:52 +00:00
Matthew Kennedy 7b33ebfa9c
build (#2399) 2021-02-24 21:55:51 -05:00
GitHub build-firmware Action e93d6855fb Auto-generated configs and docs 2021-02-24 20:04:17 +00:00
GitHub build-firmware Action 4e7e40ae00 Auto-generated configs and docs 2021-02-24 19:09:56 +00:00
Matthew Kennedy 4fe0ceec61
deduplication in halconf (#2377)
* rusefi_halconf

* h7 gpt

* don't redefine that

* maybe this was necessary

* format

* no usb in cypress

* flags for bl

* cypress

* maybe bootloader

* no smart build for cypress/kinetis

* no smart build

* no really, disable smart build

* don't need to clean that env var

* cypress

* format
2021-02-24 14:08:03 -05:00
GitHub build-firmware Action 2bcdbf9394 Auto-generated configs and docs 2021-02-24 13:17:30 +00:00
GitHub build-firmware Action deb285825e Auto-generated configs and docs 2021-02-24 03:57:41 +00:00
GitHub build-firmware Action eade11deb5 Auto-generated configs and docs 2021-02-24 00:20:19 +00:00
GitHub build-firmware Action e7ef64ca4b Auto-generated configs and docs 2021-02-24 00:13:13 +00:00
GitHub build-firmware Action 0d853dba4a Auto-generated configs and docs 2021-02-23 21:59:18 +00:00
GitHub build-firmware Action fadda9fd62 Auto-generated configs and docs 2021-02-22 21:54:33 +00:00
GitHub build-firmware Action 50f2ffbc1e Auto-generated configs and docs 2021-02-22 21:25:20 +00:00
GitHub build-firmware Action bebcbcc182 Auto-generated configs and docs 2021-02-22 21:03:46 +00:00
GitHub build-firmware Action b6e3df01b8 Auto-generated configs and docs 2021-02-21 16:03:51 +00:00
GitHub build-firmware Action 78690eddfa Auto-generated configs and docs 2021-02-20 07:13:41 +00:00
GitHub build-firmware Action 9e1ac5d7ed Auto-generated configs and docs 2021-02-20 05:49:05 +00:00
GitHub build-firmware Action 28fb127996 Auto-generated configs and docs 2021-02-20 03:26:09 +00:00
GitHub build-firmware Action 0486dbf13e Auto-generated configs and docs 2021-02-20 01:50:25 +00:00
GitHub build-firmware Action 3d038877ea Auto-generated configs and docs 2021-02-19 22:52:43 +00:00
GitHub build-firmware Action f5586e0791 Auto-generated configs and docs 2021-02-19 22:03:28 +00:00
GitHub build-firmware Action 0c216bf3e3 Auto-generated configs and docs 2021-02-19 13:00:43 +00:00
GitHub build-firmware Action 4b66be4db3 Auto-generated configs and docs 2021-02-19 12:42:54 +00:00
GitHub build-firmware Action e0e7363473 Auto-generated configs and docs 2021-02-18 23:20:11 +00:00
GitHub build-firmware Action f020d7ab09 Auto-generated configs and docs 2021-02-18 22:36:03 +00:00
GitHub build-firmware Action 365a5c5667 Auto-generated configs and docs 2021-02-18 22:09:39 +00:00
GitHub build-firmware Action 8e997a3369 Auto-generated configs and docs 2021-02-18 21:18:58 +00:00
GitHub build-firmware Action 62c1c3b054 Auto-generated configs and docs 2021-02-18 20:06:38 +00:00
GitHub build-firmware Action e984b479e2 Auto-generated configs and docs 2021-02-18 05:13:23 +00:00
GitHub build-firmware Action d9cc527e05 Auto-generated configs and docs 2021-02-18 04:52:54 +00:00
GitHub build-firmware Action 8116cc8c98 Auto-generated configs and docs 2021-02-18 04:34:52 +00:00
GitHub build-firmware Action d01db86384 Auto-generated configs and docs 2021-02-18 01:27:52 +00:00
GitHub build-firmware Action 6281781d14 Auto-generated configs and docs 2021-02-18 00:44:07 +00:00
GitHub build-firmware Action c761fd0ebb Auto-generated configs and docs 2021-02-18 00:31:12 +00:00
GitHub build-firmware Action fb0be82bea Auto-generated configs and docs 2021-02-17 22:46:18 +00:00
Matthew Kennedy 878794f9cf
properly put buffers in no-cache regions (#2357)
* configure for no cache

* this doesn't need a setting

* now we don't need invalidate

* reorder and comment

* mmc

* sw knock
2021-02-15 17:39:11 -05:00
GitHub build-firmware Action 852a93be92 Auto-generated configs and docs 2021-02-15 03:38:10 +00:00
Matthew Kennedy 3ff54eb1c0
cleanup (#2343) 2021-02-13 14:23:39 -05:00
GitHub build-firmware Action 4d358f4759 Auto-generated configs and docs 2021-02-13 01:50:56 +00:00
GitHub build-firmware Action 45ed6ebb33 Auto-generated configs and docs 2021-02-11 02:49:50 +00:00
GitHub build-firmware Action 5e96883b15 Auto-generated configs and docs 2021-02-11 01:23:22 +00:00
Matthew Kennedy 85fab40d21
get mcu temperature within port (#2326)
* remove EFI_ADC_TEMP_SENSOR

* implement

* comment

* s

* switch adc_inputs over

* header

* s

* I think aligned-on-stack should work ok

* num channels

* cache safety

* move adc init too

* don't compile that file for the h7

* cypress & kinetis

* ports

* guard against bootloader

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-09 22:04:36 -05:00
GitHub build-firmware Action 9fb101186a Auto-generated configs and docs 2021-02-09 19:01:08 +00:00
GitHub build-firmware Action 71a974e477 Auto-generated configs and docs 2021-02-09 05:26:52 +00:00
rusefillc f65df4f24f M62T vanos support #2243
still trying to fix Kinetis
2021-02-09 00:25:02 -05:00
GitHub build-firmware Action ad453abfc5 Auto-generated configs and docs 2021-02-09 04:49:57 +00:00
GitHub build-firmware Action 50cf213163 Auto-generated configs and docs 2021-02-09 04:23:45 +00:00
rusefillc d5aa951a49 trying to help kinetis by reducing RAM usage back to where it was 2021-02-08 23:21:34 -05:00
rusefillc 8e74af3e86 M62T vanos support #2243 2021-02-08 22:48:17 -05:00
GitHub build-firmware Action 45db66cbb2 Auto-generated configs and docs 2021-02-09 02:52:50 +00:00
rusefillc 2d99e77c95 M62T vanos support #2243 2021-02-08 21:50:31 -05:00
rusefi 6b10de5616 refactoring: naming consistency 2021-02-08 18:20:53 -05:00
rusefi c576f0a9d9 M62T vanos support #2243 2021-02-08 18:08:26 -05:00
GitHub build-firmware Action e83636cd83 Auto-generated configs and docs 2021-02-08 21:41:57 +00:00
rusefi a349bf1ca8 M62T vanos support #2243 2021-02-08 16:16:26 -05:00
GitHub build-firmware Action d57b4b48b5 Auto-generated configs and docs 2021-02-08 19:13:25 +00:00
GitHub build-firmware Action ab832d269a Auto-generated configs and docs 2021-02-07 13:48:13 +00:00
GitHub build-firmware Action fe688471ca Auto-generated configs and docs 2021-02-07 01:56:30 +00:00
rusefillc d95ba6b443 Trigger pattern request Škoda Favorit #2302 2021-02-06 20:12:58 -05:00
GitHub build-firmware Action d7318c696d Auto-generated configs and docs 2021-02-07 00:52:02 +00:00
GitHub build-firmware Action 9a254634d0 Auto-generated configs and docs 2021-02-06 18:52:00 +00:00
rusefillc d80ed37040 reducing code duplication 2021-02-05 23:56:22 -05:00
rusefillc 6a2473ccc1 reducing code duplication 2021-02-05 23:45:47 -05:00
rusefillc 6915852a7a reducing code duplication 2021-02-05 23:41:26 -05:00
rusefillc 82e96d7dfb code reuse good, code duplication bad 2021-02-05 22:44:40 -05:00
rusefillc 92625913d2 code reuse good, code duplication bad 2021-02-05 22:19:24 -05:00
GitHub build-firmware Action 1073cde9b9 Auto-generated configs and docs 2021-02-05 23:21:55 +00:00
GitHub build-firmware Action dfca29a705 Auto-generated configs and docs 2021-02-05 16:29:43 +00:00
GitHub build-firmware Action 4a6bca0a2a Auto-generated configs and docs 2021-02-03 19:36:47 +00:00
Matthew Kennedy 9f0ebaac49
Proteus analog input ci (#2271)
* test vbatt

* test proteus vbatt

* tolerance

* these don't work on proteus

* new engine type

* test analog input

* more test points, less tolerance

* console build needs this file generated

* only include for hw ci builds

* wiring info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 13:34:48 -06:00
GitHub build-firmware Action eca31a782c Auto-generated configs and docs 2021-02-02 14:17:30 +00:00
GitHub build-firmware Action 927f80886c Auto-generated configs and docs 2021-02-02 04:21:59 +00:00
rusefillc 11f9bf16f6 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:18:11 -05:00
GitHub build-firmware Action ee561bcf66 Auto-generated configs and docs 2021-02-02 03:52:46 +00:00
GitHub build-firmware Action 953e892c4a Auto-generated configs and docs 2021-02-01 17:13:13 +00:00
GitHub build-firmware Action 22a9e55c03 Auto-generated configs and docs 2021-02-01 10:41:19 +00:00
GitHub build-firmware Action dc7b94fe6c Auto-generated configs and docs 2021-01-31 22:21:02 +00:00
GitHub build-firmware Action 5ca29789ef Auto-generated configs and docs 2021-01-28 01:33:00 +00:00
GitHub build-firmware Action 7b6e402089 Auto-generated configs and docs 2021-01-27 02:58:44 +00:00
GitHub build-firmware Action 7c199746ec Auto-generated configs and docs 2021-01-27 01:49:09 +00:00
David Holdeman 6ead64e512
New board pin-mapping system (#2231)
* convert mre mapping

* convert mre mapping

* funny stuff for GPIOA_5

* move class next to id

* rough draft

* update scripts

* fix some errors

* fix some errors

* try

* check against null

* try amp

* try

* try

* fix some errors

* update scripts

* fix maybe

* fix maybe 2

* fix maybe

* fix maybe

* fix

* try

* fix

* use .equals

* use StringBuilder

* use instanceof

* use .max

* remove getMaxValue

* Suppress Warning

* major optimization

* fix maybe

* off-by-one error

* move yaml file loop

* add j2 connector

* add pads yaml

* check for null or empty

* add AV pins to pads

* forgot class

* move registerpins out of loop

* fix typo

* rebase

* check if string

* convert frankenso

* convert frankenso

* tyop

* missing class

* copy mre to skel

* remove prometheus yaml

* remove kinetis yaml

* build configDefinition

* replace var with string

* slight refactor
2021-01-22 12:03:14 -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
GitHub build-firmware Action 5b6614b65a Auto-generated configs and docs 2021-01-19 00:30:19 +00:00
GitHub build-firmware Action b7016f97b6 Auto-generated configs and docs 2021-01-18 23:56:32 +00:00
GitHub build-firmware Action ba8cc12f3c Auto-generated configs and docs 2021-01-18 23:50:26 +00: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
GitHub build-firmware Action 8988b908ed Auto-generated configs and docs 2021-01-10 15:16:52 +00:00
GitHub build-firmware Action 8960c7a0b5 Auto-generated configs and docs 2021-01-10 13:14:51 +00:00
GitHub build-firmware Action 4500e1dc71 Auto-generated configs and docs 2021-01-09 19:15:01 +00:00
GitHub build-firmware Action 7d63cf4e62 Auto-generated configs and docs 2021-01-08 17:51:57 +00:00
GitHub build-firmware Action 27e944f2bf Auto-generated configs and docs 2021-01-07 13:25:37 +00:00
GitHub build-firmware Action d0090cb5d8 Auto-generated configs and docs 2021-01-07 13:08:14 +00:00
Andrey G f96ae7525f
Gpio cleanup #2 (#1530)
* pin repository: PIN_USED size in now equal to brain_pin_e enum size

expect special values...

* smart gpios: register gpio chip to given base (no auto-allocation)

* drivers: gpio: core: add gpiochip_unregister()

* drivers: gpio: MC33810 intergation

* smart_gpio.cpp: cleanup ifdef mess, minor cleanups

* gpio: core: additional check for gpio ranges overlaps

* unit test: gpio chip: fixed and extended
2021-01-06 18:29:47 -05:00
GitHub build-firmware Action 4a1246995f Auto-generated configs and docs 2021-01-06 18:57:58 +00:00
GitHub build-firmware Action 6a32510a4c Auto-generated configs and docs 2021-01-06 18:49:08 +00:00
GitHub build-firmware Action a0aba69b9f Auto-generated configs and docs 2021-01-06 03:32:28 +00:00
GitHub build-firmware Action f804aaf60f Auto-generated configs and docs 2021-01-05 21:32:00 +00:00
GitHub build-firmware Action 0abfc7c9c1 Auto-generated configs and docs 2021-01-05 12:59:14 +00:00
GitHub build-firmware Action 07abef8473 Auto-generated configs and docs 2021-01-05 04:52:50 +00:00
rusefillc 15665484e5 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:52:53 -05:00
GitHub build-firmware Action 1caeef7ca2 Auto-generated configs and docs 2021-01-03 18:08:09 +00:00