Commit Graph

6348 Commits

Author SHA1 Message Date
GitHub set-date Action 9a1ad49e7b Update date 2021-04-05 01:05:40 +00:00
GitHub build-firmware Action eb65a49b3b Auto-generated configs and docs 2021-04-05 00:01:45 +00:00
Andrey G fa840a7593
hip9011 and friends (#2527)
* engine math: extrant getFiringOrderTable for reuse

* engine math: getNextFiringCylinderId helper

* introduce knock_logic: first member is getCylinderKnockBank()

moved from software_knock.cpp

* hip9011: support two inputs/banks

* fix CI

* Board Subaru EG33: populated with TPIC8101 with Advanced mode

* hip9011: test communication in advanced mode

* hip9011: handle situation when chip is already in advanced mode

* Board Subaru EG33: cylinder to knock bank mapping

* hip9011: count spi transactions in advansed mode too

* hip9011: reset incalid responce counter after chip initialization

* hip9011: make debug output more structured
2021-04-04 18:13:21 -04:00
rusefillc 2b094849c5 linking error on jenkins and Andrey's windows desktop fix #2520 2021-04-03 23:34:56 -04:00
GitHub set-date Action 23a2e75900 Update date 2021-04-04 01:05:14 +00:00
GitHub build-firmware Action e12ef51bb5 Auto-generated configs and docs 2021-04-04 00:31:15 +00:00
GitHub set-date Action 4113f1e86a Update date 2021-04-03 01:01:42 +00:00
GitHub set-date Action eb8de5bfdd Update date 2021-04-02 01:10:09 +00:00
Matthew Kennedy 17a3ab4cb3
aux temp (#2515) 2021-03-31 22:54:59 -04:00
Matthew Kennedy c637307238
not all listeners are sensors (#2514)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-31 22:51:49 -04:00
GitHub set-date Action e2b1195b56 Update date 2021-04-01 01:03:41 +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 set-date Action 27d2e42543 Update date 2021-03-31 00:57:56 +00:00
Andrey G 3d138958ce
Hip9011 (#2512)
* hip9011: coexistance with other spi devices

* hip9011: rework so SPI transfer is invoked from thread

also use polling spi exchange to avoid cache problems

* hip9011: move calculations from ADC callback to thread

* hip9011: big cleanup

* hip9011: simplify spi communication

* No need to set knockBandCustom if it is not custom

HIP9011 calculates knockBand from cylinderBore same way

* hip9011: make unit test happy

* hip9011: fix unit test

* hip9011: remove duplicated initialization, reorder

* hip9011: just renames and data type adjustments

* hip9011: rename BAND() to HIP9011_BAND()

* hip9011: move some code from lookup.cpp to logic.cpp

* hip9011: move initEngineNoiseTable to engine_configuration.cpp

* hip9011: move lookup tables to hip9011_logic.c

* hip9011: remove empty files

* hip9011: additional checks
2021-03-30 10:56:25 -04:00
Matthew Kennedy 523bef2eb6
fix (#2511) 2021-03-30 07:28:22 -04:00
GitHub set-date Action 525a607e24 Update date 2021-03-30 01:00:14 +00:00
GitHub build-firmware Action d2df6f9675 Auto-generated configs and docs 2021-03-29 13:06:35 +00:00
Matthew Kennedy f05b8ba675
More gppwm and fsio (#2509)
* gppwm aux temp

* fsio fuel flow rate and oil pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-29 08:57:37 -04:00
GitHub set-date Action bc1a112f37 Update date 2021-03-29 01:03:37 +00: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
Matthew Kennedy 8b3aa6c40d
goodbye ignitionOffset (#2503)
* remove

* set the timing map to do what the offset used to do

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:00:09 -04:00
GitHub set-date Action 5b0a1eef7e Update date 2021-03-28 01:01:53 +00:00
GitHub build-firmware Action 9b6fdc823c Auto-generated configs and docs 2021-03-27 23:02:46 +00:00
Andrey G bbe3291ccd
hip9011: get callback from spark on each cylinder (#2499)
* hip9011: get callback from spark on each cylinder

* hip9011: cleanup unused
2021-03-27 14:12:49 -04:00
GitHub set-date Action c38f4b5fe6 Update date 2021-03-27 01:00:23 +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 set-date Action e7078a8570 Update date 2021-03-26 00:53:17 +00:00
Matthew Kennedy cd21d91a79
write flash on separate thread for H7 (#2490)
* write flash on separate thread for H7

* cleanup

* getting the parameters in the correct order generally helps

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 18:44:41 -04:00
Matthew Kennedy 6491c83f73
read configuration from flash exactly once (#2481)
* early hw init

* s

* read configuration exactly once

* cleanup

* housekeeping

* test friendly

* ugh bad merge

* that is a noop

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 18:16:26 -04:00
Matthew Kennedy 31ef22eecb
use cpp (#2493) 2021-03-25 18:12:17 -04:00
Matthew Kennedy 1c473934b9
plumbing for multiple vvt (#2488)
* plumb multiple vvt

* fix test

* s

* fix barra while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 07:39:23 -04:00
GitHub set-date Action 7a0b43a255 Update date 2021-03-25 00:29:25 +00:00
GitHub set-date Action a4a4381c40 Update date 2021-03-24 00:49:15 +00: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
GitHub set-date Action d1ff1d35c1 Update date 2021-03-23 00:48:35 +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
Matthew Kennedy 5e88376e2c
barra vvt cam pattern (#2483)
* barra vvt cam pattern

* two tooth sync

* I think this needs to be here too
2021-03-22 07:48:29 -04:00
GitHub set-date Action 00816dd534 Update date 2021-03-22 00:49:10 +00:00
GitHub set-date Action 37b3f45160 Update date 2021-03-21 00:51:23 +00:00
rusefillc b90dfd5414 time_since_boot should be used in MAIN_RELAY_LOGIC #2258
safer implementation for now
2021-03-20 12:47:02 -04:00
Andrey G 89b631a794
Hip9011 and cleanups (#2477)
* hip9011: move hipCs out of EnginePins to hip9011 driver

* hip9011: cleanup debug output, save few RAM bytes

* Supress few signed vs unsigned warnings
2021-03-20 08:40:36 -04:00
GitHub set-date Action a768a2ae47 Update date 2021-03-20 00:48:31 +00:00
GitHub build-firmware Action fac82ed2fe Auto-generated configs and docs 2021-03-19 21:20:54 +00:00
Matthew Kennedy 650d148008
Usable fuel consumption data/gauges (#2474)
* fuel consumption

* gauge names

* consumers

* obd

* binary logging

* doesn't need explicit constructor

* getters

* it works

* correct for injections per cycle

* datalog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
GitHub build-firmware Action b0948589ac Auto-generated configs and docs 2021-03-19 12:41:10 +00:00
Matthew Kennedy 95b08c433f
Implement nonlinear fuel level sender (#2473)
* table function

* config fields

* sensor type

* switch consumers

* init the sensor

* ui

* 1mv resolution

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 08:39:08 -04:00
GitHub set-date Action 5a2cc14a46 Update date 2021-03-19 00:49:12 +00:00
Matthew Kennedy 57a26a7a76
fix (#2471) 2021-03-18 04:02:32 -04:00
GitHub set-date Action 16c5ba4757 Update date 2021-03-18 00:48:10 +00:00
Matthew Kennedy be70524ced
harden against various no-boot scenarios (#2468)
* zero length trigger

* validate config

* validate cylinder count

* wrong type on cylinder count

* invalid comment

* invalid SPI
2021-03-17 09:24:13 -04:00
GitHub set-date Action e0fae16fb5 Update date 2021-03-17 00:48:26 +00:00
GitHub set-date Action c1d07f99ec Update date 2021-03-16 00:47:02 +00:00
Matthew Kennedy 3072d54717
dead code, warnings (#2461) 2021-03-15 10:23:19 -04:00
Matthew Kennedy a9c8b39dac
set 50% target for ETB autotune (#2459)
* 50% target for autotne

* pass target in

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-15 08:54:55 -04:00
GitHub set-date Action 481e060586 Update date 2021-03-15 00:48:29 +00:00
Matthew Kennedy 1dd2180f76
VVT uses closed loop controller framework (#2453)
* vvt uses framework

* builds

* rename, update headers

* s

* testable

* write some basic tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-14 19:31:46 -04:00
rusefillc ef65c01a40 VAG MQB 2021-03-14 17:40:33 -04:00
GitHub build-firmware Action ee5e73b446 Auto-generated configs and docs 2021-03-14 21:30:08 +00:00
rusefillc 72aa619353 VAG MQB 2021-03-14 17:27:26 -04:00
GitHub build-firmware Action 426eed50c4 Auto-generated configs and docs 2021-03-14 21:22:47 +00:00
Matthew Kennedy 831d272be3
Add set wideband index buttons (#2455)
* update wideband firmware

* implement index set

* bench test, error on failure

* guard wideband
2021-03-14 17:20:50 -04:00
Matthew Kennedy b56a31143e
fix error/warning buffer overflow (#2456)
* fix error printing overflow

* make the worst offender shorter

* error as warning

* these don't need that flag set
2021-03-14 09:31:11 -04:00
GitHub set-date Action 0b56cad228 Update date 2021-03-14 00:50:10 +00:00
Matthew Kennedy 2328c1be6b
Fuel pressure sensor checks (#2449)
* test for missing sensor

* test negative pressure delta checking logic

* test new hasSensor logic
2021-03-12 23:32:41 -05: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 set-date Action 29981cc0b9 Update date 2021-03-13 00:46:26 +00:00
GitHub build-firmware Action aba69aa4a7 Auto-generated configs and docs 2021-03-12 05:18:18 +00:00
Matthew Kennedy b087f328f7
default config, UI tweaks (#2444)
* s

* fix this while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-12 00:16:24 -05:00
rusefillc 16b8fb64ca vBatt -> SensorType::vBatt fix #2260 2021-03-11 23:07:18 -05:00
rusefillc d650271077 vBatt -> SensorType::vBatt #2260 2021-03-11 22:52:34 -05:00
rusefillc c7d8997a3a vBatt -> SensorType::vBatt #2260 2021-03-11 22:44:59 -05:00
rusefillc b8de6388cf Merge remote-tracking branch 'origin/master' into master 2021-03-11 22:44:11 -05:00
rusefillc 0c293384dd my bad 2021-03-11 22:42:59 -05:00
GitHub set-date Action 5a25ba7869 Update date 2021-03-12 00:47:42 +00:00
rusefillc f070382d6c "onTime above limit %dus", TOO_FAR_INTO_FUTURE_US 2021-03-11 14:05:15 -05:00
GitHub build-firmware Action fc918ddd02 Auto-generated configs and docs 2021-03-11 13:40:39 +00:00
Matthew Kennedy e0763c6994
stop trigger emulator PWM when disabled (#2443)
* simplify trig emulator

* spelling is hard

* fix various builds

* spelling again

* add command/button for external stimulation

* enable hw stim for HW-in-loop test

* s

* I does spelling good

* clear flag when disabled

* generate enough for console build

* don't disable that

* this test needs external stimulation enabled

* import

* ui improvements

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-11 08:38:52 -05:00
GitHub set-date Action ecf0e9762f Update date 2021-03-11 00:48:02 +00:00
Matthew Kennedy 208088847b
accurate bench test (#2441)
* accurate bench test

* allow shorter pulses
2021-03-10 17:30:13 -05:00
GitHub set-date Action 112aa4f57f Update date 2021-03-10 00:47:24 +00:00
Matthew Kennedy 40c4238f13
enable CAN on H7 (#2393)
* enable

* guard correctly

* h7 bit timing

* allow longer frames

* allow data smaller than maximum

* mcu temperature

* typo

* tx message

* testing

* check for CAN or FDCAN

* don't need that any more

* h7 bitrate config

* undo testing

* h7-ify msg tx

* comment

* break out SID/EID macros

* guard differently

* update ChibiOS

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-09 18:54:01 -05:00
Matthew Kennedy 990c3649ae
logging cleanup before refactor (#2438)
* minor cleanup

* more cleaning

* signature

* spelling

* doy
2021-03-09 08:43:29 -05:00
GitHub set-date Action 6fb640ad96 Update date 2021-03-09 00:46:44 +00:00
Matthew Kennedy 428aaca5c5
ETB uses error accumulator (#2435)
* error accumulator

* makefile

* accumulate ETB error

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-08 19:18:35 -05:00
rusefillc 4e35176e81 TDC Trigger Position #2428
any single-tooth primary trigger should automatically run with "useOnlyPrimaryForSync = true;"
2021-03-08 00:00:48 -05:00
rusefillc e4bd0f6815 removing dead code - initialize() sets 'true' already 2021-03-07 23:37:54 -05:00
Matthew Kennedy 06e32d937a
avoid various "no connect" scenarios (#2432)
* init mmc and USB earlier

* connect USB faster
2021-03-07 20:21:42 -05:00
Matthew Kennedy 3d17e62d65
finish off vbatt -> sensor model (#2433)
* more vbatt

* s

* goodbye voltage

* makefile

* apparently that part was in use

* include

* mocking
2021-03-07 20:18:32 -05:00
GitHub set-date Action fe2cb514f8 Update date 2021-03-08 00:47:40 +00:00
Matthew Kennedy b729bdbcbf
Store ini filesystem in compressed block device (#2420)
* add module

* implement compressed block device

* enable for f7/h7

* script

* stub compressed image

* implement

* call the script

* headers, comments, fix init bug

* set msd options

* update chibios-contrib

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 19:25:34 -05:00
Matthew Kennedy 7b4ba0c836
remove lastTriggerToothEventTimeNt (#2430)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:11:50 -05:00
Matthew Kennedy 57b79ab6bb
trigger decoder timer (#2427)
* part 2

* stale comment

* include

* why was this a macro

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 16:35:58 -05:00
Matthew Kennedy 5a4c24f9a5
virtual zero timer (#2426)
* virtual zero timer

* it would help to call the correct function

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 15:32:41 -05:00
GitHub set-date Action c716e045ae Update date 2021-03-07 00:49:24 +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 set-date Action 6bbe9e6c20 Update date 2021-03-06 00:46:28 +00:00
GitHub build-firmware Action 6d40566a10 Auto-generated configs and docs 2021-03-06 00:30:16 +00:00
slowriot 881c3739a2
Add two new V8 firing orders (#2423)
* fix typos, spelling

* add two V8 firing orders

* use the available number of CPU cores, not just 4

* add new firing orders to config

* updating generated files to include new v8 firing orders

* reverting update of auto-generated files

* correct firing order labels for new firing orders
2021-03-05 19:28:17 -05: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
Matthew Kennedy 6aaf02be15
hook up lps25 on proteus (#2418)
* hook up lps25

* it would help to include all the files

* unguard some stuff

* unguard more

* guarding

* s

* guard

* only register if init worked

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-04 22:39:20 -05:00
GitHub build-firmware Action f0098d8bc1 Auto-generated configs and docs 2021-03-05 02:01:14 +00:00
GitHub set-date Action 19983ee314 Update date 2021-03-05 00:47:05 +00:00
GitHub set-date Action b2232daa10 Update date 2021-03-04 00:46:46 +00:00
GitHub build-firmware Action d71b1184fc Auto-generated configs and docs 2021-03-03 12:32:56 +00:00
Matthew Kennedy 5067b81fce
Compute injection duration later in the pipeline (#2175)
* injector model, test

* new math

* inject fuel based on new math

* tests

* fix

* it should work like this

* format

* update TPS AE even when we're cutting fuel

* comment

* conversion factor

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-03 07:30:56 -05:00
GitHub build-firmware Action b87d82735d Auto-generated configs and docs 2021-03-03 03:16:19 +00:00
GitHub set-date Action 20c85cb943 Update date 2021-03-03 00:45:57 +00:00
GitHub set-date Action 98520bc710 Update date 2021-03-02 00:38:34 +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 set-date Action 2a1d038f4f Update date 2021-03-01 00:48:45 +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
Matthew Kennedy 3a8313a94a
try rpm calculator timer (#2053)
* add api

* rpm calculator

* fix fsio

* fix float

* remove wrong comment

* fix timer

* clang didn't like this

* oops

* format

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-28 18:56:34 -05: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 b1873b3d8b
set all thread priorities in the same place (#2412)
* unify thread priority

* header

* mmc
2021-02-28 07:30:45 -05:00
GitHub build-firmware Action 306e4a230f Auto-generated configs and docs 2021-02-28 01:16:53 +00:00
GitHub set-date Action c8c444e6c4 Update date 2021-02-28 00:48:23 +00:00
GitHub set-date Action f3e14f4db7 Update date 2021-02-27 00:45:37 +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
Matthew Kennedy 886cfdbc3e
Update submodules (#2407)
* contrib

* update wideband
2021-02-26 14:44:46 -05:00
GitHub build-firmware Action 713850beda Auto-generated configs and docs 2021-02-26 13:01:20 +00:00
GitHub set-date Action 9233b7e8dd Update date 2021-02-26 00:45:18 +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
GitHub set-date Action 5f18fbee9d Update date 2021-02-25 00:48:59 +00: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
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 set-date Action 8bf8c93c4e Update date 2021-02-24 00:45:24 +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
Matthew Kennedy b6de500059
cleanup (#2386) 2021-02-23 16:57:14 -05:00
GitHub set-date Action 5509b23919 Update date 2021-02-23 00:44:52 +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 set-date Action 7c6d5f433c Update date 2021-02-22 00:46:17 +00:00
GitHub build-firmware Action b6e3df01b8 Auto-generated configs and docs 2021-02-21 16:03:51 +00:00
GitHub set-date Action 0f9c5eece6 Update date 2021-02-21 00:46:44 +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 set-date Action 3af1eb69b4 Update date 2021-02-20 00:44:01 +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 set-date Action 067fe3b693 Update date 2021-02-19 00:53:52 +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
rusefillc 278e889f2c aux valve to CI 2021-02-18 00:11:10 -05: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
Matthew Kennedy 102804db7d
rework FSIO LEelement (#2374)
* save

* firmware

* test parsing multiple things

* split tests
2021-02-17 23:32:44 -05: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
rusefi 92ffd4a84b no one expects to make FSIO progress 2021-02-17 10:53:35 -05:00
rusefillc 8584256677 trying to fix AuxValves 2021-02-17 08:57:18 -05:00
rusefillc 02a49de390 aux to vvt rename 2021-02-17 08:53:39 -05:00
GitHub set-date Action 4e488da93f Update date 2021-02-17 00:44:00 +00:00
GitHub build-firmware Action bec3c07685 Auto-generated configs and docs 2021-02-16 22:27:43 +00:00
Matthew Kennedy 39884f8934
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 c7b868dcf0 Auto-generated configs and docs 2021-02-16 21:10:43 +00:00
GitHub build-firmware Action 686570a1df Auto-generated configs and docs 2021-02-16 16:16:51 +00:00
Matthew Kennedy 4a1d3de9a6
remove unused msg parameter (#2360)
* dead parameter

* last few
2021-02-16 09:32:16 -05:00
GitHub build-firmware Action 7121a7bd22 Auto-generated configs and docs 2021-02-16 03:04:34 +00:00
GitHub set-date Action aeb76115eb Update date 2021-02-16 00:44:01 +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
GitHub set-date Action 77438726bd Update date 2021-02-15 00:44:26 +00:00
GitHub set-date Action d94dd050c7 Update date 2021-02-14 00:45:36 +00:00
rusefillc a36101598f Gather Nissan CAN data #2278
one step back
2021-02-13 09:32:45 -05:00
rusefillc 67751dbd51 Gather Nissan CAN data #2278 2021-02-12 23:07:21 -05:00
GitHub build-firmware Action 4d358f4759 Auto-generated configs and docs 2021-02-13 01:50:56 +00:00
rusefillc fa04ac1d73 Gather Nissan CAN data #2278 2021-02-12 20:47:12 -05:00
GitHub build-firmware Action 6df4d76bb9 Auto-generated configs and docs 2021-02-13 01:43:05 +00:00
GitHub build-firmware Action cddb65a415 Auto-generated configs and docs 2021-02-13 01:30:02 +00:00
GitHub set-date Action c1658cca34 Update date 2021-02-13 00:43:49 +00:00
GitHub set-date Action 94ae78ee92 Update date 2021-02-12 00:43:44 +00:00
rusefi 289d63cbff M62T vanos support #2243 2021-02-10 22:20:17 -05:00
GitHub build-firmware Action 45ed6ebb33 Auto-generated configs and docs 2021-02-11 02:49:50 +00:00
rusefillc d87a38541e M62T vanos support #2243 2021-02-10 21:44:21 -05:00
GitHub build-firmware Action 5e96883b15 Auto-generated configs and docs 2021-02-11 01:23:22 +00:00
rusefillc d7a1abd351 Merge remote-tracking branch 'origin/master' into master 2021-02-10 19:51:27 -05:00
rusefillc 6416929fbd M62T vanos support #2243 2021-02-10 19:51:14 -05:00
GitHub set-date Action 137d5b0962 Update date 2021-02-11 00:43:33 +00:00
GitHub build-firmware Action e12c5db607 Auto-generated configs and docs 2021-02-10 23:57:38 +00:00
rusefillc 6385859cc8 M62T vanos support #2243
need a bit of RAM
2021-02-10 13:31:39 -05:00
rusefi 6f065274e4 aux pid is now VVT 2021-02-10 12:41:38 -05:00
GitHub build-firmware Action 00de91dd29 Auto-generated configs and docs 2021-02-10 17:26:25 +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 set-date Action 0d1e366a8b Update date 2021-02-10 00:42:28 +00:00
GitHub build-firmware Action 9fb101186a Auto-generated configs and docs 2021-02-09 19:01:08 +00:00
rusefillc 24887adbb2 M62T vanos support #2243 2021-02-09 09:40:08 -05:00
rusefillc 8042b6ddb2 Merge remote-tracking branch 'origin/master' into master 2021-02-09 00:34:32 -05:00
rusefillc b04aa8bb91 M62T vanos support #2243
RAM everything takes a bit of RAM
2021-02-09 00:29:04 -05:00
GitHub build-firmware Action 71a974e477 Auto-generated configs and docs 2021-02-09 05:26:52 +00:00
rusefillc 767183b369 M62T vanos support #2243
RAM everything takes a bit of RAM
2021-02-09 00:08:00 -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 56072ac889 M62T vanos support #2243 2021-02-08 22:30:02 -05:00
rusefillc ce78123eb0 M62T vanos support #2243 2021-02-08 22:21:02 -05:00
rusefillc 9fd25943c5 Merge remote-tracking branch 'origin/master' into master 2021-02-08 22:09:13 -05:00
rusefillc 081357ca5e M62T vanos support #2243 2021-02-08 22:07:14 -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 0d6dfbb501 M62T vanos support #2243 2021-02-08 21:28:57 -05:00
rusefi 6793b5d8fc M62T vanos support #2243 2021-02-08 20:38:38 -05:00
GitHub set-date Action 432e116b31 Update date 2021-02-09 00:43:35 +00: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
rusefillc 1ba8e24f86 M62T vanos support #2243 2021-02-08 16:42:53 -05:00
GitHub build-firmware Action e83636cd83 Auto-generated configs and docs 2021-02-08 21:41:57 +00:00
Matthew Kennedy 435f8f7e2b
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 a349bf1ca8 M62T vanos support #2243 2021-02-08 16:16:26 -05:00
GitHub build-firmware Action 5d53ceb312 Auto-generated configs and docs 2021-02-08 20:31:34 +00:00
rusefillc d2deca74bf M62T vanos support #2243 2021-02-08 15:09:12 -05:00
GitHub build-firmware Action d57b4b48b5 Auto-generated configs and docs 2021-02-08 19:13:25 +00:00
rusefillc 7e25202712 M62T vanos support #2243 2021-02-08 14:10:57 -05:00
Andrey 74d4001bdb poke 2021-02-08 10:49:15 -05:00
GitHub set-date Action 6db8b612dd Update date 2021-02-08 00:43:33 +00:00
Matthew Kennedy 7d3cadfc87
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 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 953990d10b Trigger pattern request Škoda Favorit fix #2302 2021-02-06 20:53:30 -05: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 set-date Action 8d988424ea Update date 2021-02-07 00:45:02 +00:00
GitHub build-firmware Action 9a254634d0 Auto-generated configs and docs 2021-02-06 18:52:00 +00:00
Andrey G 08a5421090
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 3166076839
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 7c231d968f H7 compilation #2284 2021-02-05 23:57:28 -05:00
rusefillc e4a85acb3b H7 compilation #2284 2021-02-05 23:37:18 -05:00
GitHub set-date Action 168dced2e7 Update date 2021-02-06 00:42:44 +00:00
rusefillc 162571a105 Merge remote-tracking branch 'origin/master' into master 2021-02-05 19:17:52 -05:00
rusefillc b431f32fbf Gather Nissan CAN data #2278 2021-02-05 19:17:22 -05:00
GitHub build-firmware Action 1073cde9b9 Auto-generated configs and docs 2021-02-05 23:21:55 +00:00
Matthew Kennedy 870857df36
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 dfca29a705 Auto-generated configs and docs 2021-02-05 16:29:43 +00:00
rusefillc 0090dc04ee Gather Nissan CAN data #2278 2021-02-05 11:27:51 -05:00
GitHub set-date Action f5605ca2f0 Update date 2021-02-05 00:43:18 +00:00
Matthew Kennedy 7bd3979595
eliminate idle's custom applyPinState (#2273)
* remove

* not static
2021-02-04 17:04:37 -05:00
GitHub set-date Action 01acbe891b Update date 2021-02-04 00:42:55 +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
rusefillc 449ff446e2 https://github.com/rusefi/rusefi/issues/2274 2021-02-03 11:37:47 -05:00
Matthew Kennedy 9151b0c6c1
fix #2269 (#2272)
* fix #2269

* cleanup
2021-02-03 08:04:22 -06:00
Matthew Kennedy 5ceeac93e9
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 60b6c3454c Update date 2021-02-03 00:45:57 +00:00
rusefillc 29db28f077 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-02 11:06:32 -05:00
rusefillc bd0f9687ac Merge remote-tracking branch 'origin/master' into master 2021-02-02 09:50:37 -05:00
rusefillc 8ff61e9e68 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-02 09:50:20 -05:00
GitHub build-firmware Action eca31a782c Auto-generated configs and docs 2021-02-02 14:17:30 +00:00
Brenton Hewitt 9d9c3c266d
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 7eb5816c33 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:44:14 -05: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
rusefillc 953dabfb26 Merge remote-tracking branch 'origin/master' into master 2021-02-01 22:50:11 -05:00
rusefillc 9a2cc6b3c9 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 22:49:49 -05:00
GitHub set-date Action be9ea1a9aa Update date 2021-02-02 00:50:32 +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
rusefillc 22142ae708 Merge remote-tracking branch 'origin/master' into master 2021-02-01 00:25:43 -05:00
rusefillc 4bb9762e2e extracting runtime state from trigger central 2021-01-31 22:41:17 -05:00
rusefillc 869e4cfc49 vvt/cam events to pass index 2021-01-31 22:24:45 -05:00
GitHub set-date Action 35de086654 Update date 2021-02-01 00:55:27 +00:00
GitHub build-firmware Action dc7b94fe6c Auto-generated configs and docs 2021-01-31 22:21:02 +00:00
Matthew Kennedy 0e70d08a22
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 6ffddb8e3a #2260 2021-01-31 13:30:14 -05:00
rusefillc 5e50b542a8 typo 2021-01-31 12:27:26 -05:00
GitHub set-date Action 948f08866d Update date 2021-01-31 00:55:10 +00:00
GitHub set-date Action a9067fdd75 Update date 2021-01-30 00:52:18 +00:00
GitHub set-date Action c56f34adc1 Update date 2021-01-29 00:51:58 +00: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
GitHub build-firmware Action 5186e853d7 Auto-generated configs and docs 2021-01-27 04:47:00 +00:00
GitHub build-firmware Action 0a71cfd3c6 Auto-generated configs and docs 2021-01-27 04:09:36 +00: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
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
GitHub set-date Action f893a3ce78 Update date 2021-01-25 01:28:32 +00:00
GitHub set-date Action cd65c9f988 Update date 2021-01-24 01:29:28 +00:00
rusefillc 1ed7d16d50 knock-knock 2021-01-23 00:00:34 -05:00
GitHub set-date Action e8ab9391af Update date 2021-01-23 01:27:52 +00: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 edd89c34f9 HELLEN_NB2 2021-01-22 01:47:01 -05:00
GitHub set-date Action 1c410364c3 Update date 2021-01-22 01:28:07 +00: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
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 174edaff6e Auto-generated configs and docs 2021-01-19 04:05:31 +00: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
GitHub build-firmware Action b7016f97b6 Auto-generated configs and docs 2021-01-18 23:56:32 +00: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
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 717e36a7a4 todo: reduce magic constants 2021-01-14 22:34:06 -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
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 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 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
GitHub set-date Action f42097741d Update date 2021-01-11 01:11:57 +00: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
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
Matthew Kennedy 021dc9d185
fix (#2209) 2021-01-09 16:51:24 -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
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
GitHub build-firmware Action 99430a2508 Auto-generated configs and docs 2021-01-08 18:43:44 +00: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
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
GitHub set-date Action d0cee36c91 Update date 2021-01-07 01:10:03 +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 034412ef53 Auto-generated configs and docs 2021-01-06 19:42:58 +00:00
rusefillc eec8a723ee TS bench test trans solenoid buttons #2191
more fix
2021-01-06 14:16:45 -05:00
rusefillc a4e9319027 TS bench test trans solenoid buttons #2191
more fix
2021-01-06 14:04:37 -05:00
GitHub build-firmware Action 4a1246995f Auto-generated configs and docs 2021-01-06 18:57:58 +00:00
rusefillc 7393f13b8a TS bench test trans solenoid buttons #2191
fix?
2021-01-06 13:55:57 -05: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
David Holdeman 7117c6f5aa
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 54892662be Update date 2021-01-06 01:06:01 +00:00
Matthew Kennedy f4dcf0f397
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 20a967edf1
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 f804aaf60f Auto-generated configs and docs 2021-01-05 21:32:00 +00:00
Matthew Kennedy eabb5c7366
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 b92e3086d0
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 0abfc7c9c1 Auto-generated configs and docs 2021-01-05 12:59:14 +00:00
Matthew Kennedy edee10ee1c
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 07abef8473 Auto-generated configs and docs 2021-01-05 04:52:50 +00:00
rusefillc 6c01aedbb0 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 8c38664084 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
rusefillc 43f37c677a 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

fixing build?
2021-01-04 22:13:59 -05:00
rusefillc 8c7ab1cbe3 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 22:00:37 -05:00
rusefillc 8fb32b517b Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-04 21:30:54 -05:00
rusefillc a3173e68d9 typo 2021-01-04 21:20:40 -05:00
rusefillc 9b5d45cb04 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-04 21:05:16 -05:00
GitHub set-date Action 66b8a98dc8 Update date 2021-01-05 01:05:48 +00:00
Matthew Kennedy de2b37accb
add obd stft bank 2 (#2183)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-04 07:35:21 -05:00
rusefillc b1499d8a7f RAM efficiency of VR crank trigger shapes #2182 2021-01-04 00:26:05 -05:00
GitHub build-firmware Action 428418f879 Auto-generated configs and docs 2021-01-04 04:54:24 +00:00
GitHub set-date Action 4d96794ff1 Update date 2021-01-04 01:06:44 +00:00
GitHub build-firmware Action 2445703cf9 Auto-generated configs and docs 2021-01-03 23:29:54 +00:00
rusefillc b3e3248d71 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 14:05:24 -05: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
rusefillc 8f06008239 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:34:00 -05:00
GitHub build-firmware Action 1caeef7ca2 Auto-generated configs and docs 2021-01-03 18:08:09 +00:00
GitHub build-firmware Action ea34444e04 Auto-generated configs and docs 2021-01-03 14:57:29 +00:00
Matthew Kennedy f73b7123bb
rpm rate of change (#2159)
* compute rpm rate of change

* fix units on gauge

* oops

* correct order

* scaling and limits

* correct for engine cycle length

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-03 09:55:44 -05:00
GitHub set-date Action 11e9bb5e88 Update date 2021-01-03 01:06:16 +00:00
Matthew Kennedy 92ea09b0a6
switch more map to read from sensor model (#2162)
* hook up map

* check for init

* switch some consumers

* that's the rest of them

* test

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 19:13:10 -05:00
GitHub build-firmware Action c06fea083e Auto-generated configs and docs 2021-01-02 22:34:11 +00:00
David Holdeman a43bf01ecd
Solenoid test in console (#2178)
* give it a try

* create component

* add command maybe

* try

* try

* add pic

* try TCU_SOLENOID_COUNT

* try

* use injection and ignition count fields
2021-01-02 17:18:44 -05:00
GitHub build-firmware Action 077ba2bf9e Auto-generated configs and docs 2021-01-02 21:53:01 +00:00
rusefillc d213c01ca5 questionable progress 2021-01-02 16:51:14 -05:00
GitHub build-firmware Action eb458b2f3b Auto-generated configs and docs 2021-01-02 21:45:28 +00:00
GitHub build-firmware Action b764fd1586 Auto-generated configs and docs 2021-01-02 14:16:50 +00:00
GitHub set-date Action f6fc6521f0 Update date 2021-01-02 01:02:30 +00:00
rusefi 719ad92681 FATAL while bench testing VR #2153 2021-01-01 14:07:52 -05:00
GitHub build-firmware Action 1f30163348 Auto-generated configs and docs 2021-01-01 16:20:39 +00:00
GitHub build-firmware Action 8a0fa161ac Auto-generated configs and docs 2021-01-01 06:12:01 +00:00
rusefillc 9587b7bb54 hellen 2021-01-01 01:10:28 -05:00
GitHub build-firmware Action de3ecc50b0 Auto-generated configs and docs 2021-01-01 05:59:19 +00:00
GitHub set-date Action dc5e785daf Update date 2021-01-01 01:05:34 +00:00
GitHub build-firmware Action 10c0553038 Auto-generated configs and docs 2020-12-31 17:41:53 +00:00
rusefillc 46583b2a19 Revert "Idle timing PID uses phase logic (#2156)"
This reverts commit 9634a803
2020-12-31 12:22:54 -05:00
shadowm60 d49fc7fc71
Haltech as dash option (#2165)
* Haltech as dash option

* Update build-firmware.yaml

added generate enums for build-primary-bundle
2020-12-31 12:22:01 -05:00
GitHub set-date Action 314ac30f11 Update date 2020-12-31 01:04:00 +00:00
GitHub build-firmware Action 586ebc49f9 Auto-generated configs and docs 2020-12-30 13:45:30 +00:00
Matthew Kennedy acdf6fdc85
Put map in the sensor model (#2161)
* hook up map

* check for init

* switch some consumers

* don't do limp for now

* oops

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:43:49 -05:00
Matthew Kennedy 342414a5f7
show when idle is closed loop (#2160)
* show when idle is closed loop

* semicolon

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:42:40 -05:00
GitHub build-firmware Action 5b638d3a87 Auto-generated configs and docs 2020-12-30 13:37:55 +00:00
Matthew Kennedy 9634a803f1
Idle timing PID uses phase logic (#2156)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-29 23:50:56 -05:00