Commit Graph

449 Commits

Author SHA1 Message Date
rusefillc 9f8aa66a9a Mark is asking for VIN number field fix #3967 2022-10-05 18:26:12 -04:00
Andrey 83afa58baf Mark is asking for VIN number field #3967 2022-10-04 21:12:51 -04:00
GitHub gen-configs Action d5162bd6ad Auto-generated configs and docs 2022-09-28 02:23:08 +00:00
GitHub gen-configs Action 0810af5f18 Auto-generated configs and docs 2022-09-26 09:32:19 +00:00
GitHub gen-configs Action f2cad9076c Auto-generated configs and docs 2022-09-20 02:05:56 +00:00
rusefillc a9b149c262 moving confusing around 2022-09-19 12:32:45 -04:00
GitHub gen-configs Action 8729d705c2 Auto-generated configs and docs 2022-09-19 16:23:04 +00:00
GitHub gen-configs Action 9fa2e8c7ae Auto-generated configs and docs 2022-09-15 19:00:51 +00:00
GitHub gen-configs Action bf66444ebe Auto-generated configs and docs 2022-09-14 04:39:50 +00:00
Andrey 954ddacd96 GM 2022-09-14 00:03:38 -04:00
GitHub gen-configs Action 6e53b1b5a3 Auto-generated configs and docs 2022-09-13 06:33:23 +00:00
GitHub gen-configs Action 08db9cc1ac Auto-generated configs and docs 2022-09-13 00:18:15 +00:00
Andrey G 91d4844e38
time routines refactor (#4563)
* Extract time helpers from engine_controller_misc to efitime.cpp

* Rename currentTimeMillis() to getTimeNowMs()

We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.

find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;

* Rename getTimeNowSeconds() to getTimeNowS()

To align with Nt, Us, Ms versions.

* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00
GitHub gen-configs Action b124dbe753 Auto-generated configs and docs 2022-09-09 22:00:10 +00:00
rusefillc 7b4a5c9be6 vvtBooleanForVerySpecialCases, tempBooleanForVerySpecialLogic 2022-09-09 17:52:54 -04:00
GitHub gen-configs Action 6a8e248d48 Auto-generated configs and docs 2022-09-08 20:30:30 +00:00
GitHub gen-configs Action 766735f3b6 Auto-generated configs and docs 2022-09-08 02:51:42 +00:00
Andrey 52ad9ced0b B6 2022-09-07 15:36:50 -04:00
Andrey 07d895dfeb B6 2022-09-06 15:12:43 -04:00
Andrey 4c9df01b64 wow Leiderman-Khlystov 2022-09-05 20:02:33 -04:00
GitHub gen-configs Action f59de1296b Auto-generated configs and docs 2022-09-05 05:33:14 +00:00
GitHub gen-configs Action ddcadae4e2 Auto-generated configs and docs 2022-09-05 02:56:42 +00:00
GitHub gen-configs Action aed7b77535 Auto-generated configs and docs 2022-09-05 02:44:56 +00:00
GitHub gen-configs Action f6cf4700ff Auto-generated configs and docs 2022-09-03 21:43:03 +00:00
GitHub gen-configs Action fa3b2fe009 Auto-generated configs and docs 2022-09-03 21:35:26 +00:00
GitHub gen-configs Action 3d6d710379 Auto-generated configs and docs 2022-09-01 15:03:34 +00:00
Andrey 7e340cceb3 refactoring: reducing outputChannels copy 2022-09-01 10:58:16 -04:00
GitHub gen-configs Action ea1d2b848f Auto-generated configs and docs 2022-09-01 14:39:52 +00:00
GitHub gen-configs Action 7dee4d33cb Auto-generated configs and docs 2022-09-01 14:11:17 +00:00
GitHub gen-configs Action 5237235e48 Auto-generated configs and docs 2022-09-01 04:53:05 +00:00
Andrey c63fb29aaf refactoring: reducing outputChannels copy 2022-09-01 00:13:55 -04:00
GitHub gen-configs Action 81a73508b7 Auto-generated configs and docs 2022-08-31 23:10:02 +00:00
rusefillc 1c4fa00bb8 XCP 2022-08-30 22:21:49 -04:00
GitHub gen-configs Action 490d9b0c93 Auto-generated configs and docs 2022-08-30 06:02:26 +00:00
GitHub gen-configs Action 886f62da3d Auto-generated configs and docs 2022-08-30 02:29:24 +00:00
rusefillc 7c1abbb4f9 DBW 2022-08-29 10:59:39 -04:00
rusefillc 74cdbc35b5 DBW 2022-08-29 10:58:30 -04:00
rusefillc b8b3eb20e7 DBW 2022-08-29 10:51:32 -04:00
rusefillc b444e400eb docs 2022-08-29 10:51:32 -04:00
Matthew Kennedy b662e59707
remove some uses of EFI_ERROR_CODE (#4496)
* lua hooks

* findAngleMatch

* s

* s
2022-08-28 09:43:21 -04:00
GitHub gen-configs Action 8b8ce329b3 Auto-generated configs and docs 2022-08-27 18:44:44 +00:00
Andrey 764fc833d7 B6 progress 2022-08-26 12:07:13 -04:00
Andrey 3477d4bd07 refactoring 2022-08-26 00:16:36 -04:00
Andrey 1b4bbb8772 refactoring 2022-08-26 00:14:52 -04:00
Andrey 97e8c978ce B6 progress 2022-08-26 00:04:47 -04:00
Andrey d7b213f213 lua unit tests can print now 2022-08-26 00:04:17 -04:00
rusefillc 055184e1ec two bugs love to cancel each other 2022-08-25 23:55:42 -04:00
rusefillc 67055c69bf progress or maybe even a fix of logging? 2022-08-25 22:24:35 -04:00
GitHub gen-configs Action 92325eb93e Auto-generated configs and docs 2022-08-26 01:48:46 +00:00
GitHub gen-configs Action dd41e87877 Auto-generated configs and docs 2022-08-26 00:41:14 +00:00
Andrey 4844edc682 Lua code reuse 2022-08-25 10:45:26 -04:00
rusefillc fd8a6dc20d readme 2022-08-24 18:52:23 -04:00
rusefi eb976de07d lua outputs bench test 2022-08-24 13:20:14 -04:00
GitHub gen-configs Action 1d73174592 Auto-generated configs and docs 2022-08-23 23:50:32 +00:00
rusefi 755f9926ea canRxAdd bus does not convert from Lua/human value into zero-indexed implementation value fix #4467 2022-08-21 23:48:10 -04:00
rusefi b471012838 less violent error handling 2022-08-21 22:46:59 -04:00
rusefi 7f84657aac refactoring: magic constant 2022-08-21 22:46:49 -04:00
rusefi 26eda07424 Lua CAN bus index: let's fail if invalid value specified 2022-08-21 22:31:52 -04:00
rusefillc c950adc025 refactoring 2022-08-21 21:53:01 -04:00
rusefillc bd4fb37ae1 https://en.wikipedia.org/wiki/Man-in-the-middle_attack 2022-08-21 16:28:09 -04:00
Andrey 35a71f8960 test coverage and some magic constant refactoring 2022-08-21 15:22:22 -04:00
rusefillc 77a831185b https://en.wikipedia.org/wiki/Man-in-the-middle_attack 2022-08-21 14:42:42 -04:00
rusefillc 6d634e3c6a Idle air add via Lua fix #4465 2022-08-21 00:32:34 -04:00
GitHub gen-configs Action 2d9f734a8f Auto-generated configs and docs 2022-08-19 03:08:33 +00:00
rusefillc f59583abbd ECU to Mainline DynoLog Data Protocol #4319 2022-08-14 11:28:17 -04:00
rusefillc 8f6fb427eb ECU to Mainline DynoLog Data Protocol #4319 2022-08-12 23:53:48 -04:00
rusefi 2aa1e13c0b https://rusefi.com/forum/viewtopic.php?f=4&t=2325 2022-08-12 16:19:45 -04:00
rusefi ef123e7f64 https://rusefi.com/forum/viewtopic.php?f=4&t=2325 2022-08-12 16:15:54 -04:00
GitHub build-firmware Action 94a333166f Auto-generated configs and docs 2022-08-11 14:25:31 +00:00
GitHub build-firmware Action ae268ae8c2 Auto-generated configs and docs 2022-08-09 20:28:25 +00:00
GitHub build-firmware Action d706e94492 Auto-generated configs and docs 2022-08-09 17:31:12 +00:00
GitHub build-firmware Action 15dbdcb69e Auto-generated configs and docs 2022-08-09 16:53:48 +00:00
GitHub build-firmware Action 426fdde8b5 Auto-generated configs and docs 2022-08-07 22:13:09 +00:00
GitHub build-firmware Action eb45be247f Auto-generated configs and docs 2022-07-30 16:12:13 +00:00
GitHub build-firmware Action bd17d8d7ea Auto-generated configs and docs 2022-07-30 15:34:12 +00:00
GitHub build-firmware Action 7d6ebfb79a Auto-generated configs and docs 2022-07-30 13:47:13 +00:00
rusefillc 659541595e it's impossible to receive AcceleratorPedal sensor via CAN/Lua #4369 2022-07-28 12:30:04 -04:00
rusefillc d320dd589c it's impossible to receive AcceleratorPedal sensor via CAN/Lua #4369 2022-07-28 12:08:35 -04:00
GitHub build-firmware Action baf68363e0 Auto-generated configs and docs 2022-07-28 06:53:58 +00:00
Matthew Kennedy ada1ba6b56
Lua rx callback (#4387)
* s

* mask, callback

* support 8 different signatures

* make the compiler happy about unrechable code

* s

* make the compiler happy about unreachable code

* guard

* changelog
2022-07-28 09:27:18 +03:00
Matthew Kennedy 41318e0f9d
detect bad Lua sensor name when registering (#4391)
* format

* lua error on bad sensor

* comment

* name validation

* soft check before the hard check causes a fatal error

* s
2022-07-27 12:41:21 +03:00
rusefillc 1dff8a2cb0 thank you Mark we have humans asking for it 2022-07-22 16:04:43 -04:00
rusefillc 2af5f30ec2 thank you Mark we have humans asking for it 2022-07-22 15:57:18 -04:00
Matthew Kennedy b99d90b006
Start -> start (#4366) 2022-07-21 15:17:32 -04:00
GitHub build-firmware Action 31782690bd Auto-generated configs and docs 2022-07-20 23:09:02 +00:00
GitHub build-firmware Action 74754dfc2d Auto-generated configs and docs 2022-07-20 22:52:33 +00:00
rusefillc da336a6190 Nissan Lua 2022-07-18 17:01:44 -04:00
GitHub build-firmware Action 175b8c00b9 Auto-generated configs and docs 2022-07-16 06:38:35 +00:00
Matthew Kennedy a0d8ae3f4f
use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
rusefillc 26fba94d07 launch control for autocross on micro rusefi #4341 2022-07-14 17:23:54 -04:00
rusefillc e4f210c1ca launch control for autocross on micro rusefi #4341 2022-07-14 17:19:30 -04:00
rusefillc b7cfa4e702 launch control for autocross on micro rusefi #4341 2022-07-14 16:41:50 -04:00
rusefillc 3aca38903c launch controll for autocross on micro rusefi #4341 2022-07-14 16:20:03 -04:00
rusefillc f6afb2a9fa https://rusefi.com/forum/viewtopic.php?p=43183#p43183 2022-07-14 15:45:33 -04:00
rusefillc 975329fcc7 Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 14:04:21 -04:00
rusefillc 39df02fe35 Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 13:03:08 -04:00
rusefillc cad14d6541 #4308 progress 2022-07-14 12:36:55 -04:00
GitHub build-firmware Action 1dfb5ce2cd Auto-generated configs and docs 2022-07-14 12:08:23 +00:00
rusefillc 55ffb45934 FSIO is dead 2022-07-14 07:52:58 -04:00
rusefillc 094db00bfb refactoring - lambda for readbility 2022-07-14 07:27:58 -04:00
Matthew Kennedy 8bc01472b7
Add a timeout for Lua ETB adjustment (#4331)
* lua etb timeout

* mocks

* test
2022-07-10 05:46:28 +03:00
rusefillc d55e07e397 docs 2022-07-09 03:00:14 -04:00
GitHub build-firmware Action 7daebe83e2 Auto-generated configs and docs 2022-07-08 14:11:38 +00:00
rusefillc 67ec949eb6 Lua A/C Input #4333 2022-07-08 00:51:53 -04:00
Matthew Kennedy 5d844b1ebe
Error handling cleanup (#4332)
* dead code in stm32

* rusefi.cpp can have some noreturn

* handle lua panic

* unused error codes

* simplifications of error_handling.cpp

* comment

* put that back

* guard
2022-07-07 23:49:02 -04:00
Matthew Kennedy 3c062e02bc
Lua hooks for gear detection (#4328)
* implement

* sim has vss

* write a test

* guard
2022-07-07 23:16:56 -04:00
rusefillc a42a671aca fix lua CAN RX of 11b frames #4321 2022-07-05 13:40:02 -04:00
Matthew Kennedy dec3021c8f
fix lua CAN RX of 11b frames (#4321)
* s

* loggy the change
2022-07-05 13:37:31 -04:00
rusefillc 6e1c5b0126 https://rusefi.com/forum/viewtopic.php?f=4&t=2329 2022-07-03 09:51:49 -04:00
rusefillc 82131e5572 Uniform reset pattern for all Lua adjustments #4308
no progress only preparation
2022-06-30 20:07:27 -04:00
rusefillc 483395fa2e
https://github.com/rusefi/rusefi_documentation/issues/226 (#4306)
* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-06-29 23:34:00 -04:00
GitHub build-firmware Action 3393b5495b Auto-generated configs and docs 2022-06-29 22:52:53 +00:00
Matthew Kennedy 9f15218089
remove system lua VM (#3864)
* well, that was a fun experiment

* don't need that file

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-06-29 16:52:17 -04:00
GitHub build-firmware Action 4ffdf74203 Auto-generated configs and docs 2022-06-29 07:57:36 +00:00
rusefillc f7ecebaa64 logging of live data structs was: data points #3614 2022-06-29 02:37:24 -04:00
GitHub build-firmware Action 1407909061 Auto-generated configs and docs 2022-06-29 05:34:35 +00:00
GitHub build-firmware Action df70173ad1 Auto-generated configs and docs 2022-06-27 00:12:14 +00:00
GitHub build-firmware Action a6dd876fe7 Auto-generated configs and docs 2022-06-23 23:48:34 +00:00
Andrey 6ef7562666 VAG Lua progress 2022-06-23 16:02:09 -04:00
GitHub build-firmware Action 572a482115 Auto-generated configs and docs 2022-06-23 19:34:20 +00:00
GitHub build-firmware Action 169fc5e086 Auto-generated configs and docs 2022-06-22 20:58:24 +00:00
GitHub build-firmware Action cbd85f54c4 Auto-generated configs and docs 2022-06-18 18:53:00 +00:00
GitHub build-firmware Action 3317744436 Auto-generated configs and docs 2022-05-30 22:01:09 +00:00
GitHub build-firmware Action 6b9eff99d0 Auto-generated configs and docs 2022-05-30 11:21:11 +00:00
Matthew Kennedy 67932483fb
use the right define (#4184) 2022-05-19 09:46:49 -04:00
rusefillc 4aea193684 Hellen wants Lua RAM 2022-05-18 23:14:48 -04:00
rusefillc 458b92e6d9 reduce flash footprint by smarter code generation #4163 2022-05-16 00:00:47 -04:00
rusefillc f440e7f4a2 mac cares a lot 2022-05-15 23:16:07 -04:00
rusefi ff8afa7980 helping mac / legit fix? 2022-05-15 21:53:07 -04:00
GitHub build-firmware Action 67039e43dd Auto-generated configs and docs 2022-05-16 01:23:33 +00:00
GitHub build-firmware Action e1c71c7f0c Auto-generated configs and docs 2022-05-15 22:40:44 +00:00
GitHub build-firmware Action 4d3ed9bc59 Auto-generated configs and docs 2022-05-15 22:04:42 +00:00
Andrey aa87eb681c reduce flash footprint by smarter code generation #4163
a bit of unit tests drama
2022-05-15 17:47:14 -04:00
rusefillc 6a45f889f7 reduce flash footprint by smarter code generation #4163 2022-05-15 15:31:35 -04:00
rusefillc 822ce9c7ba Revert "reduce flash footprint by smarter code generation #4163"
This reverts commit 15d7085bce.
2022-05-15 15:14:10 -04:00
rusefillc 15d7085bce reduce flash footprint by smarter code generation #4163 2022-05-15 11:36:33 -04:00
GitHub build-firmware Action f50bada981 Auto-generated configs and docs 2022-05-15 15:04:47 +00:00
rusefi 6a79571062 some Lua fun 2022-05-14 20:18:51 -04:00
GitHub build-firmware Action cbfae3bb88 Auto-generated configs and docs 2022-05-14 12:21:15 +00:00
GitHub build-firmware Action e8811e60a4 Auto-generated configs and docs 2022-05-10 04:29:25 +00:00
rusefillc 683a723d2f
CAN category (#4148)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -04:00
rusefillc 2132cec3fc Remove value copy from controller into outputChannels #4095 2022-05-09 06:12:17 -04:00
GitHub build-firmware Action 4e213fbc1e Auto-generated configs and docs 2022-05-09 09:42:49 +00:00
GitHub build-firmware Action c9560fb2dd Auto-generated configs and docs 2022-05-08 13:06:44 +00:00
GitHub build-firmware Action 04da97c1e3 Auto-generated configs and docs 2022-05-08 12:05:34 +00:00
GitHub build-firmware Action 5c3ec431ba Auto-generated configs and docs 2022-05-02 05:38:10 +00:00
GitHub build-firmware Action 35112a91ec Auto-generated configs and docs 2022-04-29 23:48:53 +00:00
Matthew Kennedy e4a0979dc2
Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
GitHub build-firmware Action e064759ef7 Auto-generated configs and docs 2022-04-24 00:06:06 +00:00
GitHub build-firmware Action 8001c88151 Auto-generated configs and docs 2022-04-23 11:41:19 +00:00