Commit Graph

9764 Commits

Author SHA1 Message Date
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
rusefillc a41df9675d HD44780: start pins on init #2576 2021-04-21 18:17:59 -04:00
rusefillc f94fbcbec0 Switch default idle mode to AUTO #2577
at least all NB2 should be auto idle
2021-04-21 16:21:55 -04:00
rusefillc 2853f74808 better Hellen defaults 2021-04-21 16:15:47 -04:00
Andrey G 38a9e92b53 HD44780: start pins on init (#2576)
This fixes bug introduced in 75098a0d4b
Sorry!
2021-04-21 15:33:58 -04: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
rusefillc 82b821ce83 EFI_SOFTWARE_KNOCK for hellen 2021-04-21 09:56:46 -04:00
rusefillc 9cd73caaf5 EFI_SOFTWARE_KNOCK for hellen 2021-04-20 22:07:09 -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
rusefillc 2c0c5b0ace more correct tachPulseDurationAsDutyCycle tooltip and other boring details 2021-04-19 23:48:03 -04:00
GitHub build-firmware Action f0fc0acdc4 Auto-generated configs and docs 2021-04-20 03:35:59 +00:00
rusefillc 8961dcd64e tachPulseDurationAsDutyCycle tooltip 2021-04-19 23:34:07 -04: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
rusefillc 305d38dabf hellen64 scripts and pinout #2565 2021-04-18 22:03:43 -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 177f3afd05 ts logger (#2566)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 19:13:48 -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
rusefillc 3c0a9ebd5e hellen64 scripts and pinout #2565 2021-04-18 10:15:06 -04:00
rusefillc bb4b737e5a April 2021 Release - "Malbec" 2021-04-18 10:04:55 -04:00
GitHub build-firmware Action e155a32186 Auto-generated configs and docs 2021-04-18 13:37:46 +00:00
rusefillc 592e8c2467 trigger_type_e 2021-04-18 09:35:52 -04: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
rusefillc 213e77f921 he reads my mind 2021-04-17 21:38:58 -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 9f6952b3c6 NB2 trigger decoder fix #2533 2021-04-15 19:30:29 -04: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
rusefillc c64520cb6d Launcher splash screen is freezy fix #2560 2021-04-15 17:03:24 -04:00
GitHub build-firmware Action 5aa4bff04c Auto-generated configs and docs 2021-04-15 20:50:35 +00:00
Matthew Kennedy ebf3da3f6b s (#2559) 2021-04-15 16:42:30 -04:00
rusefillc a0ba7ed86f #2556 2021-04-15 12:00:48 -04:00
rusefillc 57dcc927c9 flush SD log 10x faster #2558 2021-04-15 09:42:22 -04:00
Matthew Kennedy a5d6cb9337 flush 10x faster (#2558)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 09:31:38 -04: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
Matthew Kennedy 1c4c7fe62c remove duplicate SD log fields (#2556)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 01:07:59 -04:00
rusefillc 17b5d9e9cb fresh 2021-04-15 00:43:19 -04:00
GitHub set-date Action 4fc78d22b7 Update date 2021-04-15 01:03:18 +00:00
rusefillc d7087ccdb1 let's see if Jesse BeerMoneyMotorsports is the winner 2021-04-14 20:18:55 -04:00
rusefillc 0540dd49af changelog mount SD card and drive containing TunerStudio ini at the same time 2021-04-14 09:26:18 -04:00
rusefillc b5ac82913b nothing happens here 2021-04-13 23:32:32 -04:00
rusefillc e03cd12d54 ## April 2021 Release "Be Kind to Lawyers Day" 2021-04-13 23:32:31 -04:00
GitHub build-firmware Action 2debd4bb46 Auto-generated configs and docs 2021-04-14 01:18:43 +00:00
rusefillc 3849725586 MAP3 (A15) Not available for input in TS #27 2021-04-13 21:16:44 -04: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
Matthew Kennedy cc8c28f7d2 dfco (#2544)
* dfco

* tool tip
2021-04-12 08:17:17 -04:00
GitHub build-firmware Action 92afc69055 Auto-generated configs and docs 2021-04-12 04:26:37 +00:00
rusefi c5a275d8b4 Merge remote-tracking branch 'origin/master' 2021-04-12 00:04:52 -04:00
rusefi c3ec4a940e MAP3 (A15) Not available for input in TS #27 2021-04-12 00:00:21 -04:00
GitHub set-date Action 4b8d198c4b Update date 2021-04-12 01:06:03 +00:00
rusefillc d6273206b6 Merge remote-tracking branch 'origin/master' into master 2021-04-11 18:20:43 -04:00
rusefillc 448dafb5f2 https://rusefi.com/forum/viewtopic.php?p=40383 2021-04-11 18:20:35 -04:00
Matthew Kennedy 96e655ff4e sd buffer (#2540) 2021-04-11 10:15:54 -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
David Holdeman b655b70f58 quote proteus pins with # (#2539) 2021-04-10 08:35:00 -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
rusefillc 4708f661d4 Kawasaki KX450F trigger wheel #2538 2021-04-08 22:07:15 -04:00
GitHub set-date Action 09ef712995 Update date 2021-04-09 01:00:43 +00:00
rusefillc 8080f3bde7 helping us trace CUSTOM_INTEPOLATE_ERROR 2021-04-08 16:14:06 -04: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
rusefi db85ce95e9 changelog 2021-04-04 23:36:49 -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 b378fcdb88 engine sniffer into unit tests 2021-04-04 22:48:48 -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
rusefillc 9e6674f69d engine sniffer into unit tests 2021-04-04 22:04:59 -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
rusefillc 87d45eda15 Merge remote-tracking branch 'origin/master' into master 2021-04-04 19:56:19 -04:00
rusefillc e6b7bf2e8d 'displayLogicLevelsInEngineSniffer' on VVT input reports too much into engine sniffer #2528 2021-04-04 19:56:08 -04: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
andreika-git 56375c88ee 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 9871ab15b2 linking error on jenkins and Andrey's windows desktop fix #2520 2021-04-03 23:34:56 -04:00
Matthew Kennedy b7aacbe622 h7 dfu and comments (#2522) 2021-04-03 21:58:29 -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
Matthew Kennedy b20ead8d18 More binary log fields (#2518)
* gauge names

* binary log

* it only takes scaled channel
2021-04-03 20:28:55 -04:00
rusefi 53689d91aa explicit status for MSD SD mode 2021-04-03 19:42:54 -04:00
GitHub set-date Action 8e17acdab9 Update date 2021-04-03 01:01:42 +00:00
rusefillc d5a3f70ac3 https://github.com/rusefi/hellen72/issues/19 2021-04-02 14:08:59 -04:00
GitHub set-date Action c8fe69a952 Update date 2021-04-02 01:10:09 +00:00
rusefi f8b0de9123 reuse of TPS calibration 2021-04-01 17:05:01 -04:00
rusefi a1018cf269 engineConfiguration->vbattAdcChannel = EFI_ADC_5; // 4T 2021-04-01 16:47:20 -04:00
rusefi 1d9ba89273 SD init: document or fix unlock SPI fix #2516 2021-04-01 16:21:19 -04:00
rusefi da64802066 SD init: document or fix unlock SPI #2516 2021-04-01 16:20:08 -04: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
Matthew Kennedy ff12c4d214 speed up boot by 48 ms (#2506)
* speed up boot

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

* make h7 happy
2021-03-28 17:03:14 -04:00
Matthew Kennedy 72dac58f9b 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 87a8cb9a78 Auto-generated configs and docs 2021-03-28 12:41:23 +00:00
Matthew Kennedy fddd376a3f 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 ccac435c92 Auto-generated configs and docs 2021-03-28 12:09:36 +00:00
Matthew Kennedy 71a74fd233 slow down fuel level (#2505) 2021-03-28 08:01:08 -04: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
rusefillc bc3cf715c9 Shall we drop "ignitionOffset" feature? #2500
dead code and TS progress
2021-03-27 19:00:35 -04: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