Commit Graph

6457 Commits

Author SHA1 Message Date
GitHub build-firmware Action 3001d20513 Auto-generated configs and docs 2021-06-12 04:19:09 +00:00
GitHub build-firmware Action 855efcb1be Auto-generated configs and docs 2021-06-12 04:12:35 +00:00
GitHub build-firmware Action d1ec77847c Auto-generated configs and docs 2021-06-12 04:03:50 +00:00
rusefillc 4fa19b88a0 TCU cherry 2021-06-11 23:48:57 -04:00
rusefillc d8e217da28 TCU cherry 2021-06-11 23:39:50 -04:00
GitHub set-date Action fe0db62294 Update date 2021-06-12 00:51:57 +00:00
GitHub build-firmware Action cb205c98f9 Auto-generated configs and docs 2021-06-11 16:25:58 +00:00
GitHub build-firmware Action a4f86a892a Auto-generated configs and docs 2021-06-11 10:27:21 +00:00
Matthew Kennedy c27549b2e8
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 ebd8c39579 Update date 2021-06-11 00:56:20 +00:00
GitHub build-firmware Action a9207d1b0a Auto-generated configs and docs 2021-06-11 00:00:17 +00:00
Andrey G a1387d3bd2
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
GitHub set-date Action e82e5bcb84 Update date 2021-06-10 01:01:40 +00:00
GitHub build-firmware Action fefa953117 Auto-generated configs and docs 2021-06-10 00:48:08 +00:00
GitHub set-date Action db976da4fe Update date 2021-06-09 01:03:02 +00:00
GitHub build-firmware Action cef7536bf8 Auto-generated configs and docs 2021-06-08 18:29:34 +00:00
GitHub build-firmware Action 8d70567282 Auto-generated configs and docs 2021-06-08 11:55:00 +00:00
GitHub set-date Action 125c873251 Update date 2021-06-08 01:24:03 +00:00
GitHub set-date Action eaf5d4a0a4 Update date 2021-06-07 01:26:14 +00:00
GitHub set-date Action b201c266f5 Update date 2021-06-06 01:25:25 +00:00
GitHub build-firmware Action 50681d3eaf Auto-generated configs and docs 2021-06-05 20:42:46 +00:00
GitHub build-firmware Action 3319037794 Auto-generated configs and docs 2021-06-05 20:21:28 +00:00
Andrey 24131cdc0e s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
GitHub build-firmware Action 3b2ed0e1a1 Auto-generated configs and docs 2021-06-05 20:09:52 +00:00
GitHub build-firmware Action b6ef193b4c Auto-generated configs and docs 2021-06-05 19:51:13 +00:00
GitHub build-firmware Action e754165211 Auto-generated configs and docs 2021-06-05 11:00:25 +00:00
GitHub set-date Action f30a0e0ea9 Update date 2021-06-05 01:34:35 +00:00
Matthew Kennedy 7cef936a6d
update wideband (#2795)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-04 01:34:30 -04:00
GitHub set-date Action cb79707831 Update date 2021-06-04 01:55:47 +00:00
Matthew Kennedy e7f17b0365
move ign & cranking defaults (#2791)
* ignition defaults

* cranking

* s
2021-06-03 14:40:19 -04:00
Matthew Kennedy 3ef969d743
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 d489a50d1b Update date 2021-06-03 02:25:33 +00:00
Matthew Kennedy 981e8f5047
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 e561836c58
trigger: subaru 7+6: update cranck angles, add comments (#2789) 2021-06-02 19:19:52 +03:00
Matthew Kennedy ab214f974c
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 9aaa33e583 Auto-generated configs and docs 2021-06-02 05:30:38 +00:00
Matthew Kennedy 790ac08a2e
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 14bb5dd6eb Update date 2021-06-02 02:50:23 +00:00
GitHub set-date Action a717eb7139 Update date 2021-06-01 02:47:06 +00:00
GitHub build-firmware Action 88deee26e0 Auto-generated configs and docs 2021-05-31 22:02:57 +00:00
Matthew Kennedy f3c5ff6d54
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 39e4f70405
iac coast table (#2784) 2021-06-01 00:43:58 +03:00
GitHub build-firmware Action baa529e9dd Auto-generated configs and docs 2021-05-31 12:21:13 +00:00
Matthew Kennedy 7d773bfb1d
make the implementation match what the UI claims (#2779) 2021-05-31 07:37:02 -04:00
Matthew Kennedy a50f8e0077
Idle test that fails (#2781)
* make member func

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

This reverts commit 50682816ac.

* 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 bf7e2e8e04 Auto-generated configs and docs 2021-05-31 08:21:59 +00:00
GitHub set-date Action e7984e3250 Update date 2021-05-31 02:23:23 +00:00
GitHub build-firmware Action cd24cfe943 Auto-generated configs and docs 2021-05-31 00:19:42 +00:00
Andrey 39bc62ff2e SVX 2021-05-30 19:59:13 -04:00
Matthew Kennedy 526f1f97a0
Assorted todos (#2762)
* gpiochip todos

* fuel computer

* this was already done
2021-05-30 19:23:29 -04:00
Matthew Kennedy ec8e1eee69
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 c1ca8166b1 Auto-generated configs and docs 2021-05-30 11:06:46 +00:00
Matthew Kennedy 58b274c80c
safe boost duty (#2764) 2021-05-30 14:04:04 +03:00
Matthew Kennedy 6d19adb24f
remove old config override (#2763) 2021-05-30 13:31:36 +03:00
GitHub set-date Action 0e1cdd9334 Update date 2021-05-30 02:10:59 +00:00
Matthew Kennedy b5bd527a44
engine stop hook (#2760) 2021-05-30 00:54:36 +03:00
Andrey 50682816ac hiding 3rd channel for now 2021-05-29 04:09:12 -04:00
Matthew Kennedy 080d901222
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 dd14cb277a Update date 2021-05-29 01:58:23 +00:00
Andrey G dbfe0e0fbc
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 578256ec86 Auto-generated configs and docs 2021-05-28 07:41:15 +00:00
Matthew Kennedy 2667810942
add pedal to gppwm (#2748)
* add pedal to gppwm

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

* cleanup 2

* impl

* fix
2021-05-27 08:23:28 -04:00
rusefillc 157732d5aa https://rusefi.com/forum/viewtopic.php?f=16&t=2027 2021-05-27 05:50:59 -04:00
rusefillc 31a34a3ac2 some 121 coordinates 2021-05-27 05:44:48 -04:00
GitHub set-date Action 8e2ad76a56 Update date 2021-05-27 01:33:27 +00:00
GitHub build-firmware Action 8cdfdbbe30 Auto-generated configs and docs 2021-05-26 18:21:01 +00:00
GitHub build-firmware Action bf21536b39 Auto-generated configs and docs 2021-05-26 10:50:56 +00:00
Andrey 4216080e49 subaru 7/6 progress based on https://rusefi.com/forum/viewtopic.php?p=41021#p41021 2021-05-26 06:07:31 -04:00
Andrey 9f6ed75582 subaru 7/6 progress based on https://rusefi.com/forum/viewtopic.php?p=41021#p41021 2021-05-26 05:29:41 -04:00
Andrey 2581a53e0d 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 e2a3a20779 Update date 2021-05-26 01:22:59 +00:00
GitHub build-firmware Action 6e0daf9844 Auto-generated configs and docs 2021-05-25 22:18:20 +00:00
Andrey 0ad11168e8 Override trigger gaps feature #2734 2021-05-25 17:19:20 -04:00
rusefillc cc861e1862 Subaru 7+6 trigger refactoring, not changing gap ratio much 2021-05-25 16:31:37 -04:00
GitHub build-firmware Action 82d763cdcc Auto-generated configs and docs 2021-05-25 05:59:02 +00:00
GitHub set-date Action fb9bcd3aec Update date 2021-05-25 01:08:06 +00:00
GitHub build-firmware Action 743cb6883f Auto-generated configs and docs 2021-05-24 21:07:11 +00:00
GitHub build-firmware Action 6007a01a6a Auto-generated configs and docs 2021-05-24 14:01:43 +00:00
GitHub build-firmware Action e21171af5e Auto-generated configs and docs 2021-05-24 12:32:31 +00:00
GitHub set-date Action 6fb3632a82 Update date 2021-05-24 01:10:45 +00:00
Andrey cd5653ff84 Override trigger gaps feature #2734 2021-05-23 20:52:18 -04:00
GitHub build-firmware Action 1ea5caa905 Auto-generated configs and docs 2021-05-24 00:47:26 +00:00
Andrey bd48753682 Override trigger gaps feature #2734 2021-05-23 20:06:19 -04:00
GitHub build-firmware Action 8e409c3712 Auto-generated configs and docs 2021-05-24 00:00:27 +00:00
Andrey cbb6ca0c7c Override trigger gaps feature #2734 2021-05-23 19:58:03 -04:00
Andrey 17f07b6b0e Override trigger gaps feature #2734 2021-05-23 19:51:00 -04:00
GitHub build-firmware Action 2a0e72e2e9 Auto-generated configs and docs 2021-05-23 18:17:06 +00:00
GitHub build-firmware Action 3812b9c69f Auto-generated configs and docs 2021-05-23 18:03:56 +00:00
rusefillc 590f5e4f99 cranking timing not costant #2733 2021-05-23 13:54:49 -04:00
GitHub set-date Action b4b4e3da58 Update date 2021-05-23 01:13:29 +00:00
David Holdeman 6d4060d824
Doxygen titles (#2728)
* move addRow call

* undo submo bump

* add header titles
2021-05-22 22:10:58 +03:00
GitHub set-date Action c0f7ade40f Update date 2021-05-22 01:04:39 +00:00
GitHub build-firmware Action 0a27c7fe1d Auto-generated configs and docs 2021-05-21 21:48:49 +00:00
GitHub build-firmware Action 398acc4149 Auto-generated configs and docs 2021-05-21 21:25:31 +00:00
GitHub build-firmware Action 160c41958c Auto-generated configs and docs 2021-05-21 20:21:55 +00:00
GitHub build-firmware Action dffe94a037 Auto-generated configs and docs 2021-05-21 19:59:46 +00:00
GitHub build-firmware Action 7da0c0a30f Auto-generated configs and docs 2021-05-21 19:47:50 +00:00
GitHub build-firmware Action 9d55dd0511 Auto-generated configs and docs 2021-05-21 19:28:41 +00:00
GitHub build-firmware Action 2b4352556f Auto-generated configs and docs 2021-05-21 19:21:06 +00:00
GitHub build-firmware Action 31797b52fa Auto-generated configs and docs 2021-05-21 16:15:29 +00:00
GitHub set-date Action b89c3a51b9 Update date 2021-05-21 01:05:29 +00:00
Matthew Kennedy de7879b6e4
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 4195de3819 Auto-generated configs and docs 2021-05-20 23:10:25 +00:00
Matthew Kennedy 5cb659a7b0
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 20cef63d32
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
Andrey a762853d3b refactoring magic constant STOICH_RATIO 2021-05-20 02:39:20 -04:00
Andrey ba758dd5cb refactoring magic constant STOICH_RATIO 2021-05-20 02:36:55 -04:00
GitHub set-date Action c49088c82c Update date 2021-05-20 01:01:49 +00:00
GitHub build-firmware Action f00e65c84f Auto-generated configs and docs 2021-05-19 17:37:35 +00:00
rusefillc 73bc91dee4 Improve default H64 tune #2709 2021-05-19 03:50:28 -04:00
GitHub set-date Action 47f0cd1908 Update date 2021-05-19 01:04:00 +00:00
GitHub build-firmware Action 5f568525a2 Auto-generated configs and docs 2021-05-18 18:07:37 +00:00
Matthew Kennedy b373c03db8
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 c7f3c17c75 Update date 2021-05-18 01:08:32 +00:00
Matthew Kennedy 04f9019df2
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 5a5f25244a
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 8f03d1f938 Auto-generated configs and docs 2021-05-17 09:42:38 +00:00
Matthew Kennedy 84368cae10
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
GitHub build-firmware Action ad24f2a8cf Auto-generated configs and docs 2021-05-17 05:57:10 +00:00
Matthew Kennedy c8e6b19828
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 c9e2c6108c Update date 2021-05-17 01:04:43 +00:00
Andrey G 710a512fe7
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 da317d9c0a Update date 2021-05-16 01:10:54 +00:00
Andrey 4f63d2b476 More low-level firmware coverage for the simulator/unit-tests #2656 2021-05-15 05:27:33 -04:00
GitHub set-date Action fcbe4b8880 Update date 2021-05-15 01:04:12 +00:00
Matthew Kennedy 2abcd9d7ab
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
rusefillc 08de271407 hiding 8888 mess under the rug
making LPS25 one step more available to Hellen
2021-05-14 10:54:40 -04:00
Matthew Kennedy 1d10fbc7a8
const airmass (#2694) 2021-05-14 07:17:22 -04:00
GitHub set-date Action 989677c863 Update date 2021-05-14 01:06:31 +00:00
GitHub build-firmware Action 1123d1cfe8 Auto-generated configs and docs 2021-05-13 21:43:25 +00:00
Matthew Kennedy 13d2ee03bc
idle indicators (#2692)
* add coasting bit

* remove useless bit
2021-05-13 17:35:00 -04:00
GitHub set-date Action ce0670df1d Update date 2021-05-13 01:04:30 +00:00
GitHub build-firmware Action 043584b37c Auto-generated configs and docs 2021-05-12 22:53:51 +00:00
GitHub set-date Action 35607c2178 Update date 2021-05-12 01:00:01 +00:00
GitHub build-firmware Action a26b22e701 Auto-generated configs and docs 2021-05-12 00:42:39 +00:00
GitHub build-firmware Action 0d0d7961ab Auto-generated configs and docs 2021-05-11 22:40:44 +00:00
GitHub build-firmware Action 38b65ab2a3 Auto-generated configs and docs 2021-05-11 21:37:56 +00:00
GitHub build-firmware Action 129f157cf3 Auto-generated configs and docs 2021-05-11 19:51:41 +00:00
GitHub set-date Action 8518b60740 Update date 2021-05-11 00:58:30 +00:00
Matthew Kennedy 9b0c7ff693
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 6cc7b0eeec
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 13ecc35af7 docs 2021-05-10 09:02:27 -04:00
Matthew Kennedy cde70534f7
always resolve (#2678) 2021-05-10 08:53:19 -04:00
GitHub build-firmware Action 5450a87ca5 Auto-generated configs and docs 2021-05-10 12:32:55 +00:00
Matthew Kennedy da6518dcb1
remove deprecated getEngineLoadT (#2676)
* remove

* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy 6a060e5cae
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 3bc268810d Auto-generated configs and docs 2021-05-10 01:02:11 +00:00
Matthew Kennedy 4474f9f1c2
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 5ba7577496
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 540bb8e327 Revert "lua on f407 (#2646)"
This reverts commit e8855263
2021-05-09 18:25:50 -04:00
Matthew Kennedy e885526308
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 dd6105cfa3
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 13f3d1e291
Fix multi bank fueling (#2661)
* add cylinder number

* changelog

* wording
2021-05-09 09:37:07 -04:00
Matthew Kennedy 155bfd9aeb
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 642e95d04c Update date 2021-05-09 00:59:39 +00:00
Andrey G e18ba01fe5
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 dd6b60de2e Auto-generated configs and docs 2021-05-08 21:43:56 +00:00
Matthew Kennedy 3968204dfa
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 15811a6ff0
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
GitHub set-date Action d949a8f152 Update date 2021-05-08 00:55:53 +00:00
GitHub build-firmware Action 3ff20287c2 Auto-generated configs and docs 2021-05-07 23:28:16 +00:00
GitHub build-firmware Action 4c7be3819f Auto-generated configs and docs 2021-05-07 19:43:12 +00:00
Matthew Kennedy 8b30776016
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 ca7308e910
move some stuff in to ccm (#2645)
* stuff in ccm

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

* ramz
2021-05-07 08:22:35 -04:00
GitHub build-firmware Action a47afe873e Auto-generated configs and docs 2021-05-07 03:16:46 +00:00
GitHub set-date Action ca541ea148 Update date 2021-05-07 00:57:02 +00:00
GitHub build-firmware Action ac6fe4131f Auto-generated configs and docs 2021-05-06 19:28:18 +00: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
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
GitHub build-firmware Action 918b7e7b23 Auto-generated configs and docs 2021-05-05 14:04:51 +00:00
GitHub set-date Action 06eeabfca7 Update date 2021-05-05 00:55:28 +00:00
GitHub build-firmware Action ac879d7fc6 Auto-generated configs and docs 2021-05-04 19:13:38 +00: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
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 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
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
GitHub build-firmware Action 5e25c9e3cc Auto-generated configs and docs 2021-05-01 23:47:11 +00:00
GitHub build-firmware Action ff801f8fda Auto-generated configs and docs 2021-05-01 19:42:36 +00:00
GitHub set-date Action c710f1e817 Update date 2021-05-01 01:03:02 +00:00
GitHub build-firmware Action 32621b6327 Auto-generated configs and docs 2021-04-30 15:03:28 +00: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 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
GitHub build-firmware Action d80da42648 Auto-generated configs and docs 2021-04-30 03:02:06 +00:00
GitHub build-firmware Action 6df5adc9ed Auto-generated configs and docs 2021-04-30 02:46:12 +00: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
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
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
GitHub build-firmware Action e16f137086 Auto-generated configs and docs 2021-04-28 22:55:13 +00: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
GitHub set-date Action 6403ca2f9f Update date 2021-04-28 01:04:11 +00: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
GitHub build-firmware Action 34a904386c Auto-generated configs and docs 2021-04-26 21:59:44 +00: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
GitHub build-firmware Action 9e47f99f99 Auto-generated configs and docs 2021-04-26 01:46:15 +00: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 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 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
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
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
GitHub build-firmware Action 389f163c56 Auto-generated configs and docs 2021-04-20 03:35:59 +00:00