Commit Graph

533 Commits

Author SHA1 Message Date
Matthew Kennedy d5f9479f28
ObdCode is enum class (#77)
* change ObdCode to enum class builds firmware

* test builds

* don't need this line at all

* can we go down to uint16_t?
2023-04-12 23:44:33 -07:00
Matthew Kennedy 915882f1e3 dead cmds 2023-03-31 23:03:31 -07:00
Matthew Kennedy 292174c5c8 dead settings 2023-03-31 22:59:58 -07:00
Matthew Kennedy e9b01eaca7 dead 2023-03-31 22:56:22 -07:00
Matthew Kennedy f090a97b0b remove specs_s struct, flatten config 2023-03-27 00:58:18 -07:00
Matthew Kennedy e6e16e80b6 unused 2023-03-06 01:04:00 -08:00
Matthew Kennedy 3fa2f44014 remove twoWireBatchIgnition 2023-03-02 22:23:24 -08:00
Matthew Kennedy a2652d31dc invert vvt in one spot, like trigger 2023-02-28 13:13:29 -08:00
Matthew Kennedy 56c5b8d2e9
remove displayLogicLevelsInEngineSniffer (#56)
* configs

* remove displayLogicLevelsInEngineSniffer

* test
2023-02-28 01:57:50 -08:00
Matthew Kennedy 6ec66abed9 settings 2023-02-22 16:26:39 -08:00
Matthew Kennedy 959f14fae6 more dead 2023-02-21 11:54:24 -08:00
Matthew Kennedy 464333cd7d x 2023-02-21 02:24:19 -08:00
Matthew Kennedy ab52bf5517 dead comments 2023-02-21 02:13:08 -08:00
Matthew Kennedy c048a151f1 more 2023-02-21 02:11:44 -08:00
Matthew Kennedy c71ba44d61 clean up pretty useless console commands 2023-02-21 02:07:25 -08:00
Matthew Kennedy e1af81e1d7 hip9011 2023-02-20 22:32:32 -08:00
Matthew Kennedy fd09ad7b4f cj125 2023-02-20 22:21:52 -08:00
Matthew Kennedy ac2f9a401d digipot 2023-02-20 22:10:43 -08:00
Matthew Kennedy 553c35a154 EFI_POTENTIOMETER 2023-02-20 22:03:33 -08:00
Andrey 8a5f08839a refactoring 2022-12-31 14:48:25 -05:00
rusefillc 6628541024 guards 2022-12-17 14:58:10 -05:00
Matthew Kennedy a1f69c853c Strictly validate stack use in hardware CI (#4880)
* firmware error in case of low stack only on HW CI

* send date

* I don't java good

* I still don't java good

* send the right command

* I guess we can check it on every single test?

* javaaaaaa

* atoi breaks on later non-digit

* avoid sscanf use (for atoi)

to avoid bloating the stack

* less churn

* less churn

Co-authored-by: Nathan Schulte <nmschulte@desmas.net>
2022-12-08 13:20:55 -05:00
Nathan Schulte e904ad209e firmware: fix ISO date-time parsing (#4872)
sscanf(isoDateTime, "%4lu-%2hhu-%2hhuT%2hhu:%2hhu:%2hhu", ...) would not
parse beyond the month when built for rusEFI, for unknown reasons,
though it works with a simplified test with GCC, hence the splayed
parsing

use sscanf over atoi for improved memory safety
2022-12-05 18:41:30 -05:00
rusefillc 5beaf1605a reduce flash footprint by smarter code generation #4163
more or less dead code?
2022-12-04 14:14:54 -05:00
rusefillc 764c064656 reduce flash footprint by smarter code generation #4163 2022-12-04 01:21:38 -05:00
Nathan Schulte 0057d0d2f4 avoid ctime, use UTC ISO 8601 for CMD_DATE format (#4764)
* java_console: use UTC ISO 8601 for CMD_DATE format

* ChibiOS RTC avoids ctime

* firmware: controller sets time via ISO 8601

* avoid ctime in CAN dash
2022-11-23 16:53:16 -04:00
Nathan Schulte d4cc3caeab code style, GPS fixes (test, firmware) (#4822)
* tidy NMEA

* const in nmea

* correct gps test output

* fix GPS UART print statements

* cleanup feature toggles in settings

* fix comment typos, misc whitespace
2022-11-23 07:01:34 -04:00
Matthew Kennedy 7b47e77e58 infer useOnlyRisingEdge by trigger type (#4621)
* most of the plumbing

* easy tests

* trigger types that are rise only

* configs

* change mode of various triggers

* vvt

* 898 test is now impossible 🥳

* s

* instant rpm test

* actually remove useOnlyRisingEdgeForTrigger

* remove vvtCamSensorUseRise

* s

* print

* one happy test

* another test

* happy testSomethingWeird

* happy testCamInput

* maybe fix it a different way

* better

* quad cam

* nb2 happy

* bad merge

* vvt test

* trigger.test1995FordInline6TriggerDecoder

* hellen gm e67

* changelog
2022-11-08 21:48:39 -05:00
rusefi 996f862c78 docs 2022-11-01 21:44:22 -04:00
rusefillc 92bed0c699 less horrible constant name 2022-10-27 22:17:50 -04:00
Matthew Kennedy 1cc46a1b83 simplify initializeSkippedToothTrigger (#4674) 2022-10-17 16:05:27 -04:00
Matthew Kennedy a13445478f consolidate analog vs. temp info commands (#4646)
* consolidate analog vs. temp info commands

* cleanup

* guard
2022-10-10 07:44:20 -04:00
Andrey aa0cffcfdb deep rabbit holes are the best ones!
refactoring: encapsulation
2022-09-14 02:06:52 -04:00
Andrey b439f27284 inline method to reduce confusion 2022-09-14 01:34:52 -04:00
Andrey 25b6d39802 os_access.h dead? 2022-09-07 15:56:45 -04:00
rusefillc 72c4637512 progress or maybe even a fix of logging? 2022-08-25 22:24:35 -04:00
rusefillc fb3343dff5 this code is too dead 2022-08-25 22:09:22 -04:00
rusefi 27caa44824 ISO-TP does not work on real car #4427 2022-08-11 00:17:03 -04:00
Matthew Kennedy d4721bee89 implement sensor checker (#4395)
* implement sensor checker

* use default

* s

* fix

* properly report non-timeout errors

* it's not safe to read Value when invalid

* it's not safe to read Value when invalid
2022-07-30 17:08:48 -04:00
rusefillc e19b61aa5b [SECURITY] Cheap password protection against tune modification fix #4243 2022-07-30 12:23:53 -04:00
Matthew Kennedy 1fd637d27e remove idle offset (#4355)
* remove offset

* remove more completely

* changelog
2022-07-18 15:49:43 -04:00
rusefillc 92119af801 logging of live data structs was: data points #3614 2022-06-29 02:37:24 -04:00
Matthew Kennedy 478549ccdf get rid of setSerialConfigurationOverrides (#4274)
* get rid of setSerialConfigurationOverrides

* missed a few

* kinetis
2022-06-23 19:42:09 -04:00
rusefi e8e0e7bd6d verbose trigger sync should reuse engineSnifferRpmThreshold #4259
reducing complexity
2022-06-18 13:57:36 -04:00
Matthew Kennedy b5d212dcd8 remove dead useOnlyFirstChannel (#4211)
* This field was ignored.

* move pad out

* gone
2022-05-30 07:03:40 -04:00
rusefillc 9d87e73b60 reduce flash footprint by smarter code generation #4163 2022-05-15 23:16:31 -04:00
rusefillc abba034761 efi::size 2022-05-15 19:19:21 -04:00
rusefillc e442244395 reduce flash footprint by smarter code generation #4163 2022-05-15 15:40:19 -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