Commit Graph

6267 Commits

Author SHA1 Message Date
rusefillc b20505de42 2021 is the year of Hellen 2021-05-03 00:01:53 -04:00
rusefillc bf223aaacf 50% duty cycle is the default for tach signal 2021-05-02 23:47:47 -04:00
rusefillc fa4f936869 docs 2021-05-02 23:46:30 -04:00
rusefillc becf33b240 2021 is the year of Hellen 2021-05-02 23:45:39 -04:00
GitHub set-date Action c168a1125f Update date 2021-05-03 01:02:39 +00:00
rusefillc 59c8ef582f 2021 is the year of Hellen 2021-05-02 19:02:30 -04:00
rusefillc 60ab58c1c8 2021 is the year of Hellen 2021-05-02 18:52:33 -04:00
GitHub build-firmware Action 2ca3a8968a Auto-generated configs and docs 2021-05-02 22:20:31 +00:00
GitHub set-date Action ce3fd7daca Update date 2021-05-02 01:07:30 +00:00
GitHub build-firmware Action 4133f5c11f Auto-generated configs and docs 2021-05-02 00:35:02 +00:00
GitHub build-firmware Action 81a8239ba8 Auto-generated configs and docs 2021-05-01 23:47:11 +00:00
GitHub build-firmware Action 69d0b15345 Auto-generated configs and docs 2021-05-01 19:42:36 +00:00
GitHub set-date Action c1cbd03a1f Update date 2021-05-01 01:03:02 +00:00
GitHub build-firmware Action 3be5b8db2f Auto-generated configs and docs 2021-04-30 15:03:28 +00:00
GitHub build-firmware Action d15d721006 Auto-generated configs and docs 2021-04-30 05:39:53 +00:00
GitHub build-firmware Action f3f5e4215d Auto-generated configs and docs 2021-04-30 05:10:36 +00:00
rusefillc de72978255 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-30 01:05:23 -04:00
rusefillc 5d4cec71bf nope, this one is not dead 2021-04-29 23:51:22 -04:00
rusefillc d4edf7a0eb like that maybe? 2021-04-29 23:39:47 -04:00
rusefillc b289f7f037 dead files? 2021-04-29 23:33:30 -04:00
GitHub build-firmware Action 720d08cdd0 Auto-generated configs and docs 2021-04-30 03:19:47 +00:00
GitHub build-firmware Action c17ccd7c32 Auto-generated configs and docs 2021-04-30 03:02:06 +00:00
GitHub build-firmware Action ea781b55c6 Auto-generated configs and docs 2021-04-30 02:46:12 +00:00
Matthew Kennedy db8a4fbb6f Lua tick rate hook (#2606)
* implement setTickRate

* actually load the hook
2021-04-29 22:22:31 -04:00
Matthew Kennedy 65a8941286 more Lua hooks (#2605)
* more hooks

* zero index

* test table hook

* test works

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-29 22:22:04 -04:00
GitHub set-date Action e45a7da7bd Update date 2021-04-30 01:00:58 +00:00
GitHub build-firmware Action fe1d6a2e17 Auto-generated configs and docs 2021-04-29 21:37:27 +00:00
Matthew Kennedy e3bb6c7bdb encapsulate in smart pointer (#2603)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-29 07:44:32 -04:00
Matthew Kennedy 54fca52e42 sensor_type values (#2604)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-29 07:43:46 -04:00
Matthew Kennedy a470c1eec1 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 86336efeaa Update date 2021-04-29 01:02:17 +00:00
GitHub build-firmware Action bb53ce64bc Auto-generated configs and docs 2021-04-28 22:55:13 +00:00
Matthew Kennedy 1bd789a5a5 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
GitHub set-date Action eb3dd0e216 Update date 2021-04-28 01:04:11 +00:00
Matthew Kennedy addf97ee08 prep for lua (#2589)
* thread priority

* build

* makefile prep

* call startup

* s
2021-04-27 07:57:08 -04:00
Matthew Kennedy 8f06e1c0c6 higher priority for log buffer flush (#2592) 2021-04-27 07:52:12 -04:00
GitHub build-firmware Action f847bde49f Auto-generated configs and docs 2021-04-26 21:59:44 +00:00
rusefillc cb7cb8ae15 https://rusefi.com/forum/viewtopic.php?p=40654 2021-04-26 17:32:00 -04:00
GitHub build-firmware Action 0a4e7b9c50 Auto-generated configs and docs 2021-04-26 03:12:08 +00:00
GitHub build-firmware Action e84750de40 Auto-generated configs and docs 2021-04-26 01:46:15 +00:00
GitHub set-date Action 43e17ef9dd Update date 2021-04-26 01:07:19 +00:00
rusefillc 99059ef846 https://rusefi.com/forum/viewtopic.php?f=16&t=1996 2021-04-25 09:34:40 -04:00
GitHub build-firmware Action f1c05a7ab7 Auto-generated configs and docs 2021-04-25 13:24:53 +00:00
rusefillc 87e0b28cc4 https://rusefi.com/forum/viewtopic.php?f=16&t=1996 2021-04-25 09:18:35 -04:00
rusefillc 060b8b9c87 https://rusefi.com/forum/viewtopic.php?f=2&t=1993 2021-04-24 22:54:50 -04:00
GitHub set-date Action 32ba08d5ff Update date 2021-04-25 01:08:47 +00:00
shadowm60 003f5b1cfa 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 f200be7100 Update date 2021-04-24 01:04:32 +00:00
shadowm60 4ea719c60c 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 7300bbe750 improving QC process 2021-04-23 00:45:36 -04:00
rusefi 6c75a3d7b4 improving QC process 2021-04-22 22:04:39 -04:00
rusefi 7e4e22f544 Merge remote-tracking branch 'origin/master' 2021-04-22 21:27:15 -04:00
rusefi be0f2210c5 improving QC process 2021-04-22 21:23:20 -04:00
GitHub set-date Action df04dd2c7a Update date 2021-04-23 01:04:11 +00:00
GitHub set-date Action e3cbb939ec Update date 2021-04-22 01:04:15 +00:00
Matthew Kennedy b6fc9befc8 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 5f0791f9fb 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 737ee444b8 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
GitHub set-date Action f97216d21f Update date 2021-04-21 01:03:01 +00:00
Matthew Kennedy 8cfb63455d 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 1694380bf6 Auto-generated configs and docs 2021-04-20 03:56:24 +00:00
GitHub build-firmware Action f0fc0acdc4 Auto-generated configs and docs 2021-04-20 03:35:59 +00:00
GitHub set-date Action 045b61a23c Update date 2021-04-20 01:03:45 +00:00
Matthew Kennedy 967383dd8e 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
GitHub set-date Action f0b8ab8864 Update date 2021-04-19 01:03:12 +00:00
Matthew Kennedy 992c16b4af 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 babb43013f 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 959a63d7de hellen64 scripts and pinout #2565 2021-04-18 10:42:50 -04:00
GitHub build-firmware Action e155a32186 Auto-generated configs and docs 2021-04-18 13:37:46 +00:00
Andrey G 7da6b4fa67 use cylinders_count_t in loops through cylinders (#2563)
to supress signed vs usigned warnings
2021-04-18 08:58:56 -04:00
GitHub set-date Action 9fa1edb53b Update date 2021-04-18 01:04:54 +00:00
GitHub set-date Action 85194f7135 Update date 2021-04-17 01:01:34 +00:00
GitHub set-date Action 28bb808eb9 Update date 2021-04-16 01:02:48 +00:00
rusefillc 9c1aa580f1 WOW major scheduling drama on NB2 running with Proteus #2533 2021-04-15 19:12:09 -04:00
rusefillc f0c98325be 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 6bc7a0e134 WOW major scheduling drama on NB2 running with Proteus #2533
removing weird comments
2021-04-15 18:22:23 -04:00
GitHub build-firmware Action 5aa4bff04c Auto-generated configs and docs 2021-04-15 20:50:35 +00:00
GitHub build-firmware Action a8bfcacc53 Auto-generated configs and docs 2021-04-15 05:23:00 +00:00
Matthew Kennedy 8bb32b2199 gppwm zero option (#2557)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 01:08:34 -04:00
GitHub set-date Action 4fc78d22b7 Update date 2021-04-15 01:03:18 +00:00
GitHub build-firmware Action 2debd4bb46 Auto-generated configs and docs 2021-04-14 01:18:43 +00:00
GitHub set-date Action c38e6a21ec Update date 2021-04-14 01:01:21 +00:00
Matthew Kennedy 774f4416a7 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 28afbd648b dead code - same value set by 's->initialize' 2021-04-13 01:11:03 -04:00
rusefillc 80adaadd7a Kawasaki KX450F trigger wheel #2538 2021-04-13 00:24:52 -04:00
GitHub set-date Action d428e20f6b Update date 2021-04-13 01:06:18 +00:00
GitHub build-firmware Action 4baea664d8 Auto-generated configs and docs 2021-04-12 18:12:58 +00:00
Matthew Kennedy d7e95cd31f 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 d13fa8d1f3 Auto-generated configs and docs 2021-04-12 12:25:48 +00:00
Matthew Kennedy 15de7b8c5d check if flash erase failed (#2543)
* check flash erase result

* format

* string

* s
2021-04-12 08:18:11 -04:00
GitHub build-firmware Action 92afc69055 Auto-generated configs and docs 2021-04-12 04:26:37 +00:00
GitHub set-date Action 4b8d198c4b Update date 2021-04-12 01:06:03 +00:00
rusefillc 448dafb5f2 https://rusefi.com/forum/viewtopic.php?p=40383 2021-04-11 18:20:35 -04:00
rusefillc 5968149584 https://github.com/rusefi/hellen72/issues/25 2021-04-10 23:30:36 -04:00
rusefillc 067bdc188f https://github.com/rusefi/hellen72/issues/25 2021-04-10 23:22:25 -04:00
GitHub set-date Action 4e7943c6cd Update date 2021-04-11 01:06:44 +00:00
Matthew Kennedy 6a2a6da67f 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
GitHub set-date Action e4f89bb0ce Update date 2021-04-10 01:03:45 +00:00
rusefillc 2547283f45 Kawasaki KX450F trigger wheel #2538 2021-04-09 12:44:28 -04:00
rusefillc 06ada8562b Kawasaki KX450F trigger wheel #2538 2021-04-08 22:16:14 -04:00
GitHub build-firmware Action d1f4709d55 Auto-generated configs and docs 2021-04-09 02:10:22 +00:00
GitHub set-date Action 09ef712995 Update date 2021-04-09 01:00:43 +00:00
rusefillc 80d080da6f helping us trace CUSTOM_FSIO_STACK_SIZE 2021-04-08 15:59:42 -04:00
rusefillc c3270fb715 helping us trace CUSTOM_FSIO_STACK_SIZE 2021-04-08 15:15:12 -04:00
rusefillc ffe845ab1a CUSTOM_ERR_VVT_OUT_OF_RANGE warning false-positive fix #2534 2021-04-08 14:39:26 -04:00
GitHub set-date Action d626f3d370 Update date 2021-04-08 01:07:00 +00:00
GitHub build-firmware Action 67a6ecb595 Auto-generated configs and docs 2021-04-07 20:46:09 +00:00
rusefi 02406641c6 trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 16:44:21 -04:00
rusefi 3d89cc2093 trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 15:17:01 -04:00
GitHub build-firmware Action c5c8d4fc22 Auto-generated configs and docs 2021-04-07 16:18:41 +00:00
rusefillc c886394947 trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 12:16:23 -04:00
rusefillc 9c26a84be9 trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 01:21:28 -04:00
GitHub set-date Action 5971428b1d Update date 2021-04-07 01:02:55 +00:00
GitHub set-date Action 6a7c0b689c Update date 2021-04-06 01:03:54 +00:00
GitHub build-firmware Action a137d2c3e6 Auto-generated configs and docs 2021-04-05 19:58:54 +00:00
Matthew Kennedy 7782ebd7b4 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
rusefillc a9e822f790 'displayLogicLevelsInEngineSniffer' on VVT input reports too much into engine sniffer fix #2528 2021-04-04 23:12:07 -04:00
rusefillc f8aa71bf63 refactoring 2021-04-04 23:03:51 -04:00
rusefillc 549839b0de engine sniffer into unit tests 2021-04-04 22:41:38 -04:00
rusefillc 4a94e65a2e code style? 2021-04-04 22:09:22 -04:00
rusefillc 181db048fe todo? 2021-04-04 22:05:55 -04:00
GitHub set-date Action 962026f33b Update date 2021-04-05 01:05:40 +00:00
GitHub build-firmware Action e23a3d39c0 Auto-generated configs and docs 2021-04-05 00:01:45 +00:00
Andrey G a0053d5845 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 9871ab15b2 linking error on jenkins and Andrey's windows desktop fix #2520 2021-04-03 23:34:56 -04:00
GitHub set-date Action 2aa9b3cd57 Update date 2021-04-04 01:05:14 +00:00
GitHub build-firmware Action d1e86436dd Auto-generated configs and docs 2021-04-04 00:31:15 +00:00
GitHub set-date Action 8e17acdab9 Update date 2021-04-03 01:01:42 +00:00
GitHub set-date Action c8fe69a952 Update date 2021-04-02 01:10:09 +00:00
Matthew Kennedy d6c9f1d84f aux temp (#2515) 2021-03-31 22:54:59 -04:00
Matthew Kennedy 8aed80c332 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 e12f07ffc0 Update date 2021-04-01 01:03:41 +00:00
Matthew Kennedy 761e65c710 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 cd03d83c2b Update date 2021-03-31 00:57:56 +00:00
Andrey G 112b4d1182 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 9810406fa6 fix (#2511) 2021-03-30 07:28:22 -04:00
GitHub set-date Action 23c73791bd Update date 2021-03-30 01:00:14 +00:00
GitHub build-firmware Action 96d59b4629 Auto-generated configs and docs 2021-03-29 13:06:35 +00:00
Matthew Kennedy f24c15a9a2 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 32cedfd08d Update date 2021-03-29 01:03:37 +00:00
GitHub build-firmware Action 87a8cb9a78 Auto-generated configs and docs 2021-03-28 12:41:23 +00:00
GitHub build-firmware Action ccac435c92 Auto-generated configs and docs 2021-03-28 12:09:36 +00:00
Matthew Kennedy 204aa33e9a 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 947d335a20 Update date 2021-03-28 01:01:53 +00:00
GitHub build-firmware Action ead0e378e8 Auto-generated configs and docs 2021-03-27 23:02:46 +00:00
Andrey G 5fda278503 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 7de5e303a3 Update date 2021-03-27 01:00:23 +00:00
Matthew Kennedy ce142907a0 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 743d7ffa90 Update date 2021-03-26 00:53:17 +00:00
Matthew Kennedy cc566744be 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 368415972e 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 2839c6f069 use cpp (#2493) 2021-03-25 18:12:17 -04:00
Matthew Kennedy 4e1d30f86d 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 904717b77b Update date 2021-03-25 00:29:25 +00:00
GitHub set-date Action 59c589a177 Update date 2021-03-24 00:49:15 +00:00
GitHub build-firmware Action 00f7b19e0d Auto-generated configs and docs 2021-03-24 00:29:05 +00:00
GitHub build-firmware Action 7cdd6f8228 Auto-generated configs and docs 2021-03-23 19:20:23 +00:00
GitHub set-date Action e9cd88a926 Update date 2021-03-23 00:48:35 +00:00
Matthew Kennedy 92d249918b 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 335d55b48d Auto-generated configs and docs 2021-03-22 11:54:44 +00:00
Matthew Kennedy db7856523c 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 77b0b8f5d2 Update date 2021-03-22 00:49:10 +00:00
GitHub set-date Action 0b021cf416 Update date 2021-03-21 00:51:23 +00:00
rusefillc 1162e5e75b 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 aa05ff195d 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 3cfbd336e2 Update date 2021-03-20 00:48:31 +00:00
GitHub build-firmware Action 1144514671 Auto-generated configs and docs 2021-03-19 21:20:54 +00:00
Matthew Kennedy 2bf833a1ee 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 62c38de068 Auto-generated configs and docs 2021-03-19 12:41:10 +00:00
Matthew Kennedy 5e6746c3aa 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 c16757b75a Update date 2021-03-19 00:49:12 +00:00
Matthew Kennedy d9f58c2993 fix (#2471) 2021-03-18 04:02:32 -04:00
GitHub set-date Action 058046ceb0 Update date 2021-03-18 00:48:10 +00:00
Matthew Kennedy 925a6ca086 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 d32e1bba4f Update date 2021-03-17 00:48:26 +00:00
GitHub set-date Action 2dc0c9306f Update date 2021-03-16 00:47:02 +00:00
Matthew Kennedy c168c748ea dead code, warnings (#2461) 2021-03-15 10:23:19 -04:00
Matthew Kennedy 10a5d1fd76 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 d84c4e28f3 Update date 2021-03-15 00:48:29 +00:00
Matthew Kennedy 910f46267f 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 7b66ec5cf3 VAG MQB 2021-03-14 17:40:33 -04:00
GitHub build-firmware Action 8fd70f63a1 Auto-generated configs and docs 2021-03-14 21:30:08 +00:00
rusefillc 99787df047 VAG MQB 2021-03-14 17:27:26 -04:00
GitHub build-firmware Action 3d9483144a Auto-generated configs and docs 2021-03-14 21:22:47 +00:00
Matthew Kennedy 4171ab2d11 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 962e0b32e7 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 55b7a60f06 Update date 2021-03-14 00:50:10 +00:00
Matthew Kennedy 765895d913 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 da272532ff Auto-generated configs and docs 2021-03-13 04:21:15 +00:00
GitHub build-firmware Action 8e9c938434 Auto-generated configs and docs 2021-03-13 03:33:50 +00:00
GitHub set-date Action ce848c06a6 Update date 2021-03-13 00:46:26 +00:00
GitHub build-firmware Action 5b25a39955 Auto-generated configs and docs 2021-03-12 05:18:18 +00:00
Matthew Kennedy 72214b8b77 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 9f90387d09 vBatt -> SensorType::vBatt fix #2260 2021-03-11 23:07:18 -05:00
rusefillc 98eae45094 vBatt -> SensorType::vBatt #2260 2021-03-11 22:52:34 -05:00
rusefillc 416c65b475 vBatt -> SensorType::vBatt #2260 2021-03-11 22:44:59 -05:00
rusefillc a0a6e445dd Merge remote-tracking branch 'origin/master' into master 2021-03-11 22:44:11 -05:00
rusefillc 5d6db3fbc5 my bad 2021-03-11 22:42:59 -05:00
GitHub set-date Action ffb55722fb Update date 2021-03-12 00:47:42 +00:00
rusefillc b56bc1f167 "onTime above limit %dus", TOO_FAR_INTO_FUTURE_US 2021-03-11 14:05:15 -05:00
GitHub build-firmware Action 08081f179f Auto-generated configs and docs 2021-03-11 13:40:39 +00:00
Matthew Kennedy ce3878949c 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 91ec7c1536 Update date 2021-03-11 00:48:02 +00:00
Matthew Kennedy b3d132278d accurate bench test (#2441)
* accurate bench test

* allow shorter pulses
2021-03-10 17:30:13 -05:00
GitHub set-date Action a4687d7c5a Update date 2021-03-10 00:47:24 +00:00
Matthew Kennedy dafd28d751 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 943e6078c8 logging cleanup before refactor (#2438)
* minor cleanup

* more cleaning

* signature

* spelling

* doy
2021-03-09 08:43:29 -05:00
GitHub set-date Action 3a291058c5 Update date 2021-03-09 00:46:44 +00:00
Matthew Kennedy 64a36a8003 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 c954803292 TDC Trigger Position #2428
any single-tooth primary trigger should automatically run with "useOnlyPrimaryForSync = true;"
2021-03-08 00:00:48 -05:00
rusefillc 1b1bd0065d removing dead code - initialize() sets 'true' already 2021-03-07 23:37:54 -05:00
Matthew Kennedy e6d24d3010 avoid various "no connect" scenarios (#2432)
* init mmc and USB earlier

* connect USB faster
2021-03-07 20:21:42 -05:00
Matthew Kennedy d7536bf059 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 fc5aa6b690 Update date 2021-03-08 00:47:40 +00:00
Matthew Kennedy 506fb55f5c 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 a7a82b1aab remove lastTriggerToothEventTimeNt (#2430)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:11:50 -05:00
Matthew Kennedy d5bc14719e 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 abdce83190 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 b43b22c8dc Update date 2021-03-07 00:49:24 +00:00
GitHub build-firmware Action bd58c2cdc0 Auto-generated configs and docs 2021-03-06 02:09:06 +00:00
GitHub build-firmware Action 80d6a84ddd Auto-generated configs and docs 2021-03-06 01:48:51 +00:00
GitHub build-firmware Action ea78c87b0f Auto-generated configs and docs 2021-03-06 01:45:12 +00:00
GitHub build-firmware Action 382d45c18c Auto-generated configs and docs 2021-03-06 01:34:46 +00:00
GitHub build-firmware Action 306737f17d Auto-generated configs and docs 2021-03-06 01:00:28 +00:00
GitHub set-date Action 05e34512dd Update date 2021-03-06 00:46:28 +00:00
GitHub build-firmware Action b2a3b3b1b2 Auto-generated configs and docs 2021-03-06 00:30:16 +00:00
slowriot 9a8c2516ee 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 b8dc34493c Auto-generated configs and docs 2021-03-05 22:44:12 +00:00
GitHub build-firmware Action 960afe1514 Auto-generated configs and docs 2021-03-05 03:41:12 +00:00
Matthew Kennedy 122f31fe4a 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 7430bad8d7 Auto-generated configs and docs 2021-03-05 02:01:14 +00:00
GitHub set-date Action 3ed32baf46 Update date 2021-03-05 00:47:05 +00:00
GitHub set-date Action 625f0fd121 Update date 2021-03-04 00:46:46 +00:00
GitHub build-firmware Action ccbc4f2a2a Auto-generated configs and docs 2021-03-03 12:32:56 +00:00
Matthew Kennedy 89d71e4379 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 59ecd6d594 Auto-generated configs and docs 2021-03-03 03:16:19 +00:00
GitHub set-date Action d5adf0bdfe Update date 2021-03-03 00:45:57 +00:00
GitHub set-date Action f9e610ffa0 Update date 2021-03-02 00:38:34 +00:00
GitHub build-firmware Action 9e3fb6b527 Auto-generated configs and docs 2021-03-01 14:54:41 +00:00
GitHub build-firmware Action cd5df39d8d Auto-generated configs and docs 2021-03-01 03:36:14 +00:00
GitHub set-date Action ad177fca88 Update date 2021-03-01 00:48:45 +00:00
GitHub build-firmware Action 18324fb325 Auto-generated configs and docs 2021-03-01 00:43:17 +00:00
GitHub build-firmware Action a3e09408a3 Auto-generated configs and docs 2021-02-28 23:58:40 +00:00
Matthew Kennedy 4d080c4e86 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 e6ae97d905 Auto-generated configs and docs 2021-02-28 21:59:46 +00:00
GitHub build-firmware Action 8ac66759ce Auto-generated configs and docs 2021-02-28 20:45:15 +00:00
GitHub build-firmware Action cd97a2605f Auto-generated configs and docs 2021-02-28 12:32:47 +00:00
Matthew Kennedy f8747a35bf 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 405578d90a Auto-generated configs and docs 2021-02-28 01:16:53 +00:00
GitHub set-date Action 5de4b67f6f Update date 2021-02-28 00:48:23 +00:00
GitHub set-date Action ddc9792e60 Update date 2021-02-27 00:45:37 +00:00
GitHub build-firmware Action 4fc2083cc5 Auto-generated configs and docs 2021-02-26 22:40:02 +00:00
GitHub build-firmware Action 2e3985657c Auto-generated configs and docs 2021-02-26 19:46:59 +00:00
Matthew Kennedy c4e849d143 Update submodules (#2407)
* contrib

* update wideband
2021-02-26 14:44:46 -05:00
GitHub build-firmware Action 1ffbce9d6c Auto-generated configs and docs 2021-02-26 13:01:20 +00:00
GitHub set-date Action f4e12d2c22 Update date 2021-02-26 00:45:18 +00:00
GitHub build-firmware Action 7b5c982939 Auto-generated configs and docs 2021-02-25 22:11:12 +00:00
GitHub build-firmware Action 5b5b825430 Auto-generated configs and docs 2021-02-25 18:39:40 +00:00
GitHub build-firmware Action bd174f2977 Auto-generated configs and docs 2021-02-25 06:39:30 +00:00
GitHub build-firmware Action 429c5da521 Auto-generated configs and docs 2021-02-25 02:57:52 +00:00
GitHub set-date Action 50af3c95df Update date 2021-02-25 00:48:59 +00:00
GitHub build-firmware Action 1c8a8c24c6 Auto-generated configs and docs 2021-02-24 20:04:17 +00:00
GitHub build-firmware Action 6267b525f8 Auto-generated configs and docs 2021-02-24 19:09:56 +00:00
GitHub build-firmware Action 68edc17efd Auto-generated configs and docs 2021-02-24 13:17:30 +00:00
GitHub build-firmware Action b6bccd2daa Auto-generated configs and docs 2021-02-24 03:57:41 +00:00
GitHub set-date Action 99ac654e22 Update date 2021-02-24 00:45:24 +00:00
GitHub build-firmware Action b80d4180ce Auto-generated configs and docs 2021-02-24 00:20:19 +00:00
GitHub build-firmware Action ef72cf1988 Auto-generated configs and docs 2021-02-24 00:13:13 +00:00
GitHub build-firmware Action aa6d472166 Auto-generated configs and docs 2021-02-23 21:59:18 +00:00
Matthew Kennedy 350a047ead cleanup (#2386) 2021-02-23 16:57:14 -05:00
GitHub set-date Action f8437c80b5 Update date 2021-02-23 00:44:52 +00:00
GitHub build-firmware Action 585d66b7de Auto-generated configs and docs 2021-02-22 21:54:33 +00:00
GitHub build-firmware Action cf51ce14bc Auto-generated configs and docs 2021-02-22 21:25:20 +00:00
GitHub build-firmware Action e8c1f7915e Auto-generated configs and docs 2021-02-22 21:03:46 +00:00
GitHub set-date Action 6e36603c2b Update date 2021-02-22 00:46:17 +00:00
GitHub build-firmware Action 502051688b Auto-generated configs and docs 2021-02-21 16:03:51 +00:00
GitHub set-date Action 555bd455f5 Update date 2021-02-21 00:46:44 +00:00
GitHub build-firmware Action c9434e5024 Auto-generated configs and docs 2021-02-20 07:13:41 +00:00
GitHub build-firmware Action 17b2172587 Auto-generated configs and docs 2021-02-20 05:49:05 +00:00
GitHub build-firmware Action b4d07f1faf Auto-generated configs and docs 2021-02-20 03:26:09 +00:00
GitHub build-firmware Action 8839056018 Auto-generated configs and docs 2021-02-20 01:50:25 +00:00
GitHub set-date Action e37e166315 Update date 2021-02-20 00:44:01 +00:00
GitHub build-firmware Action 576a194d1d Auto-generated configs and docs 2021-02-19 22:52:43 +00:00
GitHub build-firmware Action 508982d4ab Auto-generated configs and docs 2021-02-19 22:03:28 +00:00
GitHub build-firmware Action 670c34ca11 Auto-generated configs and docs 2021-02-19 13:00:43 +00:00
GitHub build-firmware Action 7808449263 Auto-generated configs and docs 2021-02-19 12:42:54 +00:00
GitHub set-date Action 277904e8eb Update date 2021-02-19 00:53:52 +00:00
GitHub build-firmware Action 260aa6e333 Auto-generated configs and docs 2021-02-18 23:20:11 +00:00
GitHub build-firmware Action 30e7a655dc Auto-generated configs and docs 2021-02-18 22:36:03 +00:00
GitHub build-firmware Action 1c6e33f089 Auto-generated configs and docs 2021-02-18 22:09:39 +00:00
GitHub build-firmware Action 4ca8037178 Auto-generated configs and docs 2021-02-18 21:18:58 +00:00
GitHub build-firmware Action 68780d39af Auto-generated configs and docs 2021-02-18 20:06:38 +00:00
GitHub build-firmware Action 8a02dcd7ef Auto-generated configs and docs 2021-02-18 05:13:23 +00:00
rusefillc b00a05aa17 aux valve to CI 2021-02-18 00:11:10 -05:00
GitHub build-firmware Action f6659cdff4 Auto-generated configs and docs 2021-02-18 04:52:54 +00:00
GitHub build-firmware Action 555080bb73 Auto-generated configs and docs 2021-02-18 04:34:52 +00:00
Matthew Kennedy 321fe48b27 rework FSIO LEelement (#2374)
* save

* firmware

* test parsing multiple things

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

* do the cleanup

* one last spot

* expand_engine noop for firmware

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

* last few
2021-02-16 09:32:16 -05:00
GitHub build-firmware Action ba52adc205 Auto-generated configs and docs 2021-02-16 03:04:34 +00:00
GitHub set-date Action 196845c10f Update date 2021-02-16 00:44:01 +00:00
Matthew Kennedy c75af2ac75 properly put buffers in no-cache regions (#2357)
* configure for no cache

* this doesn't need a setting

* now we don't need invalidate

* reorder and comment

* mmc

* sw knock
2021-02-15 17:39:11 -05:00
GitHub build-firmware Action 9c18e0151f Auto-generated configs and docs 2021-02-15 03:38:10 +00:00
GitHub set-date Action df1b9aab05 Update date 2021-02-15 00:44:26 +00:00
GitHub set-date Action 947dcbcc20 Update date 2021-02-14 00:45:36 +00:00
rusefillc 5f964aa9dd Gather Nissan CAN data #2278
one step back
2021-02-13 09:32:45 -05:00
rusefillc 2d68405d96 Gather Nissan CAN data #2278 2021-02-12 23:07:21 -05:00
GitHub build-firmware Action adbaa27eea Auto-generated configs and docs 2021-02-13 01:50:56 +00:00
rusefillc 8d74b26beb Gather Nissan CAN data #2278 2021-02-12 20:47:12 -05:00
GitHub build-firmware Action b120d4a8dc Auto-generated configs and docs 2021-02-13 01:43:05 +00:00
GitHub build-firmware Action 1bad7f3e69 Auto-generated configs and docs 2021-02-13 01:30:02 +00:00
GitHub set-date Action 92b0b8d47b Update date 2021-02-13 00:43:49 +00:00
GitHub set-date Action babd74acd8 Update date 2021-02-12 00:43:44 +00:00
rusefi 94ea5a8ecc M62T vanos support #2243 2021-02-10 22:20:17 -05:00
GitHub build-firmware Action 33db7786d0 Auto-generated configs and docs 2021-02-11 02:49:50 +00:00
rusefillc b79fb2ac5f M62T vanos support #2243 2021-02-10 21:44:21 -05:00
GitHub build-firmware Action 20252d0c79 Auto-generated configs and docs 2021-02-11 01:23:22 +00:00
rusefillc dcbcd21964 Merge remote-tracking branch 'origin/master' into master 2021-02-10 19:51:27 -05:00
rusefillc 8d730b6ea9 M62T vanos support #2243 2021-02-10 19:51:14 -05:00
GitHub set-date Action 703547ff74 Update date 2021-02-11 00:43:33 +00:00
GitHub build-firmware Action a283051a49 Auto-generated configs and docs 2021-02-10 23:57:38 +00:00
rusefillc f312c9ab94 M62T vanos support #2243
need a bit of RAM
2021-02-10 13:31:39 -05:00
rusefi 6c9416daa9 aux pid is now VVT 2021-02-10 12:41:38 -05:00
GitHub build-firmware Action bd441017ea Auto-generated configs and docs 2021-02-10 17:26:25 +00:00
Matthew Kennedy a3d0b61cf1 get mcu temperature within port (#2326)
* remove EFI_ADC_TEMP_SENSOR

* implement

* comment

* s

* switch adc_inputs over

* header

* s

* I think aligned-on-stack should work ok

* num channels

* cache safety

* move adc init too

* don't compile that file for the h7

* cypress & kinetis

* ports

* guard against bootloader

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-09 22:04:36 -05:00
GitHub set-date Action f27b4ba4e0 Update date 2021-02-10 00:42:28 +00:00
GitHub build-firmware Action 9e31ea8abb Auto-generated configs and docs 2021-02-09 19:01:08 +00:00
rusefillc 5b47578f3b M62T vanos support #2243 2021-02-09 09:40:08 -05:00
rusefillc 1539bb56ed Merge remote-tracking branch 'origin/master' into master 2021-02-09 00:34:32 -05:00
rusefillc e1f5fff949 M62T vanos support #2243
RAM everything takes a bit of RAM
2021-02-09 00:29:04 -05:00
GitHub build-firmware Action 6a37d337af Auto-generated configs and docs 2021-02-09 05:26:52 +00:00
rusefillc 9dcc54644d M62T vanos support #2243
RAM everything takes a bit of RAM
2021-02-09 00:08:00 -05:00
GitHub build-firmware Action 1ae2b1220a Auto-generated configs and docs 2021-02-09 04:49:57 +00:00
GitHub build-firmware Action 9147c77ec3 Auto-generated configs and docs 2021-02-09 04:23:45 +00:00
rusefillc d0a5cb6e38 M62T vanos support #2243 2021-02-08 22:30:02 -05:00
rusefillc 654a739e6b M62T vanos support #2243 2021-02-08 22:21:02 -05:00
rusefillc f5816e47fd Merge remote-tracking branch 'origin/master' into master 2021-02-08 22:09:13 -05:00
rusefillc dc79ee1511 M62T vanos support #2243 2021-02-08 22:07:14 -05:00
GitHub build-firmware Action f99dd454e6 Auto-generated configs and docs 2021-02-09 02:52:50 +00:00
rusefillc 8fa1a6530b M62T vanos support #2243 2021-02-08 21:50:31 -05:00
rusefi d39b285834 M62T vanos support #2243 2021-02-08 21:28:57 -05:00
rusefi 1012b61e02 M62T vanos support #2243 2021-02-08 20:38:38 -05:00
GitHub set-date Action ab53458188 Update date 2021-02-09 00:43:35 +00:00
rusefi 2ccb75a064 refactoring: naming consistency 2021-02-08 18:20:53 -05:00
rusefi 4b8a92ccc9 M62T vanos support #2243 2021-02-08 18:08:26 -05:00
rusefillc f1e80a2761 M62T vanos support #2243 2021-02-08 16:42:53 -05:00
GitHub build-firmware Action 78df36bad7 Auto-generated configs and docs 2021-02-08 21:41:57 +00:00
Matthew Kennedy 8cc6ef83f9 h7 flash, guard against no CAN (#2317)
* h7 flash

* guard some other stuff

* I guess it just builds now?

* maybe ci too
2021-02-08 16:24:38 -05:00
rusefi d05edd2a3d M62T vanos support #2243 2021-02-08 16:16:26 -05:00
GitHub build-firmware Action f742080a6f Auto-generated configs and docs 2021-02-08 20:31:34 +00:00
rusefillc 694dedf9f7 M62T vanos support #2243 2021-02-08 15:09:12 -05:00
GitHub build-firmware Action 9a66504e1e Auto-generated configs and docs 2021-02-08 19:13:25 +00:00
rusefillc c020aed330 M62T vanos support #2243 2021-02-08 14:10:57 -05:00
Andrey 12fc068316 poke 2021-02-08 10:49:15 -05:00
GitHub set-date Action adc363ac94 Update date 2021-02-08 00:43:33 +00:00
Matthew Kennedy 983d75444e baro in sensor model (#2306)
* baro in sensor model

* missed

* typo

* init baro

* needs an include there
2021-02-07 17:54:41 -06:00
GitHub build-firmware Action 14adde123b Auto-generated configs and docs 2021-02-07 13:48:13 +00:00
GitHub build-firmware Action 6dd99d9d10 Auto-generated configs and docs 2021-02-07 01:56:30 +00:00
rusefillc 11e8a35c15 Trigger pattern request Škoda Favorit fix #2302 2021-02-06 20:53:30 -05:00
rusefillc 4dc9c013c9 Trigger pattern request Škoda Favorit #2302 2021-02-06 20:12:58 -05:00
GitHub build-firmware Action 60630a5559 Auto-generated configs and docs 2021-02-07 00:52:02 +00:00
GitHub set-date Action d183cc24e4 Update date 2021-02-07 00:45:02 +00:00
GitHub build-firmware Action c31db3ab77 Auto-generated configs and docs 2021-02-06 18:52:00 +00:00
Andrey G 0f47cff952 Add subaru eg33 (#2294)
* engine: Subaru SVX EG33 engine configuration

Not tested yet. Just basic settings and placeholder

* board: add Dron_Gus's Subaru EG33 p'n'p board

* board: subaru eg33: linker script: stack, bss and heap to ram0

* board: subaru eg33: add mapping.yaml

* board: subaru eg33: scripts for autogenerated

* board: subaru eg33: fix DMA conflict (ADC1 vs SPI5)

* board: subaru eg33: enable ADC3

* board: subaru eg33: Autogenerated

* board: subaru eg33: disable fsio control of Main Relay

Default MAIN_RELAY_LOGIC cause error during parsing

* board: subaru eg33: configuration hack to fix usbconsole.c

* gen_config: generate config for Subaru SVX board too
2021-02-06 12:50:34 -06:00
Andrey G 04c7ad67aa Some fixes prior to board pull request (#2291)
* ChibiOS: add support for STM32F765

This chip is used on Subaru EG33 p'n'p RusEFI board from Dron_Gus

* drivers: gpio: mc33810: commulative update

- use BIT macro
- fix wake-up method
- fix order of arguments in _add function

* port: stm32f4/7: detectCanDevice check for enabled interfaces only

* ADC: fix internal array size

internalAdcIndexByHardwareIndex should be EFI_ADC_LAST_CHANNEL size
couse adc_channel_e is used as index

* status LEDs: support status LEDs that driven by low level
2021-02-06 12:22:57 -05:00
rusefillc 096c67b4de H7 compilation #2284 2021-02-05 23:57:28 -05:00
rusefillc 3be5714e94 H7 compilation #2284 2021-02-05 23:37:18 -05:00
GitHub set-date Action a1a67a7556 Update date 2021-02-06 00:42:44 +00:00
rusefillc e190f261c4 Merge remote-tracking branch 'origin/master' into master 2021-02-05 19:17:52 -05:00
rusefillc 0b0d66ff04 Gather Nissan CAN data #2278 2021-02-05 19:17:22 -05:00
GitHub build-firmware Action 0651dc1a79 Auto-generated configs and docs 2021-02-05 23:21:55 +00:00
Matthew Kennedy 9b5fa40d16 add option to disable ETB if engine not spinning (#2280)
* config/ui

* trigger central mods

* implement
2021-02-05 17:19:57 -06:00
GitHub build-firmware Action e7900850c5 Auto-generated configs and docs 2021-02-05 16:29:43 +00:00
rusefillc f4592541dd Gather Nissan CAN data #2278 2021-02-05 11:27:51 -05:00
GitHub set-date Action 11f555940a Update date 2021-02-05 00:43:18 +00:00
Matthew Kennedy abb60a68c5 eliminate idle's custom applyPinState (#2273)
* remove

* not static
2021-02-04 17:04:37 -05:00
GitHub set-date Action 9798140584 Update date 2021-02-04 00:42:55 +00:00
GitHub build-firmware Action e1472e8cbf Auto-generated configs and docs 2021-02-03 19:36:47 +00:00
Matthew Kennedy 7fec313f50 Proteus analog input ci (#2271)
* test vbatt

* test proteus vbatt

* tolerance

* these don't work on proteus

* new engine type

* test analog input

* more test points, less tolerance

* console build needs this file generated

* only include for hw ci builds

* wiring info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 13:34:48 -06:00
rusefillc 9efedc0ece https://github.com/rusefi/rusefi/issues/2274 2021-02-03 11:37:47 -05:00
Matthew Kennedy 3cf6b67b87 fix #2269 (#2272)
* fix #2269

* cleanup
2021-02-03 08:04:22 -06:00
Matthew Kennedy 8d9db6b5c1 put vbatt in sensor model (#2261)
* vbatt in sensor model

* sensor name

* vbatt

* s

* oy vei

* a little bit of cleanup

* memory apparently

* cj125 test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 07:55:40 -06:00
GitHub set-date Action f1afc26c74 Update date 2021-02-03 00:45:57 +00:00
rusefillc 2bfac97f93 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-02 11:06:32 -05:00
rusefillc 4fc95cd9c4 Merge remote-tracking branch 'origin/master' into master 2021-02-02 09:50:37 -05:00
rusefillc 0f49d48a42 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-02 09:50:20 -05:00
GitHub build-firmware Action 11e2486f8f Auto-generated configs and docs 2021-02-02 14:17:30 +00:00
Brenton Hewitt 2ce14cb66e Gm map sensors (#2265)
* GM 2 and 1 Bar Map Sensors

* GM MAP Sensor Selection Options
2021-02-02 08:15:28 -06:00
rusefillc 782ae69cc3 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:44:14 -05:00