Commit Graph

6197 Commits

Author SHA1 Message Date
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