Commit Graph

10224 Commits

Author SHA1 Message Date
rusefillc 7f498e1992 TCU cherry 2021-06-12 00:10:06 -04:00
GitHub build-firmware Action 82ec23f37d Auto-generated configs and docs 2021-06-12 04:03:50 +00:00
rusefillc 9caa794e6c TCU cherry 2021-06-11 23:48:57 -04:00
Andrey 3f1f32fa50 h121 progress 2021-06-11 23:47:12 -04:00
rusefillc d298ba1289 TCU cherry 2021-06-11 23:41:23 -04:00
rusefillc 1ddd756f80 TCU cherry 2021-06-11 23:39:50 -04:00
GitHub set-date Action db28bfffd1 Update date 2021-06-12 00:51:57 +00:00
GitHub build-firmware Action 33a86e061f Auto-generated configs and docs 2021-06-11 16:25:58 +00:00
rusefillc f9d00a16a0 https://github.com/rusefi/hellen121vag/issues/44 2021-06-11 12:23:21 -04:00
GitHub build-firmware Action 5c8de995b7 Auto-generated configs and docs 2021-06-11 10:27:21 +00:00
Matthew Kennedy 41104dcca8 hard coded fan logic (#2805)
* remove fsio

* hard code impl

* test it

* enable fan with AC

* make commented stuff match
2021-06-11 06:25:12 -04:00
GitHub set-date Action 2c6715c8d9 Update date 2021-06-11 00:56:20 +00:00
GitHub build-firmware Action 26cf864e19 Auto-generated configs and docs 2021-06-11 00:00:17 +00:00
BeerMoneyMotorsports 9dc5aff335 Update main.yaml (#2809)
AC comp relay output change to GPIOH_15
2021-06-10 19:45:56 -04:00
Andrey G 84856f3073 Fixes (#2807)
* tle6240: fix Matt's trap

* map: report some default value if no map sensor configured

Othervise user will get "unexpected MAP value" warning

Thread 2 hit Breakpoint 1, validateMap (mapKPa=3121.66162) at ./controllers/sensors/map.cpp:126
126		if (cisnan(mapKPa) || mapKPa < CONFIG(mapErrorDetectionTooLow) || mapKPa > CONFIG(mapErrorDetectionTooHigh)) {
(gdb) bt
 0  validateMap (mapKPa=3121.66162) at ./controllers/sensors/map.cpp:126
 1  0x002717dc in getMap () at ./controllers/engine_cycle/map_averaging.cpp:334
 2  0x0028175a in GetMapWrapper::getMap (this=0x2004214c <mapWrapper>) at ./init/sensor/init_map.cpp:12
 3  0x0028177c in operator() (__closure=0x0) at ./init/sensor/init_map.cpp:20
 4  0x002817a8 in _FUN () at ./init/sensor/init_map.cpp:21
 5  0x002811de in FunctionPointerSensor::get (this=0x20042150 <mapSensor>) at ./controllers/sensors/function_pointer_sensor.h:24
 6  0x002651c0 in SensorRegistryEntry::get (this=0x2003ddf0 <s_sensorRegistry+48>) at ./controllers/sensors/sensor.cpp:111
 7  0x002653e2 in Sensor::get (type=SensorType::Map) at ./controllers/sensors/sensor.cpp:208
 8  0x00261f38 in updateTunerStudioState (tsOutputChannels=0x2003d2e8 <tsOutputChannels>) at ./console/status_loop.cpp:637
 9  0x00262e48 in prepareTunerStudioOutputs () at ./console/status_loop.cpp:900
 10 0x00260914 in TunerStudio::cmdOutputChannels (this=0x20021a64 <tsInstance>, tsChannel=0x2003d4dc <usbChannel>, offset=0, count=340) at ./console/binary/tunerstudio_commands.cpp:24
 11 0x00260584 in TunerStudioBase::handleCrcCommand (this=0x20021a64 <tsInstance>, tsChannel=0x2003d4dc <usbChannel>, data=0x2003d4e1 <usbChannel+5> "", incomingPacketSize=5)
    at ./console/binary/tunerstudio.cpp:701
 12 0x0025fb3c in tsProcessOne (tsChannel=0x2003d4dc <usbChannel>) at ./console/binary/tunerstudio.cpp:537
 13 0x0025fbe2 in TunerstudioThread::ThreadTask (this=0x2003d608 <usbConsole>) at ./console/binary/tunerstudio.cpp:554
 14 0x0025f094 in ThreadController<1200>::StaticThreadTaskAdapter (thread=0x2003d608 <usbConsole>) at ./controllers/system/thread_controller.h:37
 15 0x0020035e in _port_thread_start () at ChibiOS/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S:201
2021-06-10 19:39:48 -04:00
Matthew Kennedy e3bf80b9d7 convert gpiochips to c++ (#2761)
* core

* basic header

* tests are happy

* tle6240

* tle8888

* 33972

* 33810

* tle8888_req_init

* unused warning

* warning

* unsigned

* 8888 debug

* fix

* don't qualify

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-10 04:11:01 -04:00
GitHub set-date Action 866fd0f305 Update date 2021-06-10 01:01:40 +00:00
GitHub build-firmware Action 3c7d0a2743 Auto-generated configs and docs 2021-06-10 00:48:08 +00:00
BeerMoneyMotorsports a97f56e257 Update main.yaml (#2804)
update for AC
2021-06-10 03:39:17 +03:00
GitHub set-date Action 4bc758567c Update date 2021-06-09 01:03:02 +00:00
GitHub build-firmware Action cb3ff8aef7 Auto-generated configs and docs 2021-06-08 18:29:34 +00:00
rusefillc 338ca9477b ETB: do not disable control pins in two wire mode fix #2802 2021-06-08 14:27:04 -04:00
GitHub build-firmware Action b5a00b17ab Auto-generated configs and docs 2021-06-08 11:55:00 +00:00
rusefi d21c1b50dc h121 pps1 pin conflict #2801 2021-06-08 07:52:44 -04:00
GitHub set-date Action aef94f660d Update date 2021-06-08 01:24:03 +00:00
GitHub set-date Action 1fa270795e Update date 2021-06-07 01:26:14 +00:00
Andrey 5ceb3dcdec https://github.com/rusefi/rusefi/wiki/Hellen121VAG 2021-06-06 11:05:47 -04:00
GitHub set-date Action b4546dfe6c Update date 2021-06-06 01:25:25 +00:00
GitHub build-firmware Action 97c3d455da Auto-generated configs and docs 2021-06-05 20:42:46 +00:00
Andrey 2b5611ef62 s/controlPin1/controlPin/ 2021-06-05 16:40:16 -04:00
GitHub build-firmware Action a68c7d7d8b Auto-generated configs and docs 2021-06-05 20:21:28 +00:00
Andrey 17c07a0828 s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
GitHub build-firmware Action 37a3f08c0c Auto-generated configs and docs 2021-06-05 20:09:52 +00:00
Andrey 9e7242befd https://github.com/rusefi/hellen121vag/issues/38 2021-06-05 16:07:30 -04:00
GitHub build-firmware Action d01fd93576 Auto-generated configs and docs 2021-06-05 19:51:13 +00:00
Andrey 33b72b23de https://github.com/rusefi/hellen121vag/issues/38 2021-06-05 15:41:35 -04:00
GitHub build-firmware Action eee3e6087c Auto-generated configs and docs 2021-06-05 11:00:25 +00:00
Andrey 821db8bee2 https://github.com/rusefi/rusefi/wiki/Hellen121VAG 2021-06-05 06:58:13 -04:00
GitHub set-date Action 5e5d724aee Update date 2021-06-05 01:34:35 +00:00
Matthew Kennedy 7101a390db update wideband (#2795)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-04 01:34:30 -04:00
GitHub set-date Action aafe21e6e3 Update date 2021-06-04 01:55:47 +00:00
Matthew Kennedy 135bc9f3ad move ign & cranking defaults (#2791)
* ignition defaults

* cranking

* s
2021-06-03 14:40:19 -04:00
Matthew Kennedy 70c0db189d warnings & assorted cleanup (#2793)
* lua hook

* validateBuffer

* tables

* simplify fsio table

* test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-03 14:30:25 -04:00
GitHub set-date Action 0480cd5a2a Update date 2021-06-03 02:25:33 +00:00
Matthew Kennedy 925399168a defaults cleanup: base engine & fuel (#2790)
* build

* fuel and base

* fix build

* cleanup

* extern

* tps/tps

* alternator

* tps

* iat timing

* cranking RPM

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-03 00:50:07 +03:00
Andrey G 64a1c8678a trigger: subaru 7+6: update cranck angles, add comments (#2789) 2021-06-02 19:19:52 +03:00
Matthew Kennedy de00c7fef7 Bandaid for 2735 (#2788)
* bandaid

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-02 12:02:52 +03:00
GitHub build-firmware Action 6be973db2c Auto-generated configs and docs 2021-06-02 05:30:38 +00:00
Matthew Kennedy cc0547217c Cranking defaults (#2787)
* defaults

* more

* cranking fuel

* cranking timing

* cranking time digits

* ugh these tests shouldn't depend on defaults
2021-06-02 08:21:36 +03:00
GitHub set-date Action d6f8d345dc Update date 2021-06-02 02:50:23 +00:00
GitHub set-date Action bc7807cec1 Update date 2021-06-01 02:47:06 +00:00
GitHub build-firmware Action f689e028fa Auto-generated configs and docs 2021-05-31 22:02:57 +00:00
Matthew Kennedy f21fa3e652 idle fan/AC open loop bump (#2785)
* idle open loop ui section

* idle bump logic

* test fan/ac bump
2021-06-01 00:45:04 +03:00
Matthew Kennedy 1f3cbd67ad iac coast table (#2784) 2021-06-01 00:43:58 +03:00
GitHub build-firmware Action 2ce844802c Auto-generated configs and docs 2021-05-31 12:21:13 +00:00
Andrey 3157642934 cranking dwell minor progress 2021-05-31 08:12:11 -04:00
Matthew Kennedy 6fbdb3c2d0 make the implementation match what the UI claims (#2779) 2021-05-31 07:37:02 -04:00
Matthew Kennedy 1b607faeba Idle test that fails (#2781)
* make member func

* failing test
2021-05-31 06:18:15 -04:00
Matthew Kennedy 6118a6adc6 code style (#2780) 2021-05-31 06:01:57 -04:00
GitHub build-firmware Action 68f768b165 Auto-generated configs and docs 2021-05-31 08:29:46 +00:00
Andrey G 078b65edd9 Subaru svx (#2777)
* Revert "hiding 3rd channel for now"

This reverts commit 00c5c786c7.

* trigger subaru SVX: disable cranck #2 channel

* Board subaru-eg33: fix D10 pin defined twice

* Board subaru-eg33: renumber ignition ouput according cylinder order

* board subaru eg33: use common_make.sh to get dfu files

* board subaru-eg33: update default configuration
2021-05-31 04:25:57 -04:00
GitHub build-firmware Action 359e59a7d8 Auto-generated configs and docs 2021-05-31 08:21:59 +00:00
Matthew Kennedy 37ada8bf53 simplify/clarify cranking UI (#2778)
* simplify/clarify cranking

* dwell

* ign

* tweak idle
2021-05-31 11:09:13 +03:00
GitHub set-date Action 64ef0c5052 Update date 2021-05-31 02:23:23 +00:00
GitHub build-firmware Action 6665fa1215 Auto-generated configs and docs 2021-05-31 00:19:42 +00:00
rusefillc 4267b7dfc9 Maybe split advanced cranking settings #2771
progress
2021-05-30 20:01:11 -04:00
Andrey 90177d4db4 SVX 2021-05-30 19:59:13 -04:00
rusefillc 69d6aabd98 Maybe split advanced cranking settings #2771
grouping fuel stuff a bit better
2021-05-30 19:54:10 -04:00
Matthew Kennedy e68d920a9b Assorted todos (#2762)
* gpiochip todos

* fuel computer

* this was already done
2021-05-30 19:23:29 -04:00
Matthew Kennedy f51dd36622 require redundant pedal (#2758)
* require redundant pedal

* return false

* I don't typing good

* tests

* tests
2021-05-30 19:19:57 -04:00
GitHub build-firmware Action 096c42d428 Auto-generated configs and docs 2021-05-30 11:06:46 +00:00
Matthew Kennedy 4e8574beca safe boost duty (#2764) 2021-05-30 14:04:04 +03:00
Matthew Kennedy 66ab47a8d2 remove old config override (#2763) 2021-05-30 13:31:36 +03:00
GitHub set-date Action 7786776690 Update date 2021-05-30 02:10:59 +00:00
Matthew Kennedy adec4239eb engine stop hook (#2760) 2021-05-30 00:54:36 +03:00
Andrey G 032fa6c435 mc33810: set ignition outputs to GP mode (#2756)
IGN mode does not want to fire Subaru ignitor
2021-05-29 05:07:04 -04:00
Andrey 00c5c786c7 hiding 3rd channel for now 2021-05-29 04:09:12 -04:00
Matthew Kennedy ca625e7935 non blocking flash on f7 dual bank 2MB (#2749)
* f7 dual bank flash

* only start thread if necessary
2021-05-29 08:05:29 +03:00
GitHub set-date Action 69a935a06b Update date 2021-05-29 01:58:23 +00:00
Andrey G b4dce2c26d Flash fix erase check (#2750)
* Fix flash erase error formating

* Flash F7: do magic calculation with local copy of sector number

* Falsh stm32: simplify

* typo?
2021-05-28 20:35:54 +03:00
GitHub build-firmware Action c4a62e489f Auto-generated configs and docs 2021-05-28 07:41:15 +00:00
Matthew Kennedy b9d8416fb2 add pedal to gppwm (#2748)
* add pedal to gppwm

* string
2021-05-28 03:38:45 -04:00
GitHub set-date Action 6bdd773a96 Update date 2021-05-28 01:42:33 +00:00
GitHub build-firmware Action a114509395 Auto-generated configs and docs 2021-05-27 12:25:55 +00:00
Matthew Kennedy ccd75b5173 parser rewrite prep: normalize config (#2741)
* cleanup 1

* cleanup 2

* impl

* fix
2021-05-27 08:23:28 -04:00
rusefillc 68d2fdb6ce https://rusefi.com/forum/viewtopic.php?f=16&t=2027 2021-05-27 05:50:59 -04:00
rusefillc 01212aeabf some 121 coordinates 2021-05-27 05:44:48 -04:00
GitHub set-date Action 48d1ccdc28 Update date 2021-05-27 01:33:27 +00:00
GitHub build-firmware Action 53cc7a746d Auto-generated configs and docs 2021-05-26 18:21:01 +00:00
Andrey 953876cf0f AFR tooltip 2021-05-26 14:11:05 -04:00
GitHub build-firmware Action e6ca803f17 Auto-generated configs and docs 2021-05-26 10:50:56 +00:00
Andrey 16df446fde MRE pinout improvement CAN polarity 2021-05-26 06:49:08 -04:00
Andrey 1b0b81ab9d subaru 7/6 progress based on https://rusefi.com/forum/viewtopic.php?p=41021#p41021 2021-05-26 06:07:31 -04:00
Andrey d993c6522b subaru 7/6 progress based on https://rusefi.com/forum/viewtopic.php?p=41021#p41021 2021-05-26 05:29:41 -04:00
Andrey 0db488b3ef subaru 7/6 progress based on https://rusefi.com/forum/viewtopic.php?p=41021#p41021 2021-05-26 04:46:17 -04:00
GitHub set-date Action acee1b0d16 Update date 2021-05-26 01:22:59 +00:00
GitHub build-firmware Action c158bc05e0 Auto-generated configs and docs 2021-05-25 22:18:20 +00:00
Andrey dda6dfc4cf ET_HELLEN_121_VAG_*_CYL 2021-05-25 18:16:03 -04:00
Andrey e4497358f5 Override trigger gaps feature #2734 2021-05-25 17:19:20 -04:00
rusefillc 9a65cb6f7f Subaru 7+6 trigger refactoring, not changing gap ratio much 2021-05-25 16:31:37 -04:00
GitHub build-firmware Action f646723034 Auto-generated configs and docs 2021-05-25 05:59:02 +00:00
BeerMoneyMotorsports e0209d50f8 Update main.yaml (#2738)
AC and Flex fixes
2021-05-25 08:56:35 +03:00
GitHub set-date Action 10235bdd3f Update date 2021-05-25 01:08:06 +00:00
GitHub build-firmware Action 9eff41297d Auto-generated configs and docs 2021-05-24 21:07:11 +00:00
BeerMoneyMotorsports 9250ca673d Update main.yaml (#2737)
MAF input change, Boost control change.
2021-05-24 17:05:04 -04:00
Andrey 4085e5be00 mkfs.fat phase kills gen_config #2736 2021-05-24 15:35:35 -04:00
Andrey b13b406aab Merge remote-tracking branch 'origin/master' 2021-05-24 14:57:05 -04:00
Andrey 4bada4b858 mkfs.fat phase kills gen_config #2736 2021-05-24 14:55:23 -04:00
GitHub build-firmware Action b52da045bc Auto-generated configs and docs 2021-05-24 14:01:43 +00:00
Andrey 079db30d37 Override trigger gaps feature #2734 2021-05-24 09:52:06 -04:00
Andrey e10f897144 poke 2021-05-24 09:18:14 -04:00
Andrey 3fc69da17f poke 2021-05-24 09:16:53 -04:00
Andrey 4db545a241 mkfs.fat phase kills gen_config #2736 2021-05-24 09:04:37 -04:00
GitHub build-firmware Action 08a4388889 Auto-generated configs and docs 2021-05-24 12:32:31 +00:00
Andrey fde03d4db8 mkfs.fat phase kills gen_config #2736
disabled step for now
2021-05-24 08:29:55 -04:00
GitHub set-date Action 0a4ec2e83a Update date 2021-05-24 01:10:45 +00:00
Andrey 9865b04bf7 Override trigger gaps feature #2734 2021-05-23 20:52:18 -04:00
GitHub build-firmware Action 15aa2c40f8 Auto-generated configs and docs 2021-05-24 00:47:26 +00:00
Andrey 22905bd8e0 Override trigger gaps feature #2734 2021-05-23 20:45:01 -04:00
Andrey f74946e790 Override trigger gaps feature #2734 2021-05-23 20:06:19 -04:00
GitHub build-firmware Action 78c08b9af1 Auto-generated configs and docs 2021-05-24 00:00:27 +00:00
Andrey 765d229efb Override trigger gaps feature #2734 2021-05-23 19:58:03 -04:00
Andrey 62ecef3e3f Override trigger gaps feature #2734 2021-05-23 19:51:00 -04:00
GitHub build-firmware Action 32d4c5045f Auto-generated configs and docs 2021-05-23 18:17:06 +00:00
rusefillc c5f93c1173 cranking timing not costant #2733 2021-05-23 14:14:51 -04:00
GitHub build-firmware Action 94050d776f Auto-generated configs and docs 2021-05-23 18:03:56 +00:00
rusefillc 9b4d8ee320 cranking timing not costant #2733 2021-05-23 13:54:49 -04:00
GitHub set-date Action b6d5bc7c20 Update date 2021-05-23 01:13:29 +00:00
David Holdeman 68da5c279e Doxygen titles (#2728)
* move addRow call

* undo submo bump

* add header titles
2021-05-22 22:10:58 +03:00
GitHub set-date Action 6860ea35a5 Update date 2021-05-22 01:04:39 +00:00
GitHub build-firmware Action 0325f429e8 Auto-generated configs and docs 2021-05-21 21:48:49 +00:00
rusefillc daee2d31f8 some 121 coordinates 2021-05-21 17:40:27 -04:00
GitHub build-firmware Action f57b99e682 Auto-generated configs and docs 2021-05-21 21:25:31 +00:00
rusefillc 5642623dd8 some 121 coordinates 2021-05-21 17:17:03 -04:00
GitHub build-firmware Action a03fe0edd7 Auto-generated configs and docs 2021-05-21 20:21:55 +00:00
rusefillc 6f9faa80dc some 121 coordinates 2021-05-21 16:12:50 -04:00
GitHub build-firmware Action 2ae129616c Auto-generated configs and docs 2021-05-21 19:59:46 +00:00
rusefillc 04298ac9a3 some 121 coordinates 2021-05-21 15:57:16 -04:00
GitHub build-firmware Action 2aea957d52 Auto-generated configs and docs 2021-05-21 19:47:50 +00:00
rusefillc 79eb44fa73 some 121 coordinates 2021-05-21 15:45:38 -04:00
GitHub build-firmware Action ace1f5244d Auto-generated configs and docs 2021-05-21 19:28:41 +00:00
rusefillc 5182b532ff Tooltip and UI updates #2714
cherry-pick
2021-05-21 15:25:49 -04:00
GitHub build-firmware Action 3165857918 Auto-generated configs and docs 2021-05-21 19:21:06 +00:00
rusefillc 95df055379 Tooltip and UI updates #2714
cherry-pick
2021-05-21 15:18:11 -04:00
GitHub build-firmware Action 46b3f841bd Auto-generated configs and docs 2021-05-21 16:15:29 +00:00
BeerMoneyMotorsports 49fb00f8b8 Update main.yaml (#2727)
All relevant pins mapped but no coordinates done yet
2021-05-21 12:13:53 -04:00
GitHub set-date Action 4b47f966f5 Update date 2021-05-21 01:05:29 +00:00
Matthew Kennedy 68ad12da53 convert a table to scaled_channel (#2724)
* scaled VE table

* use setTable

* efi::clear

* ratio -> struct
2021-05-20 20:00:32 -04:00
GitHub build-firmware Action 8adc8d26e9 Auto-generated configs and docs 2021-05-20 23:10:25 +00:00
rusefillc 382b6afac5 progress? 2021-05-20 19:06:50 -04:00
Matthew Kennedy 6bfaed64db lua pwm hooks (#2687)
* pwm hook

* dedicated pins

* write hook

* UI

* more info

* zero based, clamp

* memory

* don't compile lua in bootloader at all
2021-05-20 19:01:17 -04:00
Matthew Kennedy c7cc5471ad Lua on f407, try again (#2725)
* 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

* memory

* memory
2021-05-20 23:05:18 +03:00
Matthew Kennedy 8b042ab9b1 rewrite table3d (#2723)
* post cranking factor limits

* sensible defaults

* but not for tests

* add pointer version of get bin

* test via map3d

* put that back for a minute

* new impl

* fix order

* rename and fix table orientation

* flip the table to the correct orientation

* dead cleanup, rename

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-05-20 22:31:16 +03:00
BeerMoneyMotorsports 9c50380af9 Update main.yaml (#2722)
More pins added but no work has been done to the pin XY coordinates.
2021-05-20 21:31:25 +03:00
Andrey a0d835ed1c refactoring magic constant STOICH_RATIO 2021-05-20 02:39:20 -04:00
Andrey 57a015e6fb refactoring magic constant STOICH_RATIO 2021-05-20 02:36:55 -04:00
GitHub set-date Action 250337f792 Update date 2021-05-20 01:01:49 +00:00
GitHub build-firmware Action 90601db721 Auto-generated configs and docs 2021-05-19 17:37:35 +00:00
BeerMoneyMotorsports 9108676379 Update main.yaml (#2720)
initial addition of some pins from 121vag.
2021-05-19 20:34:51 +03:00
rusefillc 0cb4705a7e Improve default H64 tune #2709 2021-05-19 03:50:28 -04:00
GitHub set-date Action 00c2b8514f Update date 2021-05-19 01:04:00 +00:00
Matthew Kennedy be41a96511 actually fix F7 flash this time (#2719)
* f7 sector sizes

* loop dsb

* correct sector index on f7
2021-05-18 17:40:59 -04:00
GitHub build-firmware Action 2cc1a53d94 Auto-generated configs and docs 2021-05-18 18:07:37 +00:00
Matthew Kennedy 6d9c0299fb Lua script editor in console (#2699)
* stub

* implement reset

* console

* just use the console command

* cleanup

* s

* s

* ui

* write in chunks

* fix write

* tab size, script read

* parse script properly

* put lua script in flash, tiny for now

* generated fields
2021-05-18 20:58:39 +03:00
GitHub set-date Action ca1812ee51 Update date 2021-05-18 01:08:32 +00:00
Matthew Kennedy 8c3be2cefc Post cranking fuel tweaks (#2718)
* post cranking factor limits

* sensible defaults

* but not for tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-05-17 17:24:29 -04:00
Matthew Kennedy 4b0d75ff92 make the simulator usable (#2717)
* these start themselves now

* dead

* configure ports

* start serial

* dead

* minimal pins

* simulator logging works

* why not enable lua

* speeeeeed

* start lua

* spammy print
2021-05-17 12:44:02 +03:00
GitHub build-firmware Action c5f3798dcd Auto-generated configs and docs 2021-05-17 09:42:38 +00:00
Matthew Kennedy f6ddc2c17c Config generator jar (#2716)
* fix test

* jar

* kick config

* guard stuff

* nmea

* nmea

* nmea

* c++ is type safe, which is good

* c++ is type safe
2021-05-17 12:32:59 +03:00
rusefillc a9bffcefed # 2021 May "Piercing Day" 2021-05-17 04:28:13 -04:00
GitHub build-firmware Action 5421b78e61 Auto-generated configs and docs 2021-05-17 05:57:10 +00:00
Matthew Kennedy 4b69e7d441 compile gpiochips as cpp (#2702)
* rename

* core

* structing

* more

* makefile

* structing

* 6240 compiles

* explicit cast instead of implicit narrowing

* 8888

* no extern C

* fix tests build

* extern "C"

* 33810

* 8860

* 33810

* linker

* unbreak master

* don't need that if compiling as C++

* bump config

* fix test

* tests

* unit tests bad merge

* build

* move subaru logic to cpp file

* cpp goodness

* hpp include

* this is probably the right thing to do

* simulator
2021-05-17 08:42:56 +03:00
Matthew Kennedy bf9eb8844a don't build OS lib (#2700)
* don't build OS lib

* update lua
2021-05-17 08:38:30 +03:00
GitHub set-date Action 028eb7a4c1 Update date 2021-05-17 01:04:43 +00:00
Andrey G 0faa8a0166 Hw layer rearrangement (#2705)
* Fix simulator compilation

* HW_SENSORS_SRC -> HW_SENSORS_CPP
2021-05-16 14:11:28 +03:00
Andrey G 6d849d05c7 Hw layer rearrangement (#2703)
* max31855: move to sensors

* uart GPS driver: move to sensors and rename

* i2c_bb: move to drivers

* LCD HD44780: move to drivers

* ping?
2021-05-16 06:01:00 -04:00
GitHub set-date Action 68a61141c9 Update date 2021-05-16 01:10:54 +00:00
Andrey 34194a2c52 progress 2021-05-15 05:46:54 -04:00
Andrey 06bdf52b3c More low-level firmware coverage for the simulator/unit-tests #2656 2021-05-15 05:27:33 -04:00
Andrey ae7367aa23 removal instructions 2021-05-15 05:19:14 -04:00
GitHub set-date Action ff5f304b36 Update date 2021-05-15 01:04:12 +00:00
Matthew Kennedy 4b6d1e0283 add ability to reset Lua interpreter (#2695)
* stub

* implement reset

* console

* just use the console command

* cleanup

* s

* s

* fix memory tracking
2021-05-14 16:20:27 -04:00
Matthew Kennedy b38a58fffb don't expose private state (#2696)
* don't expose private state

* fix tle init
2021-05-14 14:56:45 -04:00
rusefillc bba4588e47 Hellen GDI 2021-05-14 11:00:18 -04:00
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