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