Commit Graph

503 Commits

Author SHA1 Message Date
rusefillc 1ea6535b83 two bugs love to cancel each other 2022-08-25 23:55:42 -04:00
rusefillc 72c4637512 progress or maybe even a fix of logging? 2022-08-25 22:24:35 -04:00
GitHub gen-configs Action d0a734d4ae Auto-generated configs and docs 2022-08-26 01:48:46 +00:00
GitHub gen-configs Action d5811a698a Auto-generated configs and docs 2022-08-26 00:41:14 +00:00
Andrey 0b3478697a Lua code reuse 2022-08-25 10:45:26 -04:00
rusefillc aa9aa3fe64 readme 2022-08-24 18:52:23 -04:00
rusefi 8ebe5a9262 lua outputs bench test 2022-08-24 13:20:14 -04:00
GitHub gen-configs Action 991cd40f74 Auto-generated configs and docs 2022-08-23 23:50:32 +00:00
rusefi 27c1165560 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 b94195255c less violent error handling 2022-08-21 22:46:59 -04:00
rusefi 329edcddfc refactoring: magic constant 2022-08-21 22:46:49 -04:00
rusefi 3eeff9e388 Lua CAN bus index: let's fail if invalid value specified 2022-08-21 22:31:52 -04:00
rusefillc a3d2c1b997 refactoring 2022-08-21 21:53:01 -04:00
rusefillc 891a63bf2a https://en.wikipedia.org/wiki/Man-in-the-middle_attack 2022-08-21 16:28:09 -04:00
Andrey 2d4b944547 test coverage and some magic constant refactoring 2022-08-21 15:22:22 -04:00
rusefillc 083211c233 https://en.wikipedia.org/wiki/Man-in-the-middle_attack 2022-08-21 14:42:42 -04:00
rusefillc 38e3a84ec9 Idle air add via Lua fix #4465 2022-08-21 00:32:34 -04:00
GitHub gen-configs Action 74d93f9d11 Auto-generated configs and docs 2022-08-19 03:08:33 +00:00
rusefillc 5365ae5c2d ECU to Mainline DynoLog Data Protocol #4319 2022-08-14 11:28:17 -04:00
rusefillc 69d582a674 ECU to Mainline DynoLog Data Protocol #4319 2022-08-12 23:53:48 -04:00
rusefi 4290c66769 https://rusefi.com/forum/viewtopic.php?f=4&t=2325 2022-08-12 16:19:45 -04:00
rusefi 7055f32fd3 https://rusefi.com/forum/viewtopic.php?f=4&t=2325 2022-08-12 16:15:54 -04:00
GitHub build-firmware Action 471dedde04 Auto-generated configs and docs 2022-08-11 14:25:31 +00:00
GitHub build-firmware Action e838c2b5ff Auto-generated configs and docs 2022-08-09 20:28:25 +00:00
GitHub build-firmware Action 1215618e1b Auto-generated configs and docs 2022-08-09 17:31:12 +00:00
GitHub build-firmware Action 6e8c0f24d5 Auto-generated configs and docs 2022-08-09 16:53:48 +00:00
GitHub build-firmware Action 1b67195746 Auto-generated configs and docs 2022-08-07 22:13:09 +00:00
GitHub build-firmware Action 16926e0f95 Auto-generated configs and docs 2022-07-30 16:12:13 +00:00
GitHub build-firmware Action 7dafba1e70 Auto-generated configs and docs 2022-07-30 15:34:12 +00:00
GitHub build-firmware Action 578cb6936c Auto-generated configs and docs 2022-07-30 13:47:13 +00:00
rusefillc 88303319e1 it's impossible to receive AcceleratorPedal sensor via CAN/Lua #4369 2022-07-28 12:30:04 -04:00
rusefillc 35f9830cca it's impossible to receive AcceleratorPedal sensor via CAN/Lua #4369 2022-07-28 12:08:35 -04:00
GitHub build-firmware Action 17b306c375 Auto-generated configs and docs 2022-07-28 06:53:58 +00:00
Matthew Kennedy 8ec103a7f2 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 9f6ee5f359 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 dc36538e57 thank you Mark we have humans asking for it 2022-07-22 16:04:43 -04:00
rusefillc a04251bfd9 thank you Mark we have humans asking for it 2022-07-22 15:57:18 -04:00
Matthew Kennedy efdae2322d Start -> start (#4366) 2022-07-21 15:17:32 -04:00
GitHub build-firmware Action 1cc1d56bcc Auto-generated configs and docs 2022-07-20 23:09:02 +00:00
GitHub build-firmware Action 2341028714 Auto-generated configs and docs 2022-07-20 22:52:33 +00:00
rusefillc 2d08d8ea28 Nissan Lua 2022-07-18 17:01:44 -04:00
GitHub build-firmware Action 267f356ef3 Auto-generated configs and docs 2022-07-16 06:38:35 +00:00
Matthew Kennedy cd98ad35c2 use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
rusefillc ae92cb1c70 launch control for autocross on micro rusefi #4341 2022-07-14 17:23:54 -04:00
rusefillc 0f303553c1 launch control for autocross on micro rusefi #4341 2022-07-14 17:19:30 -04:00
rusefillc e91d72bba5 launch control for autocross on micro rusefi #4341 2022-07-14 16:41:50 -04:00
rusefillc 604a3f4ba2 launch controll for autocross on micro rusefi #4341 2022-07-14 16:20:03 -04:00
rusefillc 3079ab9bae https://rusefi.com/forum/viewtopic.php?p=43183#p43183 2022-07-14 15:45:33 -04:00
rusefillc 4ba73d1679 Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 14:04:21 -04:00
rusefillc 456d52e1fe Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 13:03:08 -04:00
rusefillc 9e8bfe92d8 #4308 progress 2022-07-14 12:36:55 -04:00
GitHub build-firmware Action ccd01302fe Auto-generated configs and docs 2022-07-14 12:08:23 +00:00
rusefillc 133ab5618b FSIO is dead 2022-07-14 07:52:58 -04:00
rusefillc 52af5fa05a refactoring - lambda for readbility 2022-07-14 07:27:58 -04:00
Matthew Kennedy 3c88dda538 Add a timeout for Lua ETB adjustment (#4331)
* lua etb timeout

* mocks

* test
2022-07-10 05:46:28 +03:00
rusefillc 71a30d5f75 docs 2022-07-09 03:00:14 -04:00
GitHub build-firmware Action 575a0b3d5d Auto-generated configs and docs 2022-07-08 14:11:38 +00:00
rusefillc db3f92edf4 Lua A/C Input #4333 2022-07-08 00:51:53 -04:00
Matthew Kennedy 16a39badff 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 68fb838641 Lua hooks for gear detection (#4328)
* implement

* sim has vss

* write a test

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

* loggy the change
2022-07-05 13:37:31 -04:00
rusefillc 7a521df1f0 https://rusefi.com/forum/viewtopic.php?f=4&t=2329 2022-07-03 09:51:49 -04:00
rusefillc 129e4df5bf Uniform reset pattern for all Lua adjustments #4308
no progress only preparation
2022-06-30 20:07:27 -04:00
rusefillc f24c42c605 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 3379a8f7d8 Auto-generated configs and docs 2022-06-29 22:52:53 +00:00
Matthew Kennedy 1dfd3359df 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 64536ae90a Auto-generated configs and docs 2022-06-29 07:57:36 +00:00
rusefillc 92119af801 logging of live data structs was: data points #3614 2022-06-29 02:37:24 -04:00
GitHub build-firmware Action 718b4fd3e9 Auto-generated configs and docs 2022-06-29 05:34:35 +00:00
GitHub build-firmware Action 81f1df25e4 Auto-generated configs and docs 2022-06-27 00:12:14 +00:00
GitHub build-firmware Action fe6d63f4f2 Auto-generated configs and docs 2022-06-23 23:48:34 +00:00
Andrey edd4dcb004 VAG Lua progress 2022-06-23 16:02:09 -04:00
GitHub build-firmware Action 5af864c25c Auto-generated configs and docs 2022-06-23 19:34:20 +00:00
GitHub build-firmware Action f77f1041b5 Auto-generated configs and docs 2022-06-22 20:58:24 +00:00
GitHub build-firmware Action 4a3e94ece2 Auto-generated configs and docs 2022-06-18 18:53:00 +00:00
GitHub build-firmware Action cf8dcb068c Auto-generated configs and docs 2022-05-30 22:01:09 +00:00
GitHub build-firmware Action a75fb39871 Auto-generated configs and docs 2022-05-30 11:21:11 +00:00
Matthew Kennedy b87eea0a15 use the right define (#4184) 2022-05-19 09:46:49 -04:00
rusefillc cd318aa935 Hellen wants Lua RAM 2022-05-18 23:14:48 -04:00
rusefillc a324d6ff09 reduce flash footprint by smarter code generation #4163 2022-05-16 00:00:47 -04:00
rusefillc 75aa33dd2e mac cares a lot 2022-05-15 23:16:07 -04:00
rusefi bc57ec5687 helping mac / legit fix? 2022-05-15 21:53:07 -04:00
GitHub build-firmware Action 84301b1f39 Auto-generated configs and docs 2022-05-16 01:23:33 +00:00
GitHub build-firmware Action 78a8aa09b2 Auto-generated configs and docs 2022-05-15 22:40:44 +00:00
GitHub build-firmware Action d74902ca2f Auto-generated configs and docs 2022-05-15 22:04:42 +00:00
Andrey afa51d043b reduce flash footprint by smarter code generation #4163
a bit of unit tests drama
2022-05-15 17:47:14 -04:00
rusefillc bcd321111a reduce flash footprint by smarter code generation #4163 2022-05-15 15:31:35 -04:00
rusefillc aa12ec2172 Revert "reduce flash footprint by smarter code generation #4163"
This reverts commit 372f63a892.
2022-05-15 15:14:10 -04:00
rusefillc 372f63a892 reduce flash footprint by smarter code generation #4163 2022-05-15 11:36:33 -04:00
GitHub build-firmware Action 1fc02308d8 Auto-generated configs and docs 2022-05-15 15:04:47 +00:00
rusefi 7b8bb98fb3 some Lua fun 2022-05-14 20:18:51 -04:00
GitHub build-firmware Action 0eade966b9 Auto-generated configs and docs 2022-05-14 12:21:15 +00:00
GitHub build-firmware Action d8f249f9c7 Auto-generated configs and docs 2022-05-10 04:29:25 +00:00
rusefillc 4517c2cfe9 CAN category (#4148)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -04:00
rusefillc 178721c809 Remove value copy from controller into outputChannels #4095 2022-05-09 06:12:17 -04:00
GitHub build-firmware Action cd3cce1da5 Auto-generated configs and docs 2022-05-09 09:42:49 +00:00
GitHub build-firmware Action 5bbb401f85 Auto-generated configs and docs 2022-05-08 13:06:44 +00:00
GitHub build-firmware Action a4b7845279 Auto-generated configs and docs 2022-05-08 12:05:34 +00:00
GitHub build-firmware Action 41c1081f27 Auto-generated configs and docs 2022-05-02 05:38:10 +00:00
GitHub build-firmware Action 295d4df98e Auto-generated configs and docs 2022-04-29 23:48:53 +00:00
Matthew Kennedy 83caf1ea1b 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 46080b8be3 Auto-generated configs and docs 2022-04-24 00:06:06 +00:00
GitHub build-firmware Action 80031c385a Auto-generated configs and docs 2022-04-23 11:41:19 +00:00
GitHub build-firmware Action 1ba3d587a3 Auto-generated configs and docs 2022-04-21 13:14:29 +00:00
GitHub build-firmware Action dacd58b52a Auto-generated configs and docs 2022-04-20 00:09:40 +00:00
GitHub build-firmware Action 9fdb7d163c Auto-generated configs and docs 2022-04-18 16:29:48 +00:00
rusefillc a6108bafbf unique field names 2022-04-18 11:11:57 -04:00
rusefillc 16a6112002 one step sideways to fix build 2022-04-16 21:24:02 -04:00
rusefillc 0ba512c925 logging of live data structs was: data points #3614
progress
2022-04-16 21:04:02 -04:00
rusefillc c93594cd1b random progress 2022-04-16 16:39:52 -04:00
GitHub build-firmware Action f4c4ced8a0 Auto-generated configs and docs 2022-04-09 13:32:30 +00:00
rusefillc 15b06dc609 Air Conditioning Improvements #4054 2022-04-09 01:23:00 -04:00
rusefillc 101a7eb719 Air Conditioning Improvements #4054 2022-04-08 21:28:50 -04:00
GitHub build-firmware Action 2aa900f585 Auto-generated configs and docs 2022-04-07 13:29:42 +00:00
GitHub build-firmware Action 3bfc05cbc4 Auto-generated configs and docs 2022-04-06 20:22:52 +00:00
GitHub build-firmware Action c5016e6c73 Auto-generated configs and docs 2022-04-05 00:36:02 +00:00
GitHub build-firmware Action ce4206ca1b Auto-generated configs and docs 2022-04-04 21:49:00 +00:00
GitHub build-firmware Action 1a6fe00fcd Auto-generated configs and docs 2022-04-03 13:37:31 +00:00
GitHub build-firmware Action 9ee06779f6 Auto-generated configs and docs 2022-04-03 08:28:56 +00:00
GitHub build-firmware Action 360618a72d Auto-generated configs and docs 2022-04-03 02:32:37 +00:00
GitHub build-firmware Action fa2bb460f1 Auto-generated configs and docs 2022-04-03 01:09:11 +00:00
GitHub build-firmware Action d65db27ec1 Auto-generated configs and docs 2022-03-29 06:42:16 +00:00
rusefillc 3d8c40da58 We have working runtime RAM detection - we shall use it for Lua #3970 2022-03-27 19:39:41 -04:00
GitHub build-firmware Action 2fea30b6a0 Auto-generated configs and docs 2022-03-24 13:05:35 +00:00
GitHub build-firmware Action 44c682c310 Auto-generated configs and docs 2022-03-21 00:20:26 +00:00
GitHub build-firmware Action 715b8438d9 Auto-generated configs and docs 2022-03-20 15:19:43 +00:00
GitHub build-firmware Action 29d35697c5 Auto-generated configs and docs 2022-03-20 13:35:00 +00:00
Matthew Kennedy d01d24490b test AEM X-Series wideband protocol (#4002)
* break out acceptFrame, test CanListener

* test AEM xseries protocol

* tweaks

* tweaks

* maybe everyone compiles happily now
2022-03-15 15:52:50 -04:00
GitHub build-firmware Action 7518054c56 Auto-generated configs and docs 2022-03-13 16:01:27 +00:00
GitHub build-firmware Action 947c7e1d8f Auto-generated configs and docs 2022-03-12 15:09:42 +00:00
GitHub build-firmware Action d7015ee334 Auto-generated configs and docs 2022-03-09 01:32:57 +00:00
rusefillc fd1fb0fcef Revert "lua: TDD of enabling base lib"
This reverts commit ec97bf2cb5.
2022-02-22 20:50:38 -05:00
rusefillc 77bccebd2b Revert "lua: enabling string lib"
This reverts commit a0d3942c29.
2022-02-22 20:50:38 -05:00
rusefillc a0d3942c29 lua: enabling string lib 2022-02-22 17:31:44 -05:00
rusefillc ec97bf2cb5 lua: TDD of enabling base lib 2022-02-22 16:25:41 -05:00
rusefi 7bc130200d Lua CAN relay performance #3911 2022-02-13 00:07:36 -05:00
rusefillc 9ce3f14137 Lua CAN relay performance #3911 2022-02-10 21:01:15 -05:00
GitHub build-firmware Action ecfc81dfae Auto-generated configs and docs 2022-02-11 01:24:16 +00:00
GitHub build-firmware Action 89aff83686 Auto-generated configs and docs 2022-02-10 15:29:24 +00:00
GitHub build-firmware Action c893151cf8 Auto-generated configs and docs 2022-02-07 00:04:39 +00:00
rusefi 0832b694d2 EFI_LAUNCH_CONTROL clean-up 2022-02-06 18:46:09 -05:00
GitHub build-firmware Action 03242d3de4 Auto-generated configs and docs 2022-02-04 21:47:48 +00:00
GitHub build-firmware Action c03c7448b8 Auto-generated configs and docs 2022-02-03 13:07:28 +00:00
GitHub build-firmware Action b053f6ed29 Auto-generated configs and docs 2022-02-02 02:45:00 +00:00
GitHub build-firmware Action 07de476c27 Auto-generated configs and docs 2022-02-01 21:14:16 +00:00
GitHub build-firmware Action 10d469f1e9 Auto-generated configs and docs 2022-01-31 23:55:52 +00:00
Matthew Kennedy fe6cdf60e3 warnings fixes (#3851)
* unused things

* !!! actual bug !!!

* dead

* unused

* unused

* multi-bus lua RX was just broken

* make the compiler angry about it

* dead config

* alphax 2

* just call, no store

* compiler too angry
2022-01-31 18:37:42 -05:00
GitHub build-firmware Action 31a237fac3 Auto-generated configs and docs 2022-01-29 02:41:30 +00:00
GitHub build-firmware Action 21d7fddbb4 Auto-generated configs and docs 2022-01-28 06:04:57 +00:00
GitHub build-firmware Action e7bd6cc37c Auto-generated configs and docs 2022-01-28 01:16:52 +00:00
GitHub build-firmware Action 194ba5b67f Auto-generated configs and docs 2022-01-27 19:27:44 +00:00
GitHub build-firmware Action c020d600ed Auto-generated configs and docs 2022-01-27 13:02:18 +00:00
GitHub build-firmware Action 6d8a104525 Auto-generated configs and docs 2022-01-24 02:55:57 +00:00
GitHub build-firmware Action 1d40fdedd2 Auto-generated configs and docs 2022-01-23 20:42:35 +00:00
GitHub build-firmware Action cd3bbb39d9 Auto-generated configs and docs 2022-01-21 20:59:16 +00:00
GitHub build-firmware Action 7e28bd5191 Auto-generated configs and docs 2022-01-21 01:45:43 +00:00
GitHub build-firmware Action efb2ca5b4c Auto-generated configs and docs 2022-01-19 12:39:51 +00:00
GitHub build-firmware Action f3d1b5307a Auto-generated configs and docs 2022-01-19 05:56:03 +00:00
rusefillc ffca542785 On m_event vs lobe vs scheduling #3804 2022-01-18 00:45:24 -05:00
rusefillc 3e8207f393 GDI Epic #1448 2022-01-18 00:27:20 -05:00
rusefillc 8b18138e21 Better handling of RPM during stop of cranking #3803
one step back
2022-01-17 21:43:30 -05:00
Andrey 385f0cc991 Better handling of RPM during stop of cranking #3803 2022-01-17 21:27:10 -05:00
rusefillc 6df4c6e95c Dumb CAN wake-up #3660 2022-01-15 11:37:24 -05:00
GitHub build-firmware Action c0b4028625 Auto-generated configs and docs 2022-01-14 03:39:21 +00:00
GitHub build-firmware Action 72ac03a8c4 Auto-generated configs and docs 2022-01-12 21:38:47 +00:00
rusefillc 86c8dcf011 random piece of https://github.com/dron0gus/rusefi/tree/f429-discovery-ram-dev 2022-01-09 22:42:24 -05:00
rusefillc 9b38a7d445 limp ClearReason 2022-01-08 22:13:20 -05:00
GitHub build-firmware Action b51c78c3f8 Auto-generated configs and docs 2022-01-09 01:40:32 +00:00
GitHub build-firmware Action 899ee68264 Auto-generated configs and docs 2022-01-09 01:22:51 +00:00
GitHub build-firmware Action 8ee0271419 Auto-generated configs and docs 2022-01-09 00:55:02 +00:00
GitHub build-firmware Action 9d0bd0d0a4 Auto-generated configs and docs 2022-01-07 01:00:00 +00:00
rusefillc d877a02486 LUA read ECU state: Cranking, Idling, Cruising #3742 2022-01-04 23:17:26 -05:00
rusefillc cf11dd0ca5 LUA read ECU state: Cranking, Idling, Cruising #3742 2022-01-04 23:15:03 -05:00
GitHub build-firmware Action 7e72bfbc62 Auto-generated configs and docs 2022-01-04 04:48:36 +00:00
GitHub build-firmware Action 2ec7fe2f97 Auto-generated configs and docs 2022-01-03 08:26:21 +00:00
GitHub build-firmware Action dc1996f9b0 Auto-generated configs and docs 2022-01-03 03:11:01 +00:00
rusefillc 20bcb99ee0 live data progress 2022-01-02 01:17:22 -05:00
rusefillc 62abbd173e GDI Epic #1448 2022-01-01 17:18:11 -05:00
GitHub build-firmware Action e5fba9e080 Auto-generated configs and docs 2021-12-30 22:59:03 +00:00
GitHub build-firmware Action 1cf58391b1 Auto-generated configs and docs 2021-12-30 22:03:20 +00:00
GitHub build-firmware Action be5b3d11b6 Auto-generated configs and docs 2021-12-25 04:41:09 +00:00
rusefillc cfd49b316f E65 wants more 2021-12-23 23:36:07 -05:00
GitHub build-firmware Action 41cdb3a82d Auto-generated configs and docs 2021-12-22 16:08:59 +00:00
GitHub build-firmware Action 45eab7f8a0 Auto-generated configs and docs 2021-12-21 23:15:00 +00:00
rusefillc 664d3057fa Second CAN #3687 2021-12-21 01:17:02 -05:00
rusefillc e2dbe85a50 Second CAN #3687 2021-12-21 01:10:37 -05:00
GitHub build-firmware Action 210d40545c Auto-generated configs and docs 2021-12-20 07:04:16 +00:00
GitHub build-firmware Action 8f2ae9efc2 Auto-generated configs and docs 2021-12-20 06:09:38 +00:00
GitHub build-firmware Action 1a5bbb09d4 Auto-generated configs and docs 2021-12-16 21:08:16 +00:00
GitHub build-firmware Action 40b1b77110 Auto-generated configs and docs 2021-12-16 19:53:45 +00:00
rusefillc 3499208747 clutch input via CAN fix #3605 2021-12-15 20:35:49 -05:00
GitHub build-firmware Action 4b1c0914f1 Auto-generated configs and docs 2021-12-16 01:28:57 +00:00
rusefillc d5f8abb508 clutch input via CAN #3605 2021-12-15 20:11:23 -05:00
rusefillc 34b6be08b1 Lua to read tsOutputs #3376 2021-12-15 13:25:09 -05:00
rusefillc dafeaeaa31 Lua to read tsOutputs #3376 2021-12-14 23:16:05 -05:00
GitHub build-firmware Action efdad35984 Auto-generated configs and docs 2021-12-15 03:35:34 +00:00
rusefillc 68aec90229 Lua to read tsOutputs #3376 2021-12-14 22:28:41 -05:00
GitHub build-firmware Action 511655f5d9 Auto-generated configs and docs 2021-12-14 21:19:31 +00:00
rusefillc cae5ae5ce4 Lua to read tsOutputs #3376 2021-12-13 19:46:41 -05:00
rusefillc aeddcedd3c Lua to read tsOutputs #3376 2021-12-13 19:13:05 -05:00
rusefillc 001c81a972 CAN wake-up #3660 2021-12-13 17:53:20 -05:00
rusefillc 6d5b9866f2 Lua to read tsOutputs #3376 2021-12-11 12:59:47 -05:00
rusefillc cd763ce6ab rusEFI console ISO-TP via PCAN #3667
fixing build
2021-12-08 15:42:00 -05:00
Andrey d2c46b3310 Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming 2021-12-07 20:18:47 -05:00
rusefillc 359420e93d Pause CAN broadcast on engine stop #3665 2021-12-07 10:35:52 -05:00
rusefillc 01153934f9 Requesting LUA Torque intervention #3638 2021-12-02 01:02:56 -05:00
rusefillc 186cbcc297 refactoring 2021-12-01 23:33:26 -05:00
rusefillc c01192acf6 proteus to have enlarged Lua
one step back
2021-11-30 22:35:29 -05:00
Matthew Kennedy dc7fe111bf strtof (#3623)
* strtof

* do fewer divides
2021-11-26 18:39:45 -05:00
rusefillc cedc5f4e9c LUA CANbus expect 29bit ID by default #3592
not great quick fix
2021-11-23 15:41:43 -05:00
Matthew Kennedy 9bd8a19564 oh my god we've had no asserts (#3595) 2021-11-22 17:52:03 -05:00
rusefillc 5271d9791a j1850 SAE crc8 Lua 2021-11-22 14:19:19 -05:00
Scott Smith 467db16828 Move LuaThread to CCM, and shuffle a couple items out. (#3587)
Lua's stack probably doesn't need DMA.  Allows us to group more of our unused RAM together
in one place.
2021-11-21 20:35:03 -05:00
Matthew Kennedy 569415930c detect more overflows with asan (#3582)
* overflow detector

* type list dynamic allocate

* fix the buffer length

* comment

* pr fb

* sanitize sim

* fix sim sanitizer bug

* didn't mean to turn off optimization for sim

* asan can do that, if you turn it on!

* cleaning
2021-11-20 01:38:39 -05:00
Scott Smith 80091498a6 Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Andrey 1be12392c0 proportional spark cut #3427 2021-11-16 13:23:08 -05:00
Matthew Kennedy 7296593448 remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Scott Smith 2cfc4af998 Start the process of using a global engine ptr for unit tests. (#3551)
* Start the process of using a global engine ptr for unit tests.

Passing around the engine, config, and persistent state wasn't buying anything.  Instead, use
EngineTestHelper(Base) to correctly set and clear the global variables.  Add a dummy check in
case some test tries to set them manually.

* Fix OSX build

* Adapt PR to recently added code.
2021-11-16 00:23:14 -05:00
rusefi 1f486a1e15 Lua: changing "table" API 2021-11-14 16:29:46 -05:00
rusefi 301bdf08a2 Something something Automatic Compression Release #3442 2021-11-14 16:04:44 -05:00
rusefi 291f815b2d Something something Automatic Compression Release #3442 2021-11-14 15:04:10 -05:00
rusefillc 899a10c829 script settings need names! 2021-11-14 13:18:11 -05:00
rusefillc 3327b0d4e7 Epic: Remove FSIO #2928 2021-11-14 10:57:19 -05:00
rusefillc 5f1aadf638 Epic: Remove FSIO #2928 2021-11-14 10:39:47 -05:00
rusefi d172961577 findTableIndex 2021-11-13 10:02:01 -05:00
rusefillc f7d1a3e542 lua can 2021-11-13 08:23:44 -05:00
rusefillc 731906b2be lua can 2021-11-13 08:20:30 -05:00
rusefillc 14281da180 lua can 2021-11-13 04:44:17 -05:00
Matthew Kennedy 31848f5bf4 lua pid class (#3411)
* lua pid

* no luaaa stl

* update luaaa

* finality

* luaaa

* luaaa

* = default

* bad merge

* gitmodules

* lua

* proteus demo script

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-13 03:18:16 -05:00
Matthew Kennedy 569ec1013b update luaaa (#3540)
* lua update

* no stdlib mode

* turn off system luaaa for now since it makes luaaa sad

* let user heap do a little

* gitmodules

* memory shuffling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-12 22:10:05 -05:00
Andrey 31b50ff021 Something something Automatic Compression Release #3442 2021-11-11 21:38:49 -05:00
Matthew Kennedy baf11a27b9 load lua libs correctly (#3529)
* fix lua lib loading

* test
2021-11-11 13:44:13 -05:00
rusefi 35f6ac4305 open q 2021-11-10 19:24:17 -05:00
rusefi 99a90309ef why is meat allowed to touch machine?! 2021-11-08 20:49:12 -05:00
Andrey 49d4dea65e lua pid class #3411 2021-11-07 09:53:40 -05:00
Andrey c98bfecf11 lua pid class #3411 2021-11-07 09:49:47 -05:00
Andrey 818e0057c9 lua curve progress 2021-11-05 16:08:48 -04:00
rusefillc 57dc9b36f4 lua curve progress 2021-11-05 10:34:12 -04:00
Andrey 52bd7a9cb7 lua interpolate 2021-11-02 23:35:48 -04:00
Andrey 8c11ab341e refatoring: splitting lua hooks into multiple files 2021-11-02 23:27:48 -04:00
rusefi 85dac3e931 Revert "lua can: one step back"
This reverts commit 3731496f
2021-10-29 16:32:41 -04:00
rusefi 3731496fb3 lua can: one step back 2021-10-29 13:14:42 -04:00
rusefillc 6a504e0755 Revert "lua pid class #3411"
This reverts commit 02bbe16170.
2021-10-28 23:41:23 -04:00
rusefillc 02bbe16170 lua pid class #3411 2021-10-28 23:35:53 -04:00
Matthew Kennedy 41b99b0593 make lua CAN happy (#3416)
* lua can tx

* index

* make rx match
2021-10-28 08:18:56 -04:00
Matthew Kennedy 7422de9391 Lua CAN rx data (#3414)
* rx data

* comments

* multi bus
2021-10-26 16:48:57 -04:00
Matthew Kennedy e7d66fd242 Lua CAN RX (#3403)
* wiring

* static

* implementation

* comment

* unit tests happy

* guard

* guard smarter, not harder

* guard smarter not harder

* guard even smarter, not even harder

* don't need that
2021-10-24 08:37:04 -04:00
rusefillc 73bec80f77 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 00:44:09 -04:00
rusefillc 6692ca7157 Lua: CAN receive integration? callback? #3320 2021-10-24 00:18:28 -04:00