Commit Graph

9940 Commits

Author SHA1 Message Date
rusefillc cd573a5f9d hiding 8888 mess under the rug
making LPS25 one step more available to Hellen
2021-05-14 10:54:40 -04:00
Matthew Kennedy 0c03a1cb4a const airmass (#2694) 2021-05-14 07:17:22 -04:00
GitHub set-date Action 8b4a615ed5 Update date 2021-05-14 01:06:31 +00:00
GitHub build-firmware Action 8ccfdec033 Auto-generated configs and docs 2021-05-13 21:43:25 +00:00
Matthew Kennedy ad505bfb1b idle indicators (#2692)
* add coasting bit

* remove useless bit
2021-05-13 17:35:00 -04:00
Andrey G 636c68efe2 Adc fixes (#2691)
* ADC: save few bytes

* ADC: fix limit checking, add note for futher users

* ADC: not used anymore
2021-05-13 15:51:18 -04:00
GitHub set-date Action 0217ca8af0 Update date 2021-05-13 01:04:30 +00:00
GitHub build-firmware Action fa7afed545 Auto-generated configs and docs 2021-05-12 22:53:51 +00:00
BeerMoneyMotorsports eaa46454c1 Update main.yaml (#2690)
fixes for mixed IO naming.
2021-05-12 18:51:58 -04:00
rusefillc b9ebb6b9b9 gen_config.sh code duplication #2451
David saw dead code
2021-05-11 22:00:36 -04:00
GitHub set-date Action 6f2423635c Update date 2021-05-12 01:00:01 +00:00
GitHub build-firmware Action 2915757c07 Auto-generated configs and docs 2021-05-12 00:42:39 +00:00
BeerMoneyMotorsports ed24ca8429 Update main.yaml (#2688) 2021-05-11 20:40:17 -04:00
GitHub build-firmware Action 55f09db90f Auto-generated configs and docs 2021-05-11 22:40:44 +00:00
BeerMoneyMotorsports 67bc1325aa Update main.yaml (#2686)
Added Boost control, Flex input and knock input to options connector.
2021-05-11 18:35:05 -04:00
Andrey G f9d2694dfd mc33810 (#2684)
* mc33810: ENABLE outputs

* mc33810: enable Dwell time control
2021-05-11 18:17:06 -04:00
GitHub build-firmware Action 76c2fa5e23 Auto-generated configs and docs 2021-05-11 21:37:56 +00:00
BeerMoneyMotorsports 35117fad14 Update main.yaml (#2685)
Major pinout update.
2021-05-11 17:35:54 -04:00
GitHub build-firmware Action 17a5ffbf95 Auto-generated configs and docs 2021-05-11 19:51:41 +00:00
Matthew Kennedy 10de5ca77a s (#2683) 2021-05-11 15:45:35 -04:00
BeerMoneyMotorsports 386b9ac39b Update main.yaml (#2682)
update to fix tachout.  Testing a change to GPIO pin
2021-05-11 11:50:49 -04:00
GitHub set-date Action 31d99984f8 Update date 2021-05-11 00:58:30 +00:00
Matthew Kennedy 9307ab6b1e explicitly test PTC thermistors (#2681)
* test ptc

* allow hotter for air cooled people

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-05-10 18:15:09 -04:00
Matthew Kennedy da1d8edfa1 no sd if early fatal (#2680) 2021-05-10 14:31:40 -04:00
Matthew Kennedy 61b0e85e0a don't lowercase console commands (#2664)
* don't lowercase commands

* print bool lua results

* lua memory command
2021-05-10 11:30:50 -04:00
rusefillc b2faae7070 docs 2021-05-10 09:02:27 -04:00
Matthew Kennedy 3bfa1ce66b always resolve (#2678) 2021-05-10 08:53:19 -04:00
GitHub build-firmware Action d12900e322 Auto-generated configs and docs 2021-05-10 12:32:55 +00:00
Matthew Kennedy 047f62b2b9 remove deprecated getEngineLoadT (#2676)
* remove

* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy 1aed5c6ae2 remove intermediate buffer (#2668)
* remove define

* goodbye intermediate logging buffer

* free ram! woo!
2021-05-10 08:01:24 -04:00
GitHub build-firmware Action f37ac697c0 Auto-generated configs and docs 2021-05-10 01:02:11 +00:00
Matthew Kennedy 76f2f063d2 Maf in sensor model (#2672)
* init

* consumers

* hasMafSensor

* consumers

* remove

* remove

* s

* guard

* tiny bit of ram

* ram
2021-05-09 20:59:06 -04:00
Matthew Kennedy 22e1bd1d9d version check (#2673) 2021-05-09 20:26:53 -04:00
Matthew Kennedy 3dd6b2efc9 move FSIO aux analog inputs to sensor model (#2669)
* sensor entries

* init

* non-explicit for list init to work

* switch fsio

* no longer need this lua hook

* init
2021-05-09 19:47:37 -04:00
rusefillc 591b2b3c6c Revert "lua on f407 (#2646)"
This reverts commit e35e99f5
2021-05-09 18:25:50 -04:00
Matthew Kennedy e35e99f52d lua on f407 (#2646)
* lua on f4

* move perf trace to efifeatures

* check that it's defined

* cypress and kinetis

* it would help to define the correct thing

* disable buffer if not used

* we can work with 2k

* turn off ramdisk on mre qc

* wow strncpy is useless for truncated strings

* turn off for bootloader

* lto bootloader
2021-05-09 16:25:38 -04:00
Matthew Kennedy 0af7a9cb2d shrink canned tables (#2651)
* helper

* use it miata

* do type safe copy

* miata vvt

* etb

* default iat correction

* magic is afoot here

* hunchback

* misc

* neon

* neon

* aspire

* citroen

* neon

* missed one

* dead

* festiva

* remove andreyism

* very dead

* no need for copy of that function

* cleanup
2021-05-09 14:37:16 -04:00
Matthew Kennedy 870538bc63 move ADC pin initialization (#2660)
* set the pin in adc subscription land

* remove from adc_inputs

* more subscriptions

* use our lib instead
2021-05-09 14:36:11 -04:00
Matthew Kennedy 33fc8a7185 ini drive contents update (#2665)
* add shortcuts

* move readme

* nozip version of readme

* scripts

* set the filename
2021-05-09 12:18:55 -04:00
rusefillc 159e3cd1ff Support STM32F7 1MB devices #2659 2021-05-09 10:10:00 -04:00
Matthew Kennedy ae668edf2a Fix multi bank fueling (#2661)
* add cylinder number

* changelog

* wording
2021-05-09 09:37:07 -04:00
Matthew Kennedy 03ea9fa13a Support STM32F7 1MB devices (#2659)
* modify linker script for 1MB devices

* handle null flash address

* actually support 1MB F7

* comment
2021-05-09 09:19:20 -04:00
GitHub set-date Action 24c5f06638 Update date 2021-05-09 00:59:39 +00:00
Matthew Kennedy c17e4af490 Proteus legacy vs. non-legacy F7 (#2657)
* proteus f7 is not necessarily legacy

* script

* don't need that any more

* yaml and script

* rename
2021-05-08 18:44:19 -04:00
Andrey G dd46591ad5 hip9011 (#2658)
* hip9011: isolate debug stuff

* hip9011: renames

* hip9011: start sensing knockDetectionWindowStart degres from fire

* engine: more realistic values for knock window

* hip9011: remove magic CS toggling

* hip9011: EFI_HIP_9011_DEBUG should depend on EFI_HIP_9011
2021-05-08 18:43:55 -04:00
GitHub build-firmware Action 2cba913174 Auto-generated configs and docs 2021-05-08 21:43:56 +00:00
Matthew Kennedy d7f9d42e07 Hook up multi bank fuel trim (#2532)
* multi bank trim

* cleaning

* output channels

* output channels
2021-05-08 17:41:50 -04:00
Andrey G ea870c4869 hip9011 (#2654)
* Move HIP states enum out of rusefi_enums.h

-this is internal driver stuff. No need to have it defined globaly.

* Auto-generated configs and docs
2021-05-08 10:08:18 -04:00
Andrey G dd2f8fe457 hip9011 update (#2653)
* hip9011: add check for SPI reply in advanced mode

* hip9011: read value over SPI in advanced mode
2021-05-08 09:50:28 -04:00
rusefillc f72db1df9d same line twice 2021-05-07 22:03:28 -04:00
GitHub set-date Action 8ad07d087e Update date 2021-05-08 00:55:53 +00:00
GitHub build-firmware Action d5472a672f Auto-generated configs and docs 2021-05-07 23:28:16 +00:00
rusefillc a64ea533cb NA6 ini is not uploaded fix #2649 2021-05-07 19:19:20 -04:00
rusefillc 6ba32c65a6 NA6 ini is not uploaded fix #2649 2021-05-07 19:18:43 -04:00
rusefillc 4b9dd02056 check MCU flash size at runtime fix #2648 2021-05-07 17:05:47 -04:00
GitHub build-firmware Action 747ed34b40 Auto-generated configs and docs 2021-05-07 19:43:12 +00:00
rusefillc 18131c13e2 testing yaml automation 2021-05-07 15:34:48 -04:00
Matthew Kennedy 37a3de07cf remove stateChangeCallback from simplepwm (#2644)
* remove callback parameter from cj125

* remove from ext

* remove stateChangeCallback

* alt doesn't need that

* demorgan

* remove call

* bad cut/paste

* check the actual pin in the test
2021-05-07 09:38:41 -04:00
Matthew Kennedy ea6cb14780 move some stuff in to ccm (#2645)
* stuff in ccm

* used memory
2021-05-07 09:35:57 -04:00
Matthew Kennedy b12d392343 pack scheduling_s (#2642)
* pack scheduling_s

* ramz
2021-05-07 08:22:35 -04:00
GitHub build-firmware Action b92f827c36 Auto-generated configs and docs 2021-05-07 03:16:46 +00:00
GitHub set-date Action 477c5f6beb Update date 2021-05-07 00:57:02 +00:00
GitHub build-firmware Action eecb0778f0 Auto-generated configs and docs 2021-05-06 19:28:18 +00:00
rusefillc 28a84669d2 spaces are evil 2021-05-06 15:26:08 -04:00
BeerMoneyMotorsports da880911ef Update rusefi.input (#2631)
poke @dbh97
2021-05-06 15:00:42 -04:00
BeerMoneyMotorsports e37d45fc10 intMAP fix (#2630)
intMAP a15 fix
2021-05-06 14:34:34 -04:00
rusefillc 59884cb5e7 Temperature sensors issue fix #2629 2021-05-06 13:58:01 -04:00
rusefillc e6591f0658 code style 2021-05-06 10:43:42 -04:00
GitHub build-firmware Action aaad9256a3 Auto-generated configs and docs 2021-05-06 14:01:30 +00:00
rusefillc ec3f5466c8 code style 2021-05-06 09:58:36 -04:00
rusefillc 2da748b489 poke 2021-05-06 09:47:29 -04:00
BeerMoneyMotorsports 70aa6eb23b Update main.yaml (#2626)
CLT pin fix
2021-05-06 09:38:53 -04:00
Matthew Kennedy 3e4674500b hellen na6 yaml tweaks (#2625)
* cleanup

* all pins have pin number
2021-05-06 08:05:02 -04:00
GitHub set-date Action 9705921afd Update date 2021-05-06 00:54:21 +00:00
GitHub build-firmware Action b2cf56a5ff Auto-generated configs and docs 2021-05-05 14:59:17 +00:00
rusefillc ee62134957 More human approach to boolean fields #2613 2021-05-05 10:49:47 -04:00
GitHub build-firmware Action a9b83d17e3 Auto-generated configs and docs 2021-05-05 14:04:51 +00:00
rusefillc 6a8d1e619b More human approach to boolean fields #2613 2021-05-05 10:02:35 -04:00
GitHub set-date Action 19ebd48b24 Update date 2021-05-05 00:55:28 +00:00
Andrey G f2a194e035 Kill warnings (#2623)
* dead code

* rtc_helper: clean-up warnings

* kill unused
2021-05-04 18:55:27 -04:00
GitHub build-firmware Action b775331a3c Auto-generated configs and docs 2021-05-04 19:13:38 +00:00
Matthew Kennedy 29244dbdde 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 370180965e Auto-generated configs and docs 2021-05-04 14:14:18 +00:00
Matthew Kennedy 892b03524b 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 6e1212f3ca use setTable (#2621) 2021-05-04 10:03:41 -04:00
Matthew Kennedy 0117dc2dd4 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 ee73067251 Update date 2021-05-04 00:58:28 +00:00
Matthew Kennedy 088ed3c28e 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 2176d1656b 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 e6e5303e87 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 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 12b00e4889 h64 progress 2021-05-02 23:46:09 -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
rusefillc ca4b67dd7b 2021 is the year of Hellen 2021-05-02 18:18:24 -04:00
rusefillc 247ff18c04 https://github.com/rusefi/hellen72/issues/40 2021-05-02 11:30:13 -04: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
rusefillc 888a0b65ef h121 poke 2021-05-01 20:26:09 -04:00
GitHub build-firmware Action 81a8239ba8 Auto-generated configs and docs 2021-05-01 23:47:11 +00:00
rusefillc bfaad4c1b2 code duplication between hellen boards #2611
it has to get worse before it gets better
2021-05-01 19:45:09 -04:00
rusefillc 88a1389af8 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 69d0b15345 Auto-generated configs and docs 2021-05-01 19:42:36 +00:00
rusefillc 84441c1dcb h64 more better error handling 2021-05-01 15:40:27 -04:00
rusefillc e0e92a29e4 h64 actually vbatt an analog input 2021-05-01 15:23:04 -04:00
rusefillc 0fa93d4ae7 h64 progress 2021-05-01 15:18:59 -04:00
rusefillc c2721985b0 config definition better error handling 2021-05-01 15:12:39 -04:00
rusefillc 1b62525871 h64 progress 2021-05-01 14:51:04 -04:00
BeerMoneyMotorsports 03c98e2504 Update main.yaml (#2612) 2021-05-01 14:49:34 -04:00
rusefillc fce1497c51 h64 progress 2021-05-01 14:46:26 -04:00
GitHub set-date Action c1cbd03a1f Update date 2021-05-01 01:03:02 +00:00
rusefi 24a15646bd Proteus QC build 2021-04-30 13:57:33 -04:00
GitHub build-firmware Action 3be5b8db2f Auto-generated configs and docs 2021-04-30 15:03:28 +00:00
rusefillc a74984d7ea useFordRedundantTps 2021-04-30 10:57:38 -04: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
rusefillc 7de4a3bcfe h64 is asking for a poke #3 2021-04-29 23:10:36 -04:00
GitHub build-firmware Action c17ccd7c32 Auto-generated configs and docs 2021-04-30 03:02:06 +00:00
rusefillc bcb7ca4171 h64 is asking for a poke 2021-04-29 23:00:22 -04:00
GitHub build-firmware Action ea781b55c6 Auto-generated configs and docs 2021-04-30 02:46:12 +00:00
rusefillc 412f476dfa h64 is asking for a poke 2021-04-29 22:36:21 -04: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
rusefillc dfd4ba2b5f http://www.yamllint.com/ is our friend 2021-04-29 21:49:02 -04:00
BeerMoneyMotorsports f0b961bde0 Update main.yaml (#2608) 2021-04-29 21:40:52 -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
rusefillc a577968dd9 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-29 17:35:50 -04: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
Andrey G 605378f829 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 33d17be8aa hellen wbo 2021-04-28 19:14:02 -04:00
GitHub build-firmware Action bb53ce64bc Auto-generated configs and docs 2021-04-28 22:55:13 +00:00
Andrey G 28f0e3b0f6 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 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
Matthew Kennedy 0a3e8c2a21 oops (#2598) 2021-04-28 18:28:07 -04:00
GitHub set-date Action eb3dd0e216 Update date 2021-04-28 01:04:11 +00:00
Matthew Kennedy 7c8c14fee2 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