Commit Graph

10178 Commits

Author SHA1 Message Date
Matthew Kennedy 830575a306
lua 5.4 (#2590)
* thread priority

* build

* makefile prep

* call startup

* lua 5.1

* mk

* 5.3

* mk

* I guess lua does something?

* extract hooks, builds for tests

* a bit of error handling

* guard

* bootloader makefile

* remove lua

* submodule

* submodule update

* builds with submodule

* disabled by default

* h7 chconf

* tweaks

* add a useful hook

* move luaconf

* perf trace lua

* test helpers

* lua unit tests

* include to satiate clang
2021-04-28 22:41:25 -04:00
GitHub set-date Action 20c09097be Update date 2021-04-29 01:02:17 +00:00
Andrey G 6d6dca8d07
Subaru board update (#2600)
* board: subaru eg33: linker script: stack, bss and heap to ram0

* Board: Subaru EG33: clean-up configs

* board-subaru-eg33: fix board config

* engine: subaru: eg33: fixes
2021-04-28 20:25:33 -04:00
rusefillc abfbc48d70 hellen wbo 2021-04-28 19:14:02 -04:00
GitHub build-firmware Action e16f137086 Auto-generated configs and docs 2021-04-28 22:55:13 +00:00
Andrey G 8ba38a8a63
Mc33972 update (#2599)
* MC33972: update

-per-instance thread
-enable pull-ups for enabled pins only

* smart-gpio: mc33972: uses 8-bit spi frames

3 bytes are sent to make 24-bit frame
2021-04-28 18:29:35 -04:00
Matthew Kennedy f3a2af9c74
make wideband log fields match what it's actually sending (#2593)
* make log fields match what it's actually sending

* update wb firmware

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-28 18:28:29 -04:00
Matthew Kennedy 15f446b530
oops (#2598) 2021-04-28 18:28:07 -04:00
GitHub set-date Action 6403ca2f9f Update date 2021-04-28 01:04:11 +00:00
Matthew Kennedy 742ea83bfa
Baro config (#2591)
* adjust API to allow i2c init to fail

* init

* proteus config

* 🎠🎠🎠

* buh

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-27 15:29:22 -04:00
Matthew Kennedy 17719c5da0
prep for lua (#2589)
* thread priority

* build

* makefile prep

* call startup

* s
2021-04-27 07:57:08 -04:00
Matthew Kennedy efe9dfa8d6
higher priority for log buffer flush (#2592) 2021-04-27 07:52:12 -04:00
David Holdeman b572914b6a
MRE reuse pins (#2587)
* try adding a reuse pin

* try
2021-04-26 23:25:11 -04:00
GitHub build-firmware Action 34a904386c Auto-generated configs and docs 2021-04-26 21:59:44 +00:00
rusefillc 0594a5b305 field type into header comment 2021-04-26 17:51:29 -04:00
rusefillc 10a6da8ac0 https://rusefi.com/forum/viewtopic.php?p=40654 2021-04-26 17:32:00 -04:00
GitHub build-firmware Action d79483e694 Auto-generated configs and docs 2021-04-26 03:12:08 +00:00
rusefillc 35358e110a support multiple VVT sensors #885 2021-04-25 23:10:21 -04:00
rusefi fadaf2bf49 support multiple VVT sensors #885 2021-04-25 21:53:56 -04:00
GitHub build-firmware Action 9e47f99f99 Auto-generated configs and docs 2021-04-26 01:46:15 +00:00
rusefi 4da74ddf52 support multiple VVT sensors #885 2021-04-25 21:31:34 -04:00
GitHub set-date Action a439aed65e Update date 2021-04-26 01:07:19 +00:00
rusefillc 10858ae371 https://rusefi.com/forum/viewtopic.php?f=16&t=1996 2021-04-25 09:34:40 -04:00
GitHub build-firmware Action 99dfe81a64 Auto-generated configs and docs 2021-04-25 13:24:53 +00:00
rusefillc 02d4cde3c4 https://rusefi.com/forum/viewtopic.php?f=16&t=1996 2021-04-25 09:18:35 -04:00
rusefillc 5b2b77fc50 F429 MCU says it's too cold #2552 2021-04-25 09:11:57 -04:00
rusefillc ac2d0b99cd https://rusefi.com/forum/viewtopic.php?f=2&t=1993 2021-04-24 22:54:50 -04:00
GitHub set-date Action 2b6ca0ed28 Update date 2021-04-25 01:08:47 +00:00
shadowm60 7d50f2bcb8
Haltech dash support (#2570)
* prep for cycletimes

* not it should build

* Defined and used cyclic messages

- defined cyclic messages for dash support
- hardcoded canwrite periodic task at 5ms to ensure correct timing

* tweaks

Update W202/VW candash cyclic config
fix canverbose cycle time configuration from TS

* Update can_dash.cpp

Haltech message definitions

* Update can_dash.cpp

* added HaltechDash

- changed CanTx cycle time
- inject cycle times to dash handlers
- implement first version of HaltechDash

* missed it

while merge with upstream/master
2021-04-24 17:40:48 -04:00
GitHub set-date Action aa315efc1a Update date 2021-04-24 01:04:32 +00:00
shadowm60 61446a6170
Handle can message cyclicity (#2573)
* Handle can message cyclicity

update of canDash to support different cyclicity of messages

* review updates
2021-04-23 20:16:27 -04:00
rusefi 3c9f7174ba improving QC process 2021-04-23 00:45:36 -04:00
rusefi 93dadc4b8b improving QC process 2021-04-23 00:03:21 -04:00
rusefi 86bdd363e3 improving QC process 2021-04-22 22:04:39 -04:00
rusefi 3a732ecffb Merge remote-tracking branch 'origin/master' 2021-04-22 21:27:15 -04:00
rusefi 3e44135947 improving QC process 2021-04-22 21:23:20 -04:00
GitHub set-date Action fe494a24c7 Update date 2021-04-23 01:04:11 +00:00
GitHub set-date Action 7bff065382 Update date 2021-04-22 01:04:15 +00:00
rusefillc 377ce76ccb HD44780: start pins on init #2576 2021-04-21 18:17:59 -04:00
rusefillc 8809a8d002 Switch default idle mode to AUTO #2577
at least all NB2 should be auto idle
2021-04-21 16:21:55 -04:00
rusefillc 4a41203769 better Hellen defaults 2021-04-21 16:15:47 -04:00
Andrey G a867b3e286
HD44780: start pins on init (#2576)
This fixes bug introduced in 7803968621
Sorry!
2021-04-21 15:33:58 -04:00
Matthew Kennedy a70f113b77
finish it off: remove scheduleMsg (#2575)
* finish it off

* one more logger ptr

* fwd decl

* Revert "one more logger ptr"

This reverts commit a21fb0087ddc748978d716db2710800cf26e437b.

* unused

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 15:33:40 -04:00
Matthew Kennedy c26987b96b
Destroy all shared logger (#2574)
* most of shared logger

* a few more

* one more

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -04:00
Matthew Kennedy ad71016862
rip the bandaid: find-replace most of scheduleMsg (#2572)
* biiiig find replace

* more trivial find replace

* pwm

* almost all of them

* few more

* gpio

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
rusefillc ea3bd4157c EFI_SOFTWARE_KNOCK for hellen 2021-04-21 09:56:46 -04:00
rusefillc 2830f52f03 EFI_SOFTWARE_KNOCK for hellen 2021-04-20 22:07:09 -04:00
GitHub set-date Action 620186a306 Update date 2021-04-21 01:03:01 +00:00
Matthew Kennedy bd1c84fa62
Logging remove 3 (#2568)
* ts logger

* sensors

* wideband too

* missed one

* init

* motors, pid, etc

* vvt

* more

* idle

* missed one

* dynoview

* launch

* can

* console IO

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-20 14:09:41 -04:00
GitHub build-firmware Action 221f2a0f27 Auto-generated configs and docs 2021-04-20 03:56:24 +00:00
rusefillc 61c6b70516 more correct tachPulseDurationAsDutyCycle tooltip and other boring details 2021-04-19 23:48:03 -04:00
GitHub build-firmware Action 389f163c56 Auto-generated configs and docs 2021-04-20 03:35:59 +00:00
rusefillc dcc76e9fff tachPulseDurationAsDutyCycle tooltip 2021-04-19 23:34:07 -04:00
GitHub set-date Action 1742d6f23b Update date 2021-04-20 01:03:45 +00:00
Matthew Kennedy bbb6b6dd14
remove simple cases of LoggingWithStorage (#2569)
* remove simple cases

* more simple

* serial

* s

* more

* try memory

* easy

* mmc acc

* that's how much memory

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-19 08:11:59 -04:00
rusefillc 8c0cff1b1b hellen64 scripts and pinout #2565 2021-04-18 22:03:43 -04:00
GitHub set-date Action df572573cd Update date 2021-04-19 01:03:12 +00:00
Matthew Kennedy 5145ee4b62
logging cleanup 2: sensors, pid, etb, etc (#2567)
* ts logger

* sensors

* wideband too

* missed one

* init

* motors, pid, etc

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 20:02:32 -04:00
Matthew Kennedy e3fcbdc7c0
ts logger (#2566)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 19:13:48 -04:00
Matthew Kennedy 6b64db7f9c
rewrite text logging system (#2439)
* minor cleanup

* enable mailboxes

* priority

* implement new logger

* more cleaning

* signature

* remove debug

* put the assertion back in

* remove debugging

* spelling

* doy

* tweaks & comments

* cleaning

* size_t

* guard more

* test build now

* needs more ram until we can remove LogginWithSTorage

* hunt for memory

* bootloader

* unused

* stub simulator

* it would help to get the signature right

* geez kinetis only has 64k ram

* more guarding because kinetis

* that's now very legal and very cool

* templatify

* s

* force null terminate

* probably fix

* const

* write a test

* disable sensor chart for now

* hide SC ui

* oh nope that breaks many things

This reverts commit c3c1bb324fb484c3d9cc44b7715c234bc0392e1e.

* missed one

* reset after scheduleLogging

* we can't print out the full message because it contains commas which break parsing

* force terminate long buffers

* let's see how much memory we have to play with

* a lot, is the answer

* real thread name

* shrink this for now before its deleted

* turn that back on

* biiig comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 18:46:47 -04:00
rusefillc 5aca0dec1a hellen64 scripts and pinout #2565 2021-04-18 10:42:50 -04:00
rusefillc ca37f4909f hellen64 scripts and pinout #2565 2021-04-18 10:15:06 -04:00
rusefillc a0b4ca9135 April 2021 Release - "Malbec" 2021-04-18 10:04:55 -04:00
GitHub build-firmware Action 3b508985ef Auto-generated configs and docs 2021-04-18 13:37:46 +00:00
rusefillc 60609eb7b6 trigger_type_e 2021-04-18 09:35:52 -04:00
Andrey G 70e0723626
use cylinders_count_t in loops through cylinders (#2563)
to supress signed vs usigned warnings
2021-04-18 08:58:56 -04:00
rusefillc 923967c794 he reads my mind 2021-04-17 21:38:58 -04:00
GitHub set-date Action 18f7397320 Update date 2021-04-18 01:04:54 +00:00
GitHub set-date Action 51d3c6a28c Update date 2021-04-17 01:01:34 +00:00
GitHub set-date Action d612210d9b Update date 2021-04-16 01:02:48 +00:00
rusefillc 5d09524fe3 NB2 trigger decoder fix #2533 2021-04-15 19:30:29 -04:00
rusefillc 2b6345070f WOW major scheduling drama on NB2 running with Proteus #2533 2021-04-15 19:12:09 -04:00
rusefillc 2b8ec15071 WOW major scheduling drama on NB2 running with Proteus #2533
totally same numbers for NB1 just simpler code
2021-04-15 18:44:37 -04:00
rusefillc 3c6c4595c2 WOW major scheduling drama on NB2 running with Proteus #2533
removing weird comments
2021-04-15 18:22:23 -04:00
rusefillc e5a2b58edf Launcher splash screen is freezy fix #2560 2021-04-15 17:03:24 -04:00
GitHub build-firmware Action 501a47a019 Auto-generated configs and docs 2021-04-15 20:50:35 +00:00
Matthew Kennedy 2b9352fe7f
s (#2559) 2021-04-15 16:42:30 -04:00
rusefillc 93bb5f1429 #2556 2021-04-15 12:00:48 -04:00
rusefillc ad22a00ee8 flush SD log 10x faster #2558 2021-04-15 09:42:22 -04:00
Matthew Kennedy 0eabb0cd07
flush 10x faster (#2558)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 09:31:38 -04:00
GitHub build-firmware Action 37c2495f9f Auto-generated configs and docs 2021-04-15 05:23:00 +00:00
Matthew Kennedy 15a8dab795
gppwm zero option (#2557)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 01:08:34 -04:00
Matthew Kennedy 7cea9ab533
remove duplicate SD log fields (#2556)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 01:07:59 -04:00
rusefillc 7178d49cc7 fresh 2021-04-15 00:43:19 -04:00
GitHub set-date Action b4a82af675 Update date 2021-04-15 01:03:18 +00:00
rusefillc 38b274f192 let's see if Jesse BeerMoneyMotorsports is the winner 2021-04-14 20:18:55 -04:00
rusefillc 271e90e7dc changelog mount SD card and drive containing TunerStudio ini at the same time 2021-04-14 09:26:18 -04:00
rusefillc fb133676c3 nothing happens here 2021-04-13 23:32:32 -04:00
rusefillc e4f051a843 ## April 2021 Release "Be Kind to Lawyers Day" 2021-04-13 23:32:31 -04:00
GitHub build-firmware Action 2c1922107c Auto-generated configs and docs 2021-04-14 01:18:43 +00:00
rusefillc 8b28ef274f MAP3 (A15) Not available for input in TS #27 2021-04-13 21:16:44 -04:00
GitHub set-date Action cfd645e07a Update date 2021-04-14 01:01:21 +00:00
Matthew Kennedy b110e01638
constexpr-ify log field list (#2548)
* constexprify

* reclaim ram

* more constexpr

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-13 20:16:18 -04:00
rusefillc 79e0d6ebd4 dead code - same value set by 's->initialize' 2021-04-13 01:11:03 -04:00
rusefillc 01344ec851 Kawasaki KX450F trigger wheel #2538 2021-04-13 00:24:52 -04:00
GitHub set-date Action 03bd2545ef Update date 2021-04-13 01:06:18 +00:00
GitHub build-firmware Action dc873bafc1 Auto-generated configs and docs 2021-04-12 18:12:58 +00:00
Matthew Kennedy 5e2e18d2b9
improve sensor chart flush behavior (#2545)
* disable sensor chart

* type signature, guards

* we can't log the message as that confuses the parser

* dead

* this syntax was technically illegal

* more

* turn it back on

* remove config

* api

* implement

* ui

* java ui
2021-04-12 14:05:52 -04:00
GitHub build-firmware Action 7407b99657 Auto-generated configs and docs 2021-04-12 12:25:48 +00:00
Matthew Kennedy 70283f42c1
check if flash erase failed (#2543)
* check flash erase result

* format

* string

* s
2021-04-12 08:18:11 -04:00
Matthew Kennedy 2a754c6e3f
dfco (#2544)
* dfco

* tool tip
2021-04-12 08:17:17 -04:00
GitHub build-firmware Action be9a9ef349 Auto-generated configs and docs 2021-04-12 04:26:37 +00:00
rusefi ae6050f27b MAP3 (A15) Not available for input in TS #27
poke just hellen?
2021-04-12 00:19:53 -04:00
rusefi fafcf87121 Merge remote-tracking branch 'origin/master' 2021-04-12 00:04:52 -04:00
rusefi fe2843eef4 MAP3 (A15) Not available for input in TS #27 2021-04-12 00:00:21 -04:00
GitHub set-date Action 5d1b6f4e83 Update date 2021-04-12 01:06:03 +00:00
rusefillc 5fed4db5c3 Merge remote-tracking branch 'origin/master' into master 2021-04-11 18:20:43 -04:00
rusefillc 027a9efdc8 https://rusefi.com/forum/viewtopic.php?p=40383 2021-04-11 18:20:35 -04:00
Matthew Kennedy e83022f8d2
sd buffer (#2540) 2021-04-11 10:15:54 -04:00
rusefillc 20fcaafb92 https://github.com/rusefi/hellen72/issues/25 2021-04-10 23:30:36 -04:00
rusefillc 66e616c329 https://github.com/rusefi/hellen72/issues/25 2021-04-10 23:22:25 -04:00
GitHub set-date Action b43d99318b Update date 2021-04-11 01:06:44 +00:00
Matthew Kennedy eb9cc1a08e
multiple mass storage (#2535)
* driver

* plumbing

* guard adjust

* read correct lun

* de-template

* rearrange

* guard

* guard

* memory

* headers

* memory

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-10 08:35:41 -04:00
David Holdeman 16d642048e
quote proteus pins with # (#2539) 2021-04-10 08:35:00 -04:00
GitHub set-date Action 8a5a64c897 Update date 2021-04-10 01:03:45 +00:00
rusefillc debd15991e Kawasaki KX450F trigger wheel #2538 2021-04-09 12:44:28 -04:00
rusefillc 2032e5fdb8 Kawasaki KX450F trigger wheel #2538 2021-04-08 22:16:14 -04:00
GitHub build-firmware Action c8aed610ba Auto-generated configs and docs 2021-04-09 02:10:22 +00:00
rusefillc a59afd30d7 Kawasaki KX450F trigger wheel #2538 2021-04-08 22:07:15 -04:00
GitHub set-date Action 4d68b67081 Update date 2021-04-09 01:00:43 +00:00
rusefillc 6eb68aa4a1 helping us trace CUSTOM_INTEPOLATE_ERROR 2021-04-08 16:14:06 -04:00
rusefillc bf41ec354e helping us trace CUSTOM_FSIO_STACK_SIZE 2021-04-08 15:59:42 -04:00
rusefillc b49c5200b7 helping us trace CUSTOM_FSIO_STACK_SIZE 2021-04-08 15:15:12 -04:00
rusefillc 6c89cdf637 CUSTOM_ERR_VVT_OUT_OF_RANGE warning false-positive fix #2534 2021-04-08 14:39:26 -04:00
GitHub set-date Action b714644a4f Update date 2021-04-08 01:07:00 +00:00
GitHub build-firmware Action 8b4ebaf4a9 Auto-generated configs and docs 2021-04-07 20:46:09 +00:00
rusefi 26038daf90 trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 16:44:21 -04:00
rusefi 3f914bf3ed trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 15:17:01 -04:00
GitHub build-firmware Action a27e2c4a19 Auto-generated configs and docs 2021-04-07 16:18:41 +00:00
rusefillc 40c50adf88 trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 12:16:23 -04:00
rusefillc e02f09495b trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 01:21:28 -04:00
GitHub set-date Action 22e621c301 Update date 2021-04-07 01:02:55 +00:00
GitHub set-date Action abb6242bda Update date 2021-04-06 01:03:54 +00:00
GitHub build-firmware Action 521164d57a Auto-generated configs and docs 2021-04-05 19:58:54 +00:00
Matthew Kennedy 46e38447e5
Ford redundant ETB tps (#2519)
* ford tps

* configurable maximum

* initialization

* check consistency when in the low range

* print info

* default

* config field

* config parameter

* test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-05 15:57:03 -04:00
rusefi f4ce428e7a changelog 2021-04-04 23:36:49 -04:00
rusefillc 9753b6e020 'displayLogicLevelsInEngineSniffer' on VVT input reports too much into engine sniffer fix #2528 2021-04-04 23:12:07 -04:00
rusefillc f3c46f2720 refactoring 2021-04-04 23:03:51 -04:00
rusefillc f877d32be4 engine sniffer into unit tests 2021-04-04 22:48:48 -04:00
rusefillc 41804736e2 engine sniffer into unit tests 2021-04-04 22:41:38 -04:00
rusefillc 007764b212 code style? 2021-04-04 22:09:22 -04:00
rusefillc 488f6fed47 todo? 2021-04-04 22:05:55 -04:00
rusefillc cb1f9b4b61 engine sniffer into unit tests 2021-04-04 22:04:59 -04:00
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
rusefillc 296c92faed Merge remote-tracking branch 'origin/master' into master 2021-04-04 19:56:19 -04:00
rusefillc 386df8fe7d 'displayLogicLevelsInEngineSniffer' on VVT input reports too much into engine sniffer #2528 2021-04-04 19:56:08 -04: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
andreika-git c785a5705c
Set the default pin states to input-pulldown instead of input-pullup for Hellen72 (#2525)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-04-04 10:29:05 -04:00
rusefillc 2b094849c5 linking error on jenkins and Andrey's windows desktop fix #2520 2021-04-03 23:34:56 -04:00
Matthew Kennedy 33e4b0b721
h7 dfu and comments (#2522) 2021-04-03 21:58:29 -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
Matthew Kennedy 22bcbf7444
More binary log fields (#2518)
* gauge names

* binary log

* it only takes scaled channel
2021-04-03 20:28:55 -04:00
rusefi 0099b7ce10 explicit status for MSD SD mode 2021-04-03 19:42:54 -04:00
GitHub set-date Action 4113f1e86a Update date 2021-04-03 01:01:42 +00:00
rusefillc 588ce43297 https://github.com/rusefi/hellen72/issues/19 2021-04-02 14:08:59 -04:00
GitHub set-date Action eb8de5bfdd Update date 2021-04-02 01:10:09 +00:00
rusefi 5bf6dacece reuse of TPS calibration 2021-04-01 17:05:01 -04:00
rusefi 05e4a0c771 engineConfiguration->vbattAdcChannel = EFI_ADC_5; // 4T 2021-04-01 16:47:20 -04:00
rusefi 1406c16119 SD init: document or fix unlock SPI fix #2516 2021-04-01 16:21:19 -04:00
rusefi 3f1d90992e SD init: document or fix unlock SPI #2516 2021-04-01 16:20:08 -04: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
Matthew Kennedy ed76e22e1b
speed up boot by 48 ms (#2506)
* speed up boot

* two
2021-03-29 22:59:38 -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
Matthew Kennedy 7cd79820da
enable serial pins on proteus (#2507)
* enable serial on proteus

* make h7 happy
2021-03-28 17:03:14 -04:00
Matthew Kennedy f0cf4f38ff
fix multi-serial-port insanity (#2476)
* carve out UART specific

* implement channel

* config cleanup

* use new config

* bootloader

* dead code

* s

* h7 inherits f7

* oops

* ok now it's right

* tests

* cleanup

* call setup

* put that in its own file

* cleanup

* format

* guard

* not needed

* improve guarding

* portable

* allow override of uart mode

* fixes for bootloader

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 09:06:36 -04:00
GitHub build-firmware Action b5dff633ea Auto-generated configs and docs 2021-03-28 12:41:23 +00:00
Matthew Kennedy 4bede41364
various TS project improvements, dead config fields (#2504)
* after start enrichment limits

* rework menus and VVT page

* multispark language

* dead fuel pressure field

* vw

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:39:26 -04:00
GitHub build-firmware Action 5d84af0c35 Auto-generated configs and docs 2021-03-28 12:09:36 +00:00
Matthew Kennedy 24b18ad9ee
slow down fuel level (#2505) 2021-03-28 08:01:08 -04: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
rusefillc f071aea463 Shall we drop "ignitionOffset" feature? #2500
dead code and TS progress
2021-03-27 19:00:35 -04: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
Matthew Kennedy 0f0d8f6339
Init order h7 (#2495)
* init order

* s
2021-03-25 21:12:19 -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 d564c5e845
+x (#2492) 2021-03-25 17:16:25 -04:00
Matthew Kennedy 33c97c490e
setup script tweak path (#2491)
* fix

* setup script

* chmod

* gdb

* use path instead of symlink
2021-03-25 16:22:16 -04:00
Matthew Kennedy 6f05bbc332
move some initialization steps earlier (#2480)
* early hw init

* s

* Revert "s"

This reverts commit 10d3039168613cfb2b0cf1c960d2f18894745ce3.

* bor

* I can't type

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 16:22:03 -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
Matthew Kennedy ce033e04bb
add setup script for linux environment (#2486)
* fix

* setup script

* chmod

* gdb
2021-03-24 21:39:49 -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