Commit Graph

10205 Commits

Author SHA1 Message Date
BeerMoneyMotorsports ac1558e123
intMAP fix (#2630)
intMAP a15 fix
2021-05-06 14:34:34 -04:00
rusefillc e2c5a13dbc Temperature sensors issue fix #2629 2021-05-06 13:58:01 -04:00
rusefillc f7d1f2dfac code style 2021-05-06 10:43:42 -04:00
GitHub build-firmware Action 226e5101fa Auto-generated configs and docs 2021-05-06 14:01:30 +00:00
rusefillc f9d88a50e3 code style 2021-05-06 09:58:36 -04:00
rusefillc 7b870d128f poke 2021-05-06 09:47:29 -04:00
BeerMoneyMotorsports 3e5cc75bbd
Update main.yaml (#2626)
CLT pin fix
2021-05-06 09:38:53 -04:00
Matthew Kennedy f1ce1e5b5e
hellen na6 yaml tweaks (#2625)
* cleanup

* all pins have pin number
2021-05-06 08:05:02 -04:00
GitHub set-date Action 016f4121c2 Update date 2021-05-06 00:54:21 +00:00
GitHub build-firmware Action 3a9834f5f0 Auto-generated configs and docs 2021-05-05 14:59:17 +00:00
rusefillc 726ce5160d More human approach to boolean fields #2613 2021-05-05 10:49:47 -04:00
GitHub build-firmware Action 918b7e7b23 Auto-generated configs and docs 2021-05-05 14:04:51 +00:00
rusefillc cd1763b0c9 More human approach to boolean fields #2613 2021-05-05 10:02:35 -04:00
GitHub set-date Action 06eeabfca7 Update date 2021-05-05 00:55:28 +00:00
Andrey G e6cf82845b
Kill warnings (#2623)
* dead code

* rtc_helper: clean-up warnings

* kill unused
2021-05-04 18:55:27 -04:00
GitHub build-firmware Action ac879d7fc6 Auto-generated configs and docs 2021-05-04 19:13:38 +00:00
Matthew Kennedy 35d0ec1ca7
clarify ego enable switch (#2622)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-05-04 15:11:26 -04:00
GitHub build-firmware Action 649e3cd48f Auto-generated configs and docs 2021-05-04 14:14:18 +00:00
Matthew Kennedy 9d4bd0d6fe
Lua debug channels (#2620)
* setdebug hook

* add debug mode

* memory size debug channel

* default script
2021-05-04 10:05:39 -04:00
Matthew Kennedy bb0662791b
use setTable (#2621) 2021-05-04 10:03:41 -04:00
Matthew Kennedy a62b7bedb2
use static buffer for lua heap, enable on f429 (#2619)
* static buffer for lua

* enable lua for 429
2021-05-04 01:03:17 -04:00
GitHub set-date Action d6fc3f9a01 Update date 2021-05-04 00:58:28 +00:00
Matthew Kennedy 8ae8484dd9
interactive lua (#2614)
* interactive lua

* unnecessary pop

* print return value

* enable f7 lua

* match f7 chconf
2021-05-03 17:46:12 -04:00
Andrey G 0f4de02223
ADC: internalIndex should be used as getAvgAdcValue argument (#2618)
* ADC: internalIndex should be used as getAvgAdcValue argument

-plus output messages re-formated

* ADC: logger -> efiPrintf
2021-05-03 16:44:19 -04:00
Andrey G b74d17cee8
Subaru board update (#2616)
* board: subaru_eg33: move to connectors yaml

* engine: subaru EG33: TPS is not inverted

* board: subaru_eg33: fix gen_config script

* board: subaru_eg33: update default settings
2021-05-03 09:32:14 -04:00
rusefillc 4dc461891a 2021 is the year of Hellen 2021-05-03 00:01:53 -04:00
rusefillc 9be7f2c582 50% duty cycle is the default for tach signal 2021-05-02 23:47:47 -04:00
rusefillc be931e41d5 docs 2021-05-02 23:46:30 -04:00
rusefillc 82551a7211 h64 progress 2021-05-02 23:46:09 -04:00
rusefillc 38a7448107 2021 is the year of Hellen 2021-05-02 23:45:39 -04:00
GitHub set-date Action bb4f7248b4 Update date 2021-05-03 01:02:39 +00:00
rusefillc ecdcf8112b 2021 is the year of Hellen 2021-05-02 19:02:30 -04:00
rusefillc d8648f5d6c 2021 is the year of Hellen 2021-05-02 18:52:33 -04:00
GitHub build-firmware Action 004fb770e7 Auto-generated configs and docs 2021-05-02 22:20:31 +00:00
rusefillc 773ed96a95 2021 is the year of Hellen 2021-05-02 18:18:24 -04:00
rusefillc 39ae468016 https://github.com/rusefi/hellen72/issues/40 2021-05-02 11:30:13 -04:00
GitHub set-date Action 96894acfb6 Update date 2021-05-02 01:07:30 +00:00
GitHub build-firmware Action f6d8829635 Auto-generated configs and docs 2021-05-02 00:35:02 +00:00
rusefillc f30f6b8493 h121 poke 2021-05-01 20:26:09 -04:00
GitHub build-firmware Action 5e25c9e3cc Auto-generated configs and docs 2021-05-01 23:47:11 +00:00
rusefillc f351bb4c3a code duplication between hellen boards #2611
it has to get worse before it gets better
2021-05-01 19:45:09 -04:00
rusefillc 2517f5fc63 code duplication between hellen boards #2611
it has to get worse before it gets better
2021-05-01 19:15:23 -04:00
GitHub build-firmware Action ff801f8fda Auto-generated configs and docs 2021-05-01 19:42:36 +00:00
rusefillc d10115ae5c h64 more better error handling 2021-05-01 15:40:27 -04:00
rusefillc a843588861 h64 actually vbatt an analog input 2021-05-01 15:23:04 -04:00
rusefillc e785f81fa4 h64 progress 2021-05-01 15:18:59 -04:00
rusefillc 2181b05013 config definition better error handling 2021-05-01 15:12:39 -04:00
rusefillc 04a929cea9 h64 progress 2021-05-01 14:51:04 -04:00
BeerMoneyMotorsports ee2192f97e
Update main.yaml (#2612) 2021-05-01 14:49:34 -04:00
rusefillc 4597cc2c3c h64 progress 2021-05-01 14:46:26 -04:00
GitHub set-date Action c710f1e817 Update date 2021-05-01 01:03:02 +00:00
rusefi 92958f1959 Proteus QC build 2021-04-30 13:57:33 -04:00
GitHub build-firmware Action 32621b6327 Auto-generated configs and docs 2021-04-30 15:03:28 +00:00
rusefillc 56f11bdc9e useFordRedundantTps 2021-04-30 10:57:38 -04:00
GitHub build-firmware Action 625b1ba778 Auto-generated configs and docs 2021-04-30 05:39:53 +00:00
GitHub build-firmware Action bcb71310f0 Auto-generated configs and docs 2021-04-30 05:10:36 +00:00
rusefillc 2575c8beeb Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-30 01:05:23 -04:00
rusefillc 08a9e9a6b7 Who is Mr https://github.com/rusefi/rusefi/blob/master/firmware/tunerstudio/generated/hellen/hellen72_prefix.txt fix #2610 2021-04-30 00:32:08 -04:00
rusefillc 3e10e15bc4 nope, this one is not dead 2021-04-29 23:51:22 -04:00
rusefillc a576c5363e like that maybe? 2021-04-29 23:39:47 -04:00
rusefillc e3c4590831 dead files? 2021-04-29 23:33:30 -04:00
GitHub build-firmware Action b350eecb5b Auto-generated configs and docs 2021-04-30 03:19:47 +00:00
rusefillc b03669e19c it's a Hellen year 2021-04-29 23:15:07 -04:00
rusefillc bd8b211d88 h64 is asking for a poke #3 2021-04-29 23:10:36 -04:00
GitHub build-firmware Action d80da42648 Auto-generated configs and docs 2021-04-30 03:02:06 +00:00
rusefillc 6c6d7f7cf9 h64 is asking for a poke 2021-04-29 23:00:22 -04:00
GitHub build-firmware Action 6df5adc9ed Auto-generated configs and docs 2021-04-30 02:46:12 +00:00
rusefillc 6c6dd5c8bb h64 is asking for a poke 2021-04-29 22:36:21 -04:00
Matthew Kennedy e386ad4b38
Lua tick rate hook (#2606)
* implement setTickRate

* actually load the hook
2021-04-29 22:22:31 -04:00
Matthew Kennedy a25773a11b
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
rusefillc d970b6ed61 http://www.yamllint.com/ is our friend 2021-04-29 21:49:02 -04:00
BeerMoneyMotorsports c360d736fd
Update main.yaml (#2608) 2021-04-29 21:40:52 -04:00
GitHub set-date Action 9231a4147e Update date 2021-04-30 01:00:58 +00:00
GitHub build-firmware Action 081a5c7789 Auto-generated configs and docs 2021-04-29 21:37:27 +00:00
rusefillc b0d2a7b8bd Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-29 17:35:50 -04:00
Matthew Kennedy 5e66e8cb21
encapsulate in smart pointer (#2603)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-29 07:44:32 -04:00
Matthew Kennedy 99fe310a35
sensor_type values (#2604)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-29 07:43:46 -04:00
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