Commit Graph

5539 Commits

Author SHA1 Message Date
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