Commit Graph

5837 Commits

Author SHA1 Message Date
GitHub build-firmware Action 8839056018 Auto-generated configs and docs 2021-02-20 01:50:25 +00:00
GitHub set-date Action e37e166315 Update date 2021-02-20 00:44:01 +00:00
GitHub build-firmware Action 576a194d1d Auto-generated configs and docs 2021-02-19 22:52:43 +00:00
GitHub build-firmware Action 508982d4ab Auto-generated configs and docs 2021-02-19 22:03:28 +00:00
GitHub build-firmware Action 670c34ca11 Auto-generated configs and docs 2021-02-19 13:00:43 +00:00
GitHub build-firmware Action 7808449263 Auto-generated configs and docs 2021-02-19 12:42:54 +00:00
GitHub set-date Action 277904e8eb Update date 2021-02-19 00:53:52 +00:00
GitHub build-firmware Action 260aa6e333 Auto-generated configs and docs 2021-02-18 23:20:11 +00:00
GitHub build-firmware Action 30e7a655dc Auto-generated configs and docs 2021-02-18 22:36:03 +00:00
GitHub build-firmware Action 1c6e33f089 Auto-generated configs and docs 2021-02-18 22:09:39 +00:00
GitHub build-firmware Action 4ca8037178 Auto-generated configs and docs 2021-02-18 21:18:58 +00:00
GitHub build-firmware Action 68780d39af Auto-generated configs and docs 2021-02-18 20:06:38 +00:00
GitHub build-firmware Action 8a02dcd7ef Auto-generated configs and docs 2021-02-18 05:13:23 +00:00
rusefillc b00a05aa17 aux valve to CI 2021-02-18 00:11:10 -05:00
GitHub build-firmware Action f6659cdff4 Auto-generated configs and docs 2021-02-18 04:52:54 +00:00
GitHub build-firmware Action 555080bb73 Auto-generated configs and docs 2021-02-18 04:34:52 +00:00
Matthew Kennedy 321fe48b27 rework FSIO LEelement (#2374)
* save

* firmware

* test parsing multiple things

* split tests
2021-02-17 23:32:44 -05:00
GitHub build-firmware Action 56792280ae Auto-generated configs and docs 2021-02-18 01:27:52 +00:00
GitHub build-firmware Action f7bf1856cd Auto-generated configs and docs 2021-02-18 00:44:07 +00:00
GitHub build-firmware Action c7168d9792 Auto-generated configs and docs 2021-02-18 00:31:12 +00:00
GitHub build-firmware Action 2c318835f6 Auto-generated configs and docs 2021-02-17 22:46:18 +00:00
rusefi b9f8978c22 no one expects to make FSIO progress 2021-02-17 10:53:35 -05:00
rusefillc 3354691778 trying to fix AuxValves 2021-02-17 08:57:18 -05:00
rusefillc 95b78a48ed aux to vvt rename 2021-02-17 08:53:39 -05:00
GitHub set-date Action 1aa105a766 Update date 2021-02-17 00:44:00 +00:00
GitHub build-firmware Action 6b22b11d48 Auto-generated configs and docs 2021-02-16 22:27:43 +00:00
Matthew Kennedy 55facb6613 use DECLARE_ENGINE_PTR for Engine class (#2365)
* engine cleanup

* do the cleanup

* one last spot

* expand_engine noop for firmware

* simulator
2021-02-16 16:58:54 -05:00
GitHub build-firmware Action 447ab1f4a5 Auto-generated configs and docs 2021-02-16 21:10:43 +00:00
GitHub build-firmware Action 82d7354d6a Auto-generated configs and docs 2021-02-16 16:16:51 +00:00
Matthew Kennedy dbebc353a2 remove unused msg parameter (#2360)
* dead parameter

* last few
2021-02-16 09:32:16 -05:00
GitHub build-firmware Action ba52adc205 Auto-generated configs and docs 2021-02-16 03:04:34 +00:00
GitHub set-date Action 196845c10f Update date 2021-02-16 00:44:01 +00:00
Matthew Kennedy c75af2ac75 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 9c18e0151f Auto-generated configs and docs 2021-02-15 03:38:10 +00:00
GitHub set-date Action df1b9aab05 Update date 2021-02-15 00:44:26 +00:00
GitHub set-date Action 947dcbcc20 Update date 2021-02-14 00:45:36 +00:00
rusefillc 5f964aa9dd Gather Nissan CAN data #2278
one step back
2021-02-13 09:32:45 -05:00
rusefillc 2d68405d96 Gather Nissan CAN data #2278 2021-02-12 23:07:21 -05:00
GitHub build-firmware Action adbaa27eea Auto-generated configs and docs 2021-02-13 01:50:56 +00:00
rusefillc 8d74b26beb Gather Nissan CAN data #2278 2021-02-12 20:47:12 -05:00
GitHub build-firmware Action b120d4a8dc Auto-generated configs and docs 2021-02-13 01:43:05 +00:00
GitHub build-firmware Action 1bad7f3e69 Auto-generated configs and docs 2021-02-13 01:30:02 +00:00
GitHub set-date Action 92b0b8d47b Update date 2021-02-13 00:43:49 +00:00
GitHub set-date Action babd74acd8 Update date 2021-02-12 00:43:44 +00:00
rusefi 94ea5a8ecc M62T vanos support #2243 2021-02-10 22:20:17 -05:00
GitHub build-firmware Action 33db7786d0 Auto-generated configs and docs 2021-02-11 02:49:50 +00:00
rusefillc b79fb2ac5f M62T vanos support #2243 2021-02-10 21:44:21 -05:00
GitHub build-firmware Action 20252d0c79 Auto-generated configs and docs 2021-02-11 01:23:22 +00:00
rusefillc dcbcd21964 Merge remote-tracking branch 'origin/master' into master 2021-02-10 19:51:27 -05:00
rusefillc 8d730b6ea9 M62T vanos support #2243 2021-02-10 19:51:14 -05:00
GitHub set-date Action 703547ff74 Update date 2021-02-11 00:43:33 +00:00
GitHub build-firmware Action a283051a49 Auto-generated configs and docs 2021-02-10 23:57:38 +00:00
rusefillc f312c9ab94 M62T vanos support #2243
need a bit of RAM
2021-02-10 13:31:39 -05:00
rusefi 6c9416daa9 aux pid is now VVT 2021-02-10 12:41:38 -05:00
GitHub build-firmware Action bd441017ea Auto-generated configs and docs 2021-02-10 17:26:25 +00:00
Matthew Kennedy a3d0b61cf1 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 set-date Action f27b4ba4e0 Update date 2021-02-10 00:42:28 +00:00
GitHub build-firmware Action 9e31ea8abb Auto-generated configs and docs 2021-02-09 19:01:08 +00:00
rusefillc 5b47578f3b M62T vanos support #2243 2021-02-09 09:40:08 -05:00
rusefillc 1539bb56ed Merge remote-tracking branch 'origin/master' into master 2021-02-09 00:34:32 -05:00
rusefillc e1f5fff949 M62T vanos support #2243
RAM everything takes a bit of RAM
2021-02-09 00:29:04 -05:00
GitHub build-firmware Action 6a37d337af Auto-generated configs and docs 2021-02-09 05:26:52 +00:00
rusefillc 9dcc54644d M62T vanos support #2243
RAM everything takes a bit of RAM
2021-02-09 00:08:00 -05:00
GitHub build-firmware Action 1ae2b1220a Auto-generated configs and docs 2021-02-09 04:49:57 +00:00
GitHub build-firmware Action 9147c77ec3 Auto-generated configs and docs 2021-02-09 04:23:45 +00:00
rusefillc d0a5cb6e38 M62T vanos support #2243 2021-02-08 22:30:02 -05:00
rusefillc 654a739e6b M62T vanos support #2243 2021-02-08 22:21:02 -05:00
rusefillc f5816e47fd Merge remote-tracking branch 'origin/master' into master 2021-02-08 22:09:13 -05:00
rusefillc dc79ee1511 M62T vanos support #2243 2021-02-08 22:07:14 -05:00
GitHub build-firmware Action f99dd454e6 Auto-generated configs and docs 2021-02-09 02:52:50 +00:00
rusefillc 8fa1a6530b M62T vanos support #2243 2021-02-08 21:50:31 -05:00
rusefi d39b285834 M62T vanos support #2243 2021-02-08 21:28:57 -05:00
rusefi 1012b61e02 M62T vanos support #2243 2021-02-08 20:38:38 -05:00
GitHub set-date Action ab53458188 Update date 2021-02-09 00:43:35 +00:00
rusefi 2ccb75a064 refactoring: naming consistency 2021-02-08 18:20:53 -05:00
rusefi 4b8a92ccc9 M62T vanos support #2243 2021-02-08 18:08:26 -05:00
rusefillc f1e80a2761 M62T vanos support #2243 2021-02-08 16:42:53 -05:00
GitHub build-firmware Action 78df36bad7 Auto-generated configs and docs 2021-02-08 21:41:57 +00:00
Matthew Kennedy 8cc6ef83f9 h7 flash, guard against no CAN (#2317)
* h7 flash

* guard some other stuff

* I guess it just builds now?

* maybe ci too
2021-02-08 16:24:38 -05:00
rusefi d05edd2a3d M62T vanos support #2243 2021-02-08 16:16:26 -05:00
GitHub build-firmware Action f742080a6f Auto-generated configs and docs 2021-02-08 20:31:34 +00:00
rusefillc 694dedf9f7 M62T vanos support #2243 2021-02-08 15:09:12 -05:00
GitHub build-firmware Action 9a66504e1e Auto-generated configs and docs 2021-02-08 19:13:25 +00:00
rusefillc c020aed330 M62T vanos support #2243 2021-02-08 14:10:57 -05:00
Andrey 12fc068316 poke 2021-02-08 10:49:15 -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
GitHub build-firmware Action 14adde123b Auto-generated configs and docs 2021-02-07 13:48:13 +00: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 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
GitHub set-date Action d183cc24e4 Update date 2021-02-07 00:45:02 +00: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 096c67b4de H7 compilation #2284 2021-02-05 23:57:28 -05:00
rusefillc 3be5714e94 H7 compilation #2284 2021-02-05 23:37:18 -05:00
GitHub set-date Action a1a67a7556 Update date 2021-02-06 00:42:44 +00: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
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 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
GitHub build-firmware Action c395b55399 Auto-generated configs and docs 2021-02-01 17:13:13 +00:00
GitHub build-firmware Action 0501f582c1 Auto-generated configs and docs 2021-02-01 10:41:19 +00: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
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
rusefillc 0b5d42a6fd #2260 2021-01-31 13:30:14 -05:00
rusefillc 4bdc41d723 typo 2021-01-31 12:27:26 -05:00
GitHub set-date Action 5448bbba60 Update date 2021-01-31 00:55:10 +00:00
GitHub set-date Action 995290ab5c Update date 2021-01-30 00:52:18 +00:00
GitHub set-date Action a3ee3e0bd5 Update date 2021-01-29 00:51:58 +00: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
GitHub build-firmware Action f001b1dfac Auto-generated configs and docs 2021-01-27 04:47:00 +00:00
GitHub build-firmware Action b7a45a271d Auto-generated configs and docs 2021-01-27 04:09:36 +00: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
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
GitHub set-date Action fdcae4a507 Update date 2021-01-25 01:28:32 +00:00
GitHub set-date Action e972ba310b Update date 2021-01-24 01:29:28 +00:00
rusefillc 0ae7eed5be knock-knock 2021-01-23 00:00:34 -05:00
GitHub set-date Action 1a7738a352 Update date 2021-01-23 01:27:52 +00: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 8faa1602f7 HELLEN_NB2 2021-01-22 01:47:01 -05:00
GitHub set-date Action 8e2b51ce15 Update date 2021-01-22 01:28:07 +00: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
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
GitHub build-firmware Action 7b91eeb255 Auto-generated configs and docs 2021-01-19 04:05:31 +00: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
GitHub build-firmware Action 133996f4df Auto-generated configs and docs 2021-01-18 23:56:32 +00: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
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 b2dedddc1b todo: reduce magic constants 2021-01-14 22:34:06 -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
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 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
GitHub set-date Action 2308c9614c Update date 2021-01-11 01:11:57 +00:00
GitHub build-firmware Action 5ba07c47fd Auto-generated configs and docs 2021-01-10 15:16:52 +00: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
Matthew Kennedy 9fc02afe4a fix (#2209) 2021-01-09 16:51:24 -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
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
GitHub build-firmware Action d8ab72054d Auto-generated configs and docs 2021-01-08 18:43:44 +00: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
GitHub build-firmware Action f8025ea58a Auto-generated configs and docs 2021-01-08 17:51:57 +00:00
andreika-git 3dac7599c4 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 b8cab765b8 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 7fe6421669 Update date 2021-01-08 01:09:32 +00:00
GitHub build-firmware Action 9f16370f52 Auto-generated configs and docs 2021-01-07 13:25:37 +00:00
Matthew Kennedy 54a7d32467 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 f0b6824021 Auto-generated configs and docs 2021-01-07 13:08:14 +00:00
Matthew Kennedy 86d3746453 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
GitHub set-date Action 81be487211 Update date 2021-01-07 01:10:03 +00:00
Andrey G f962a7bd64 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 58eb4ed22f Auto-generated configs and docs 2021-01-06 19:42:58 +00:00
rusefillc 42573f1ed2 TS bench test trans solenoid buttons #2191
more fix
2021-01-06 14:16:45 -05:00
rusefillc a6fe108ee7 TS bench test trans solenoid buttons #2191
more fix
2021-01-06 14:04:37 -05:00
GitHub build-firmware Action 48968cae7f Auto-generated configs and docs 2021-01-06 18:57:58 +00:00
rusefillc 7bc13d1860 TS bench test trans solenoid buttons #2191
fix?
2021-01-06 13:55:57 -05:00
GitHub build-firmware Action 9e20a3aafe Auto-generated configs and docs 2021-01-06 18:49:08 +00:00
GitHub build-firmware Action 28920876ad Auto-generated configs and docs 2021-01-06 03:32:28 +00:00
David Holdeman 3aaa461132 TS bench test trans solenoid buttons (#2191)
* maybe

* semicolon stupid

* whoops

* whoops 2
2021-01-05 22:30:38 -05:00
GitHub set-date Action a6efd7cd8d Update date 2021-01-06 01:06:01 +00:00
Matthew Kennedy 56b4d87fcd generate triggers.txt from parametric test (#2186)
* add new test

* comment

* remove old

* main cleanup

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 17:58:34 -05:00
Matthew Kennedy d8ebf58f0d Implement flex sensor (#2189)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

* add sensor & init

* clamp

* update comment

* filter the resultant signal

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 17:13:56 -05:00
GitHub build-firmware Action 56bcf74046 Auto-generated configs and docs 2021-01-05 21:32:00 +00:00
Matthew Kennedy 8608df5450 flex fuel AFR interpolation (#2190)
* config

* implement flex

* secondary fuel default

* test

* test works

* rename

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 16:27:23 -05:00
Andrey G 71fe582ce5 Adc isAdcChannelValid helper (#2188)
* Guard define argument

* ADC: isAdcChannelValid

Check for both <= EFI_ADC_NONE and >= EFI_ADC_LAST_CHANNEL
Also check for value out of enum range (corrupted settings)

* Fix unit tests
2021-01-05 16:02:20 -05:00
GitHub build-firmware Action 0cab1f9374 Auto-generated configs and docs 2021-01-05 12:59:14 +00:00
Matthew Kennedy eba6ae2e8f Flex fuel stubs (#2187)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 07:57:26 -05:00
GitHub build-firmware Action 7eae69faaf Auto-generated configs and docs 2021-01-05 04:52:50 +00:00
rusefillc 28e975b096 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:44:31 -05:00
rusefillc 3ed2cdcc72 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:34:19 -05:00