Commit Graph

9440 Commits

Author SHA1 Message Date
rusefillc 592a481608 Merge remote-tracking branch 'origin/master' into master 2021-01-27 22:58:20 -05:00
rusefillc 6fcd1633c6 Hellen mapping #2235
fixing CLT mis-mapping
2021-01-27 22:58:06 -05:00
Matthew Kennedy 93b034b8e9
Limp handles inj/ign disable (#2245)
* status loop just asks limp mgr

* put logic in limp manager

* don't need that function any more

* bye

* TIL these bits already exist in the configuration
2021-01-27 21:28:53 -05:00
GitHub build-firmware Action 5ca29789ef Auto-generated configs and docs 2021-01-28 01:33:00 +00:00
Matthew Kennedy e0b2802a43
Map fallback logic, TS cleanup (#2247)
* add new field

* UI

* set default

* consume new parameter

* some cleanup while we're at it
2021-01-27 20:31:29 -05:00
GitHub set-date Action 7746ba0492 Update date 2021-01-28 00:54:25 +00:00
GitHub build-firmware Action 5c2ad041ca Auto-generated configs and docs 2021-01-28 00:25:42 +00:00
rusefillc 1109c879a5 poke 2021-01-27 19:23:42 -05:00
rusefillc 156ae07bac limp mode too good for bench testing #2244 2021-01-27 00:02:37 -05:00
GitHub build-firmware Action 5186e853d7 Auto-generated configs and docs 2021-01-27 04:47:00 +00:00
rusefillc bc7f9379e1 naming consistency 2021-01-26 23:45:11 -05:00
GitHub build-firmware Action 0a71cfd3c6 Auto-generated configs and docs 2021-01-27 04:09:36 +00:00
rusefillc bdc2de9ee6 InstantRpm 2021-01-26 23:07:41 -05:00
rusefillc dc80e4e6cb M62T vanos support #2243 2021-01-26 22:54:25 -05:00
GitHub build-firmware Action 7b6e402089 Auto-generated configs and docs 2021-01-27 02:58:44 +00:00
Matthew Kennedy bed6819d8b
normalize configuration grammar (#2240)
* modify grammar

* add missing typedefs

* these typedefs are easier to handle in the parser

* make the existing parser work with the changed format

* grumble grumble jar

* we can deal with this part later

* handle later

* deal with this later
2021-01-26 21:56:47 -05:00
rusefillc e219638f60 M62T vanos support #2243 2021-01-26 21:43:23 -05:00
rusefillc b6f5e5f34d M62T vanos support #2243 2021-01-26 21:16:47 -05:00
GitHub build-firmware Action 7c199746ec Auto-generated configs and docs 2021-01-27 01:49:09 +00:00
rusefillc cf5d110ae8 Merge remote-tracking branch 'origin/master' into master 2021-01-26 20:47:05 -05:00
rusefillc 845de71a54 M62T vanos support #2243 2021-01-26 20:46:50 -05:00
GitHub set-date Action 74b25da160 Update date 2021-01-27 00:51:45 +00:00
GitHub set-date Action 3563c09d4c Update date 2021-01-26 00:53:32 +00:00
rusefillc dc4574ccfa Merge remote-tracking branch 'origin/master' into master 2021-01-25 00:31:02 -05:00
rusefillc e1febfb9e1 fixing port I 2021-01-25 00:29:48 -05:00
GitHub set-date Action f893a3ce78 Update date 2021-01-25 01:28:32 +00:00
rusefillc 30bc6f6d0a Revert "FRANKENSO to use HAL_VSS_USE_PAL"
This reverts commit f2e03e5a
2021-01-24 00:05:17 -05:00
rusefillc f2e03e5ab6 FRANKENSO to use HAL_VSS_USE_PAL 2021-01-23 22:57:13 -05:00
GitHub set-date Action cd65c9f988 Update date 2021-01-24 01:29:28 +00:00
rusefillc 4fe45db61a https://github.com/rusefi/rusefi/pull/2236 by AlexHLinS 2021-01-23 20:08:57 -05:00
rusefillc 1ed7d16d50 knock-knock 2021-01-23 00:00:34 -05:00
rusefillc c069f1c959 fixing port I 2021-01-22 23:31:21 -05:00
rusefillc 97cc6e4e1f Merge remote-tracking branch 'origin/master' into master 2021-01-22 22:58:23 -05:00
GitHub set-date Action e8ab9391af Update date 2021-01-23 01:27:52 +00:00
David Holdeman bcf981a9b1
Hellen mapping (#2235)
* convert hellen mapping.yaml

* remove mapping.yaml as it is not used
2021-01-22 16:51:02 -05:00
rusefillc df64f072ac Merge remote-tracking branch 'origin/master' into master 2021-01-22 12:03:30 -05: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
rusefillc 4819776810 Merge remote-tracking branch 'origin/master' into master 2021-01-22 02:09:51 -05:00
rusefillc 4ed3fd4a71 Hellen72 2021-01-22 02:09:28 -05:00
GitHub build-firmware Action d511985ff8 Auto-generated configs and docs 2021-01-22 07:04:05 +00:00
rusefillc 6bc882f30a Hellen72 2021-01-22 02:02:16 -05:00
GitHub build-firmware Action aa477f2bcd Auto-generated configs and docs 2021-01-22 06:58:13 +00:00
rusefillc 2060dd6cfe knock9 2021-01-22 01:54:20 -05:00
rusefillc edd89c34f9 HELLEN_NB2 2021-01-22 01:47:01 -05:00
rusefillc aaa9f2a608 Hellen needs text representation of GPIOI
H7 dreams are asking for J and K
2021-01-22 01:25:05 -05:00
GitHub set-date Action 1c410364c3 Update date 2021-01-22 01:28:07 +00:00
andreika-git dc40689a57
hellen72 trigger PAL mode (#2233)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-01-21 10:22:29 -05:00
GitHub set-date Action 978a025772 Update date 2021-01-21 01:29:32 +00:00
GitHub set-date Action e46ff8c4b5 Update date 2021-01-20 01:30:08 +00:00
Matthew Kennedy fd02da6670
update wideband firmware image (#2232) 2021-01-19 16:51:05 -05:00
GitHub build-firmware Action 2b53721016 Auto-generated configs and docs 2021-01-19 21:13:15 +00:00
rusefillc a91b9a676e viva v12 2021-01-19 16:09:34 -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
rusefillc 20f05fd450 ### 2021 Printing Ink Day 2021-01-19 15:19:31 -05:00
GitHub build-firmware Action 174edaff6e Auto-generated configs and docs 2021-01-19 04:05:31 +00:00
rusefi 51c8e77790 SD card debug field 2021-01-18 23:03:24 -05:00
GitHub set-date Action 797003326a Update date 2021-01-19 01:28:19 +00:00
GitHub build-firmware Action 5b6614b65a Auto-generated configs and docs 2021-01-19 00:30:19 +00:00
rusefi baff5d745e 10k docs 2021-01-18 19:18:24 -05:00
rusefi e7dc807456 Merge remote-tracking branch 'origin/master' 2021-01-18 19:01:30 -05:00
rusefi 0dc0ae19be OMG we are not using java yet?! 2021-01-18 19:00:53 -05:00
GitHub build-firmware Action b7016f97b6 Auto-generated configs and docs 2021-01-18 23:56:32 +00:00
rusefi bb1ae49534 https://refactoring.com/catalog/replaceMagicLiteral.html 2021-01-18 18:54:18 -05:00
rusefi 10e980e293 Revert "Save more space in the angle cache (#2228)"
This reverts commit c7ca1b2e
2021-01-18 18:53:00 -05:00
GitHub build-firmware Action ba8cc12f3c Auto-generated configs and docs 2021-01-18 23:50:26 +00:00
rusefi d9ee2f8b9f Merge remote-tracking branch 'origin/master' 2021-01-18 18:44:43 -05:00
rusefi 94ae9fdef2 https://refactoring.com/catalog/replaceMagicLiteral.html 2021-01-18 18:44:31 -05:00
Matthew Kennedy c7ca1b2ef4
Save more space in the angle cache (#2228)
* store event angles in a scaled field

* tests

* comment
2021-01-18 18:31:06 -05:00
GitHub build-firmware Action ee2c2782c1 Auto-generated configs and docs 2021-01-18 12:05:53 +00:00
Matthew Kennedy fa30efbc94
boost fixes (#2230)
* fix boost pin reinit

* call boost from periodic slow

* ui

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-18 07:04:14 -05:00
GitHub set-date Action 84cacc86bd Update date 2021-01-18 01:26:13 +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
Matthew Kennedy 6a1b9db952
save 1440 bytes (#2226) 2021-01-16 21:22:30 -05:00
GitHub set-date Action 99fcf11cc9 Update date 2021-01-17 01:27:50 +00:00
Matthew Kennedy 60f70a3721
clean up some includes (#2227)
* cleanup

* make c happy
2021-01-16 09:45:45 -05:00
GitHub set-date Action 577fc65b89 Update date 2021-01-16 01:27:41 +00:00
rusefillc e3e517f9a2 journey of self discovery 2021-01-14 23:34:10 -05:00
rusefillc ea816c3536 DBGMCU->IDCODE 2021-01-14 23:19:54 -05:00
rusefillc 717e36a7a4 todo: reduce magic constants 2021-01-14 22:34:06 -05:00
rusefillc abd85cf8dc Merge remote-tracking branch 'origin/master' into master 2021-01-14 22:20:24 -05:00
Matthew Kennedy bdacda558c
fix instant rpm (#2180)
* consumers

* impl

* instant rpm in idle timing
2021-01-14 20:45:55 -05:00
GitHub set-date Action b16704c9f9 Update date 2021-01-15 01:26:19 +00:00
Matthew Kennedy 2e557dbcf6
make fuel math look more like ign math (#2214) 2021-01-14 19:18:30 -05:00
GitHub set-date Action 15f92b42c9 Update date 2021-01-14 01:29:36 +00:00
GitHub set-date Action 8fcc864db9 Update date 2021-01-13 01:21:01 +00:00
rusefillc 1eee754118 Merge remote-tracking branch 'origin/master' into master 2021-01-12 15:54:06 -05:00
rusefillc aec0e5c5aa Main Relay bench test button 2021-01-11 20:39:47 -05:00
GitHub set-date Action 80a2c1ec1a Update date 2021-01-12 01:14:10 +00:00
rusefillc e1668402f6 cmd_test_main_relay
helping build
2021-01-11 20:01:20 -05:00
rusefillc d97501b601 todo EFI_MAIN_RELAY_CONTROL 2021-01-11 19:48:38 -05:00
rusefillc 1431baefbc cmd_test_main_relay 2021-01-11 19:37:50 -05:00
rusefillc 015becd751 Merge remote-tracking branch 'origin/master' into master 2021-01-11 17:11:03 -05:00
rusefillc 3acdbef923 probably false alarm, but this area needs a clean-up 2021-01-11 14:17:35 -05:00
Andrey G 25560b85c2
Supress annoing unused warnings (#2216) 2021-01-11 08:49:20 -05:00
Matthew Kennedy a5266cd6ef
part of 2217 which may fix it alone (#2220) 2021-01-11 08:01:54 -05:00
Matthew Kennedy 604b0cd527
templated interpolate2d (#2221)
* template table2d

* assertions

* oops

* tests

* test bins too

* more assert

* format

* explicitly handle and test NaN

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-11 08:00:15 -05:00
rusefi 04e791d99c nb2 and proteus usability 2021-01-11 01:17:03 -05:00
Matthew Kennedy 868f0d47ac
Enable idle timing/ve tables based on idle phase logic (#2213)
* add helper

* advance

* ve

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-11 00:54:37 -05:00
rusefillc d94c07935a hellen72 2021-01-10 23:58:23 -05:00
rusefillc 7e5b9903b7 cmd_test_main_relay 2021-01-10 23:58:09 -05:00
GitHub build-firmware Action e581834582 Auto-generated configs and docs 2021-01-11 04:48:37 +00:00
rusefillc 4416d1c7dc cmd_test_main_relay 2021-01-10 23:46:50 -05:00
GitHub build-firmware Action b2f715ef32 Auto-generated configs and docs 2021-01-11 01:36:06 +00:00
rusefillc 494b6caf3b cmd_test_main_relay 2021-01-10 20:30:08 -05:00
rusefillc eb5495f1fe Merge remote-tracking branch 'origin/master' into master 2021-01-10 20:25:16 -05:00
GitHub set-date Action f42097741d Update date 2021-01-11 01:11:57 +00:00
rusefi f1f6c329a0 cmd_test_main_relay 2021-01-10 20:11:46 -05:00
rusefi 6e29730b36 vvt knock 2021-01-10 18:57:27 -05:00
rusefillc 5b84eaaf94 Migrate to newer ChibiOS #710 2021-01-10 12:30:10 -05:00
GitHub build-firmware Action 8988b908ed Auto-generated configs and docs 2021-01-10 15:16:52 +00:00
shadowm60 8d1610a7a3
Vss filter configuration field and param (#2210)
Prep work to introduce biquad filter on vss input to reduce noise on logs and for dynoview as well
2021-01-10 10:14:50 -05:00
GitHub build-firmware Action 8960c7a0b5 Auto-generated configs and docs 2021-01-10 13:14:51 +00:00
Matthew Kennedy 571122d461
Start support for multi-bank closed loop fueling (#2184)
* cfg

* cell

* N banks

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-10 08:10:49 -05:00
GitHub set-date Action 37b73b14a6 Update date 2021-01-10 01:13:38 +00:00
GitHub build-firmware Action 2583b040a2 Auto-generated configs and docs 2021-01-10 01:08:07 +00:00
rusefillc 1cbb0c5680 Revert "Revert "rpm rate of change (#2159)""
This reverts commit 538b3ac6
2021-01-09 20:06:19 -05:00
GitHub build-firmware Action 750d80bf83 Auto-generated configs and docs 2021-01-10 00:49:08 +00:00
rusefillc 538b3ac649 Revert "rpm rate of change (#2159)"
This reverts commit f73b7123

#2207 yes, this makes no sense but just to confirm
2021-01-09 19:45:07 -05:00
rusefillc 9dfa5e9670 cherry pick from https://github.com/dron0gus/rusefi/tree/ChibiOS-20 2021-01-09 19:15:50 -05:00
rusefillc 880b310ec9 cherry pick from https://github.com/dron0gus/rusefi/tree/ChibiOS-20 2021-01-09 18:55:58 -05:00
rusefillc c3812253e2 Migrate to newer ChibiOS #710 2021-01-09 18:34:45 -05:00
rusefillc 500703077b Migrate to newer ChibiOS #710 2021-01-09 18:10:56 -05:00
rusefillc d5b798e2a2 Migrate to newer ChibiOS #710 2021-01-09 18:05:32 -05:00
rusefillc 32bcfc37b2 Migrate to newer ChibiOS #710 2021-01-09 18:03:32 -05:00
rusefillc 4f49c73a45 Lcd fix (I hope) #2211
there is still an issue :(
2021-01-09 17:30:39 -05:00
Andrey G 7803968621
Lcd fix (I hope) (#2211)
* LCD: check if settings are valid on each access

* Lada Kalina: remove duplicate code

All LCD pins are set to GPIO_UNASSIGNED in disableLCD()

* Remove duplicate code

* We still need to know when invalid gpio is used...

This reverts commit c17775231a.
2021-01-09 17:16:10 -05:00
Matthew Kennedy 021dc9d185
fix (#2209) 2021-01-09 16:51:24 -05:00
rusefillc c17775231a dron0gus please help 2021-01-09 15:31:09 -05:00
Matthew Kennedy 8d5495111e
Fix master fatal error (#2206)
* print the fatal that caused test failure

* fix the error
2021-01-09 15:13:43 -05:00
GitHub build-firmware Action 4500e1dc71 Auto-generated configs and docs 2021-01-09 19:15:01 +00:00
David Holdeman 52e88ade01
Add TCU Solenoid debug fields (#2202)
* try adding debug fields

* oops

* include

* add labels

* add enum

* add more solenoid

* whoops

* ifdef
2021-01-09 14:12:45 -05:00
GitHub build-firmware Action 7996099627 Auto-generated configs and docs 2021-01-09 16:25:47 +00:00
rusefillc 4a23aa4dbc Hellen 2021-01-09 11:24:13 -05:00
GitHub set-date Action 51bf935500 Update date 2021-01-09 01:09:57 +00:00
Andrey G 2af32084f4
gpio helper (#2195)
* gpios: isBrainPinValid helper

* LCD HD44780: do not touch pins if DM_NONE or invalid gpio

* Fix isEnabled checks for GPS and Joystick

* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
Matthew Kennedy d0c71d758b
update biquad (#2201) 2021-01-08 19:48:56 -05:00
GitHub build-firmware Action 99430a2508 Auto-generated configs and docs 2021-01-08 18:43:44 +00:00
rusefillc 03777db548 poke 2021-01-08 13:39:53 -05:00
rusefillc 92615c7886 hellen72 2021-01-08 13:22:59 -05:00
GitHub build-firmware Action c0626f3012 Auto-generated configs and docs 2021-01-08 18:11:13 +00:00
GitHub build-firmware Action 7d63cf4e62 Auto-generated configs and docs 2021-01-08 17:51:57 +00:00
andreika-git 11c358f65c
Hellen72 config (#2200)
* Hellen72 config

* Hellen72 files

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-01-08 12:50:13 -05:00
Matthew Kennedy 44b5427813
better error checking of thermistor config (#2199)
* add bounds check on result

* validate thermistor config

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 20:37:15 -05:00
GitHub set-date Action 0b601bb4a6 Update date 2021-01-08 01:09:32 +00:00
rusefillc 3e897c6fd0 Merge remote-tracking branch 'origin/master' into master 2021-01-07 10:17:16 -05:00
rusefillc 8d7e391845 poke 2021-01-07 08:59:33 -05:00
GitHub build-firmware Action 27e944f2bf Auto-generated configs and docs 2021-01-07 13:25:37 +00:00
Matthew Kennedy 5f1a13aed4
Fix fan bench (#2198)
* fix fan, complain if missing bench mode

* more complaining about unexpected codes

* unused
2021-01-07 08:23:31 -05:00
GitHub build-firmware Action d0090cb5d8 Auto-generated configs and docs 2021-01-07 13:08:14 +00:00
Matthew Kennedy 7a90692187
Idle timing uses phase logic, remove falloff (#2169)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

* wonderful changelog

* now unused parameter

* put back deadzone

* ui

* test deadzone

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 08:06:36 -05:00