Commit Graph

9326 Commits

Author SHA1 Message Date
Matthew Kennedy 37fa81b5d0 include board.c from hw_ports.mk (#2311)
* set mcu type in hw_ports

* move f4 linker script

* move f7 linker script

* don't set default linker file in makefiles

* extra line

* prometheus actually didn't depend on anything special for f469

* dead line

* h7

* dead

* move board.c

* set explicit cpu type for simulator

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-08 07:52:31 -06:00
Matthew Kennedy c0757a7d13 simplify MCU selection (#2308)
* set mcu type in hw_ports

* move f4 linker script

* move f7 linker script

* don't set default linker file in makefiles

* extra line

* prometheus actually didn't depend on anything special for f469

* dead line

* h7

* dead
2021-02-08 02:11:44 -05:00
GitHub set-date Action adc363ac94 Update date 2021-02-08 00:43:33 +00:00
Matthew Kennedy 983d75444e baro in sensor model (#2306)
* baro in sensor model

* missed

* typo

* init baro

* needs an include there
2021-02-07 17:54:41 -06:00
Matthew Kennedy 58c18f8df9 goodbye f746 (#2309) 2021-02-07 07:52:57 -06:00
GitHub build-firmware Action 14adde123b Auto-generated configs and docs 2021-02-07 13:48:13 +00:00
Matthew Kennedy 353929450a add cfg for lps25 (#2307)
* cfg field

* ui
2021-02-07 07:46:17 -06:00
Matthew Kennedy 63c9612602 implement lps25 (#2301)
* bb

* implement

* tweaks

* s

* comment, format

* guard

* implement lps25

* headers and comment

* sensor works

* headers

* guard

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-06 23:59:44 -06:00
GitHub build-firmware Action 6dd99d9d10 Auto-generated configs and docs 2021-02-07 01:56:30 +00:00
rusefillc 11e8a35c15 Trigger pattern request Škoda Favorit fix #2302 2021-02-06 20:53:30 -05:00
rusefillc 02c1fb8482 triggers 2021-02-06 20:29:32 -05:00
rusefillc dcebbfa223 triggers 2021-02-06 20:28:50 -05:00
rusefillc 4dc9c013c9 Trigger pattern request Škoda Favorit #2302 2021-02-06 20:12:58 -05:00
GitHub build-firmware Action 60630a5559 Auto-generated configs and docs 2021-02-07 00:52:02 +00:00
rusefillc 0948f92bd3 Merge remote-tracking branch 'origin/master' into master 2021-02-06 19:49:21 -05:00
rusefillc 50fc63a141 Trigger pattern request Škoda Favorit #2302 2021-02-06 19:49:02 -05:00
GitHub set-date Action d183cc24e4 Update date 2021-02-07 00:45:02 +00:00
Matthew Kennedy a5f269d733 implement bit-banged I2C driver (#2289)
* bb

* implement

* tweaks

* s

* comment, format

* guard

* headers and comment
2021-02-06 16:59:06 -06:00
David Holdeman 3ae34637b8 add info to 4S (#2300) 2021-02-06 16:06:25 -06:00
GitHub build-firmware Action c31db3ab77 Auto-generated configs and docs 2021-02-06 18:52:00 +00:00
Andrey G 0f47cff952 Add subaru eg33 (#2294)
* engine: Subaru SVX EG33 engine configuration

Not tested yet. Just basic settings and placeholder

* board: add Dron_Gus's Subaru EG33 p'n'p board

* board: subaru eg33: linker script: stack, bss and heap to ram0

* board: subaru eg33: add mapping.yaml

* board: subaru eg33: scripts for autogenerated

* board: subaru eg33: fix DMA conflict (ADC1 vs SPI5)

* board: subaru eg33: enable ADC3

* board: subaru eg33: Autogenerated

* board: subaru eg33: disable fsio control of Main Relay

Default MAIN_RELAY_LOGIC cause error during parsing

* board: subaru eg33: configuration hack to fix usbconsole.c

* gen_config: generate config for Subaru SVX board too
2021-02-06 12:50:34 -06:00
Andrey G 04c7ad67aa Some fixes prior to board pull request (#2291)
* ChibiOS: add support for STM32F765

This chip is used on Subaru EG33 p'n'p RusEFI board from Dron_Gus

* drivers: gpio: mc33810: commulative update

- use BIT macro
- fix wake-up method
- fix order of arguments in _add function

* port: stm32f4/7: detectCanDevice check for enabled interfaces only

* ADC: fix internal array size

internalAdcIndexByHardwareIndex should be EFI_ADC_LAST_CHANNEL size
couse adc_channel_e is used as index

* status LEDs: support status LEDs that driven by low level
2021-02-06 12:22:57 -05:00
rusefillc 4936b9fab3 reducing code duplication 2021-02-06 00:46:40 -05:00
rusefillc 83d8bd9369 H7 compilation #2284 2021-02-06 00:37:12 -05:00
rusefillc ecf4227ccd H7 compilation #2284 2021-02-06 00:28:38 -05:00
rusefillc 7c107a6551 reducing code duplication 2021-02-06 00:25:13 -05:00
rusefillc 0573d29b22 reducing code duplication 2021-02-06 00:18:47 -05:00
rusefillc 660b8e319d H7 compilation #2284 2021-02-06 00:07:05 -05:00
rusefillc 096c67b4de H7 compilation #2284 2021-02-05 23:57:28 -05:00
rusefillc 1a7c7ff983 reducing code duplication 2021-02-05 23:56:22 -05:00
rusefillc 7fe83b4da1 reducing code duplication 2021-02-05 23:45:47 -05:00
rusefillc 7962f8e501 reducing code duplication 2021-02-05 23:41:26 -05:00
rusefillc f51b81df59 Merge remote-tracking branch 'origin/master' into master 2021-02-05 23:37:35 -05:00
rusefillc 3be5714e94 H7 compilation #2284 2021-02-05 23:37:18 -05:00
David Holdeman 2848f203bc Fix doxygen (#2286)
* install graphviz to fix missing dot command

* try excludes

* can't use newline

* try

* add ChibiOS-Contrib
2021-02-05 23:09:02 -05:00
rusefillc a05ba83fc0 H7 compilation #2284 2021-02-05 22:46:04 -05:00
rusefillc bb7af93e66 let's build for h7 2021-02-05 22:29:23 -05:00
rusefillc 59efbf8833 code reuse good, code duplication bad 2021-02-05 22:19:24 -05:00
rusefillc c549a13c1f let's build for h7 2021-02-05 22:10:59 -05:00
rusefillc d824f3d12a let's build for h7 2021-02-05 21:37:33 -05:00
rusefillc 5afcb400a7 let's build for h7 2021-02-05 21:09:36 -05:00
rusefillc 1c51e06e35 let's build for h7 2021-02-05 20:58:34 -05:00
rusefillc 4009e87b18 let's build for h7 2021-02-05 20:25:01 -05:00
rusefillc 146738f776 let's build for h7 2021-02-05 20:18:47 -05:00
rusefillc 48adc90975 let's build for h7 2021-02-05 20:16:10 -05:00
rusefillc 79b035a7b0 that's a bit useless? 2021-02-05 20:14:52 -05:00
rusefillc 0fb3b37e31 let's build for h7 2021-02-05 20:14:29 -05:00
rusefillc bd76bdb0f0 Merge remote-tracking branch 'origin/master' into master 2021-02-05 20:00:55 -05:00
rusefillc f5483ab15a let's build for h7 2021-02-05 20:00:44 -05:00
GitHub set-date Action a1a67a7556 Update date 2021-02-06 00:42:44 +00:00
rusefillc 2b2c020582 hellen72b 2021-02-05 19:20:04 -05:00
rusefillc e190f261c4 Merge remote-tracking branch 'origin/master' into master 2021-02-05 19:17:52 -05:00
rusefillc 0b0d66ff04 Gather Nissan CAN data #2278 2021-02-05 19:17:22 -05:00
GitHub build-firmware Action 0651dc1a79 Auto-generated configs and docs 2021-02-05 23:21:55 +00:00
Matthew Kennedy 9b5fa40d16 add option to disable ETB if engine not spinning (#2280)
* config/ui

* trigger central mods

* implement
2021-02-05 17:19:57 -06:00
GitHub build-firmware Action e7900850c5 Auto-generated configs and docs 2021-02-05 16:29:43 +00:00
rusefillc f4592541dd Gather Nissan CAN data #2278 2021-02-05 11:27:51 -05:00
GitHub set-date Action 11f555940a Update date 2021-02-05 00:43:18 +00:00
Matthew Kennedy abb60a68c5 eliminate idle's custom applyPinState (#2273)
* remove

* not static
2021-02-04 17:04:37 -05:00
GitHub set-date Action 9798140584 Update date 2021-02-04 00:42:55 +00:00
GitHub build-firmware Action e1472e8cbf Auto-generated configs and docs 2021-02-03 19:36:47 +00:00
Matthew Kennedy 7fec313f50 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
rusefillc 9efedc0ece https://github.com/rusefi/rusefi/issues/2274 2021-02-03 11:37:47 -05:00
Matthew Kennedy 3cf6b67b87 fix #2269 (#2272)
* fix #2269

* cleanup
2021-02-03 08:04:22 -06:00
Matthew Kennedy 8d9db6b5c1 put vbatt in sensor model (#2261)
* vbatt in sensor model

* sensor name

* vbatt

* s

* oy vei

* a little bit of cleanup

* memory apparently

* cj125 test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 07:55:40 -06:00
GitHub set-date Action f1afc26c74 Update date 2021-02-03 00:45:57 +00:00
rusefillc 2bfac97f93 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-02 11:06:32 -05:00
rusefillc 4fc95cd9c4 Merge remote-tracking branch 'origin/master' into master 2021-02-02 09:50:37 -05:00
rusefillc 0f49d48a42 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-02 09:50:20 -05:00
GitHub build-firmware Action 11e2486f8f Auto-generated configs and docs 2021-02-02 14:17:30 +00:00
Brenton Hewitt 2ce14cb66e Gm map sensors (#2265)
* GM 2 and 1 Bar Map Sensors

* GM MAP Sensor Selection Options
2021-02-02 08:15:28 -06:00
Matthew Kennedy 7af3931032 hardware ci tweaks (#2266)
* frankenso config

* Revert "frankenso config"

This reverts commit 5bb2375ba2d33ae487273eaa5b7a4f12e8a9cecc.

* add hardware CI flag for proteus

* rename ci job

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-02 08:14:24 -06:00
rusefillc 782ae69cc3 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:44:14 -05:00
GitHub build-firmware Action 8ea531c129 Auto-generated configs and docs 2021-02-02 04:21:59 +00:00
rusefillc 168b62af0e GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:20:04 -05:00
rusefillc 6043d6d8f2 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:18:11 -05:00
GitHub build-firmware Action 7792248eb3 Auto-generated configs and docs 2021-02-02 03:52:46 +00:00
rusefillc 1cd6c161b8 Merge remote-tracking branch 'origin/master' into master 2021-02-01 22:50:11 -05:00
rusefillc ce62edb56b GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 22:49:49 -05:00
GitHub set-date Action 51db56998f Update date 2021-02-02 00:50:32 +00:00
David Holdeman 2a6efec24f Pinouts Improvements (#2263)
* redo pinout generation in ci script

* missing operand

* fix some errors

* copy yaml

* more bugs

* fix bug

* wait for image to load

* set background color for hover in dark theme

* add feature: click on rows to select pin

* change cursor to pointer

* undo accidental submodule bump

* oops
2021-02-01 17:31:36 -06:00
GitHub build-firmware Action c395b55399 Auto-generated configs and docs 2021-02-01 17:13:13 +00:00
rusefillc 9e878b05d5 spaces into multiplication 2021-02-01 12:11:00 -05:00
GitHub build-firmware Action 0501f582c1 Auto-generated configs and docs 2021-02-01 10:41:19 +00:00
rusefillc ca8fa7c56f M62T vanos support #2243 2021-02-01 05:39:25 -05:00
rusefillc e3c15d52db M62T vanos support #2243 2021-02-01 05:31:33 -05:00
rusefillc 1de48af73b M62T vanos support #2243 2021-02-01 00:42:53 -05:00
rusefillc b36f700924 Merge remote-tracking branch 'origin/master' into master 2021-02-01 00:25:43 -05:00
rusefillc 7fb7cc6679 extracting runtime state from trigger central 2021-01-31 22:41:17 -05:00
rusefillc 11aa253ae9 vvt/cam events to pass index 2021-01-31 22:24:45 -05:00
rusefillc 845ad4e53d trigger: exti: callback parameter is now index 2021-01-31 22:10:10 -05:00
rusefillc 1243225c07 code style 2021-01-31 22:02:01 -05:00
rusefillc b571feffac code style 2021-01-31 21:45:01 -05:00
GitHub set-date Action b03268a1fd Update date 2021-02-01 00:55:27 +00:00
GitHub build-firmware Action 4571ea4383 Auto-generated configs and docs 2021-01-31 22:21:02 +00:00
Matthew Kennedy ace0f4e78c Add fallback map table (#2248)
* table

* sd math

* config

* debug channel name

* ptr vs not ptr

* actually use return value

* memory

* less magic
2021-01-31 17:19:06 -05:00
Matthew Kennedy e22a9e9d02 -g3 to -g (#2256)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-31 14:13:55 -05:00
rusefillc 0b5d42a6fd #2260 2021-01-31 13:30:14 -05:00
rusefillc 4bdc41d723 typo 2021-01-31 12:27:26 -05:00
David Holdeman 46ac46f171 Connector images, hellen128 mapping (#2255)
* add some connector images

* proteus black23

* add script

* add black23 to script

* remove redirect to send to stdout

* copy img

* black35

* rotate white35

* white35

* forgot last row of black35

* rename

* create in subdir

* hellen72 main

* connectors subdir stupid

* undo submodule update

* remove hash signs

* add hellen128 image

* cd to script dir first

* hellen128 rough draft

* gen hellen128

* fix paths
2021-01-31 08:11:18 -05:00
GitHub set-date Action 5448bbba60 Update date 2021-01-31 00:55:10 +00:00
Matthew Kennedy 9d86488e07 USB reports real STM32 Serial Number (#2254)
* mpu util data

* implementation
2021-01-30 14:51:11 -05:00
GitHub set-date Action 995290ab5c Update date 2021-01-30 00:52:18 +00:00
rusefi b4ab11ddab Miata default config: "22 - AN temp 4" is PA3 not PA6? 2021-01-28 23:30:46 -05:00
rusefi fb592d3a0f removing weird stuff 2021-01-28 23:16:43 -05:00
rusefillc 527a51d195 Merge remote-tracking branch 'origin/master' into master 2021-01-28 20:43:39 -05:00
rusefillc f8f90cbffb No hablo inglés 2021-01-28 20:43:23 -05:00
GitHub set-date Action a3ee3e0bd5 Update date 2021-01-29 00:51:58 +00:00
rusefillc f6d001773c IGNORE_FLASH_CONFIGURATION 2021-01-28 19:40:51 -05:00
rusefillc 9cec794f27 IGNORE_FLASH_CONFIGURATION 2021-01-28 18:03:45 -05:00
rusefillc 3c62dfc39d mre_f4_recovery build 2021-01-28 17:46:49 -05:00
rusefillc 9922fdb043 Merge remote-tracking branch 'origin/master' into master 2021-01-27 22:58:20 -05:00
rusefillc d5f914f96a Hellen mapping #2235
fixing CLT mis-mapping
2021-01-27 22:58:06 -05:00
Matthew Kennedy cd03443dea 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 47e7fa4b12 Auto-generated configs and docs 2021-01-28 01:33:00 +00:00
Matthew Kennedy 654bf0d698 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 7fe85a75a1 Update date 2021-01-28 00:54:25 +00:00
GitHub build-firmware Action cbdc10653a Auto-generated configs and docs 2021-01-28 00:25:42 +00:00
rusefillc d702c96176 poke 2021-01-27 19:23:42 -05:00
rusefillc de5a98880a limp mode too good for bench testing #2244 2021-01-27 00:02:37 -05:00
GitHub build-firmware Action f001b1dfac Auto-generated configs and docs 2021-01-27 04:47:00 +00:00
rusefillc bdbe855ede naming consistency 2021-01-26 23:45:11 -05:00
GitHub build-firmware Action b7a45a271d Auto-generated configs and docs 2021-01-27 04:09:36 +00:00
rusefillc 48ebc6466e InstantRpm 2021-01-26 23:07:41 -05:00
rusefillc aa24ba3068 M62T vanos support #2243 2021-01-26 22:54:25 -05:00
GitHub build-firmware Action 6ef30972eb Auto-generated configs and docs 2021-01-27 02:58:44 +00:00
Matthew Kennedy c309d1a555 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 c0e9d2914b M62T vanos support #2243 2021-01-26 21:43:23 -05:00
rusefillc 9ce59f5da4 M62T vanos support #2243 2021-01-26 21:16:47 -05:00
GitHub build-firmware Action 07db5b3d67 Auto-generated configs and docs 2021-01-27 01:49:09 +00:00
rusefillc 001eece0a6 Merge remote-tracking branch 'origin/master' into master 2021-01-26 20:47:05 -05:00
rusefillc d1f1f6aab3 M62T vanos support #2243 2021-01-26 20:46:50 -05:00
GitHub set-date Action 5806958ceb Update date 2021-01-27 00:51:45 +00:00
GitHub set-date Action 78521eb695 Update date 2021-01-26 00:53:32 +00:00
rusefillc 2362467b60 Merge remote-tracking branch 'origin/master' into master 2021-01-25 00:31:02 -05:00
rusefillc cbca40dec0 fixing port I 2021-01-25 00:29:48 -05:00
GitHub set-date Action fdcae4a507 Update date 2021-01-25 01:28:32 +00:00
rusefillc ab12a4d187 Revert "FRANKENSO to use HAL_VSS_USE_PAL"
This reverts commit 7c66b535
2021-01-24 00:05:17 -05:00
rusefillc 7c66b535e5 FRANKENSO to use HAL_VSS_USE_PAL 2021-01-23 22:57:13 -05:00
GitHub set-date Action e972ba310b Update date 2021-01-24 01:29:28 +00:00
rusefillc 86cb26f9b1 https://github.com/rusefi/rusefi/pull/2236 by AlexHLinS 2021-01-23 20:08:57 -05:00
rusefillc 0ae7eed5be knock-knock 2021-01-23 00:00:34 -05:00
rusefillc fc15eb979b fixing port I 2021-01-22 23:31:21 -05:00
rusefillc fb03e1ff0e Merge remote-tracking branch 'origin/master' into master 2021-01-22 22:58:23 -05:00
GitHub set-date Action 1a7738a352 Update date 2021-01-23 01:27:52 +00:00
David Holdeman 8e2f6e57d8 Hellen mapping (#2235)
* convert hellen mapping.yaml

* remove mapping.yaml as it is not used
2021-01-22 16:51:02 -05:00
rusefillc 97ab1f8f24 Merge remote-tracking branch 'origin/master' into master 2021-01-22 12:03:30 -05:00
David Holdeman 928b8ce70a 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 9229ce66de Merge remote-tracking branch 'origin/master' into master 2021-01-22 02:09:51 -05:00
rusefillc 4fb0f6e5c3 Hellen72 2021-01-22 02:09:28 -05:00
GitHub build-firmware Action 25b0c3dc07 Auto-generated configs and docs 2021-01-22 07:04:05 +00:00
rusefillc 7f893c6159 Hellen72 2021-01-22 02:02:16 -05:00
GitHub build-firmware Action e479315b99 Auto-generated configs and docs 2021-01-22 06:58:13 +00:00
rusefillc 3a77f3cf8e knock9 2021-01-22 01:54:20 -05:00
rusefillc 8faa1602f7 HELLEN_NB2 2021-01-22 01:47:01 -05:00
rusefillc 673de10118 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 8e2b51ce15 Update date 2021-01-22 01:28:07 +00:00
andreika-git 5fbb1c6b5d 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 3f008a0f71 Update date 2021-01-21 01:29:32 +00:00
GitHub set-date Action da743a2ac1 Update date 2021-01-20 01:30:08 +00:00
Matthew Kennedy 42be7f9fc6 update wideband firmware image (#2232) 2021-01-19 16:51:05 -05:00
GitHub build-firmware Action 763f8dc4dd Auto-generated configs and docs 2021-01-19 21:13:15 +00:00
rusefillc b33faf5d22 viva v12 2021-01-19 16:09:34 -05:00
Andrey G 27905c6817 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 185699e678 ### 2021 Printing Ink Day 2021-01-19 15:19:31 -05:00
GitHub build-firmware Action 7b91eeb255 Auto-generated configs and docs 2021-01-19 04:05:31 +00:00
rusefi 56cec4fa1e SD card debug field 2021-01-18 23:03:24 -05:00
GitHub set-date Action cad2a9f807 Update date 2021-01-19 01:28:19 +00:00
GitHub build-firmware Action 7c25183972 Auto-generated configs and docs 2021-01-19 00:30:19 +00:00
rusefi 8ecbfd01b2 10k docs 2021-01-18 19:18:24 -05:00
rusefi 379d8751fe Merge remote-tracking branch 'origin/master' 2021-01-18 19:01:30 -05:00
rusefi c0abf52bd8 OMG we are not using java yet?! 2021-01-18 19:00:53 -05:00
GitHub build-firmware Action 133996f4df Auto-generated configs and docs 2021-01-18 23:56:32 +00:00
rusefi 4dcd8a6308 https://refactoring.com/catalog/replaceMagicLiteral.html 2021-01-18 18:54:18 -05:00
rusefi 0cc7cb8eb4 Revert "Save more space in the angle cache (#2228)"
This reverts commit 1800219e
2021-01-18 18:53:00 -05:00
GitHub build-firmware Action 3e1eaeab2e Auto-generated configs and docs 2021-01-18 23:50:26 +00:00
rusefi 7bda7c8618 Merge remote-tracking branch 'origin/master' 2021-01-18 18:44:43 -05:00
rusefi 82451b6fa3 https://refactoring.com/catalog/replaceMagicLiteral.html 2021-01-18 18:44:31 -05:00
Matthew Kennedy 1800219e44 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 189bd0ad37 Auto-generated configs and docs 2021-01-18 12:05:53 +00:00
Matthew Kennedy 4e6c841729 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 22e1a6e492 Update date 2021-01-18 01:26:13 +00:00
Andrey G d134fabc51 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 a294dfeadd save 1440 bytes (#2226) 2021-01-16 21:22:30 -05:00
GitHub set-date Action 8ef1d04ca6 Update date 2021-01-17 01:27:50 +00:00
Matthew Kennedy b047ec4f12 clean up some includes (#2227)
* cleanup

* make c happy
2021-01-16 09:45:45 -05:00
GitHub set-date Action 1298f1c031 Update date 2021-01-16 01:27:41 +00:00
rusefillc e722f52d39 journey of self discovery 2021-01-14 23:34:10 -05:00
rusefillc c6528313fc DBGMCU->IDCODE 2021-01-14 23:19:54 -05:00
rusefillc b2dedddc1b todo: reduce magic constants 2021-01-14 22:34:06 -05:00
rusefillc 007e926814 Merge remote-tracking branch 'origin/master' into master 2021-01-14 22:20:24 -05:00
Matthew Kennedy 5bfee13c21 fix instant rpm (#2180)
* consumers

* impl

* instant rpm in idle timing
2021-01-14 20:45:55 -05:00
GitHub set-date Action a45395041a Update date 2021-01-15 01:26:19 +00:00
Matthew Kennedy d534a00d5f make fuel math look more like ign math (#2214) 2021-01-14 19:18:30 -05:00
GitHub set-date Action 07bb157e81 Update date 2021-01-14 01:29:36 +00:00
GitHub set-date Action d899150182 Update date 2021-01-13 01:21:01 +00:00
rusefillc 89997f62d0 Merge remote-tracking branch 'origin/master' into master 2021-01-12 15:54:06 -05:00
rusefillc 2e446a9aa5 Main Relay bench test button 2021-01-11 20:39:47 -05:00
GitHub set-date Action df90404fce Update date 2021-01-12 01:14:10 +00:00
rusefillc 33e2e3707a cmd_test_main_relay
helping build
2021-01-11 20:01:20 -05:00
rusefillc 70f337868a todo EFI_MAIN_RELAY_CONTROL 2021-01-11 19:48:38 -05:00
rusefillc e15faa8696 cmd_test_main_relay 2021-01-11 19:37:50 -05:00
rusefillc 65e07a05ba Merge remote-tracking branch 'origin/master' into master 2021-01-11 17:11:03 -05:00
rusefillc 1635d5dabf probably false alarm, but this area needs a clean-up 2021-01-11 14:17:35 -05:00
Andrey G 052e2e558b Supress annoing unused warnings (#2216) 2021-01-11 08:49:20 -05:00
Matthew Kennedy c870215c46 part of 2217 which may fix it alone (#2220) 2021-01-11 08:01:54 -05:00
Matthew Kennedy b32e9ecb4a 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 dcc1d7ad01 nb2 and proteus usability 2021-01-11 01:17:03 -05:00
Matthew Kennedy d4965d16f3 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 ce68d9042f cmd_test_main_relay 2021-01-10 23:58:09 -05:00
GitHub build-firmware Action 3c84f07e91 Auto-generated configs and docs 2021-01-11 04:48:37 +00:00
rusefillc 5e1a94ef1e cmd_test_main_relay 2021-01-10 23:46:50 -05:00
GitHub build-firmware Action b64a920658 Auto-generated configs and docs 2021-01-11 01:36:06 +00:00
rusefillc dff1334c28 cmd_test_main_relay 2021-01-10 20:30:08 -05:00
rusefillc 36a143ca90 Merge remote-tracking branch 'origin/master' into master 2021-01-10 20:25:16 -05:00
GitHub set-date Action 2308c9614c Update date 2021-01-11 01:11:57 +00:00
rusefi 6ac9888425 cmd_test_main_relay 2021-01-10 20:11:46 -05:00
rusefi fcc49918f9 vvt knock 2021-01-10 18:57:27 -05:00
rusefillc 2fcf87728f Migrate to newer ChibiOS #710 2021-01-10 12:30:10 -05:00
GitHub build-firmware Action 5ba07c47fd Auto-generated configs and docs 2021-01-10 15:16:52 +00:00
shadowm60 d415c3b790 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 934e29eacc Auto-generated configs and docs 2021-01-10 13:14:51 +00:00
Matthew Kennedy 3daa7d4d9a 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 30e146ec29 Update date 2021-01-10 01:13:38 +00:00
GitHub build-firmware Action d0eb49cda0 Auto-generated configs and docs 2021-01-10 01:08:07 +00:00
rusefillc 6fef10bd6d Revert "Revert "rpm rate of change (#2159)""
This reverts commit d3c49578
2021-01-09 20:06:19 -05:00
GitHub build-firmware Action 4104f47e20 Auto-generated configs and docs 2021-01-10 00:49:08 +00:00
rusefillc d3c49578b7 Revert "rpm rate of change (#2159)"
This reverts commit eecb7ce9

#2207 yes, this makes no sense but just to confirm
2021-01-09 19:45:07 -05:00
rusefillc 5eeb48be51 cherry pick from https://github.com/dron0gus/rusefi/tree/ChibiOS-20 2021-01-09 19:15:50 -05:00
rusefillc 5b7a59928a cherry pick from https://github.com/dron0gus/rusefi/tree/ChibiOS-20 2021-01-09 18:55:58 -05:00
rusefillc 3747292782 Migrate to newer ChibiOS #710 2021-01-09 18:34:45 -05:00
rusefillc 3ddcb2ec17 Migrate to newer ChibiOS #710 2021-01-09 18:10:56 -05:00
rusefillc 4f0c19f2b0 Migrate to newer ChibiOS #710 2021-01-09 18:05:32 -05:00
rusefillc cecdecbb6c Migrate to newer ChibiOS #710 2021-01-09 18:03:32 -05:00
rusefillc ef44f47d5b Lcd fix (I hope) #2211
there is still an issue :(
2021-01-09 17:30:39 -05:00
Andrey G 75098a0d4b 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 9c12c4dd44.
2021-01-09 17:16:10 -05:00
Matthew Kennedy 9fc02afe4a fix (#2209) 2021-01-09 16:51:24 -05:00
rusefillc 9c12c4dd44 dron0gus please help 2021-01-09 15:31:09 -05:00
Matthew Kennedy aaad4d758c 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 23b1198bb0 Auto-generated configs and docs 2021-01-09 19:15:01 +00:00
David Holdeman 7bf5dce671 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 3686f16783 Auto-generated configs and docs 2021-01-09 16:25:47 +00:00
rusefillc 554dec7a05 Hellen 2021-01-09 11:24:13 -05:00
GitHub set-date Action 084de27ebe Update date 2021-01-09 01:09:57 +00:00
Andrey G b61ae75fe2 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 b4c5c2dfef update biquad (#2201) 2021-01-08 19:48:56 -05:00
GitHub build-firmware Action d8ab72054d Auto-generated configs and docs 2021-01-08 18:43:44 +00:00
rusefillc 129641b66b poke 2021-01-08 13:39:53 -05:00
rusefillc 9bcc50c1d9 hellen72 2021-01-08 13:22:59 -05:00
GitHub build-firmware Action b2f91c0559 Auto-generated configs and docs 2021-01-08 18:11:13 +00:00