Commit Graph

527 Commits

Author SHA1 Message Date
Matthew Kennedy 32536ca6c2 dead cmds
(cherry picked from commit 915882f1e38e3b05fb8309846642f641c5db1164)
2023-04-30 01:36:18 -04:00
Matthew Kennedy 59d51be749 dead
(cherry picked from commit e9b01eaca716ded9631c225a92c11485428b714c)
2023-04-30 01:32:01 -04:00
Matthew Kennedy dd65b81754 a bit of dead code 2023-04-29 18:38:17 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Matthew Kennedy 7396d466c4 cj125
(cherry picked from commit fd09ad7b4f2a9c450aedf4a535db4edd24bdcee1)
2023-04-29 00:15:54 -04:00
Andrey f296e30fb5 it's going to be painful 2023-04-28 21:01:08 -04:00
Andrey ca8f351e7c it's going to be painful 2023-04-28 20:18:03 -04:00
Matthew Kennedy 7215151877 dead settings
(cherry picked from commit 292174c5c855c2c2064e06098072d4582cbffc75)
2023-04-28 20:18:03 -04:00
rusefi f3279c108e proteus F7 QC build is broken #5242 2023-04-19 22:09:57 -04:00
rusefillc daae9a4053 kline
only:hellen-honda-k
2023-04-03 16:59:09 -04:00
rusefillc 21ff76c61c kline
only:hellen-honda-k
2023-04-03 16:54:26 -04:00
rusefillc 03e0a9e2a2 Gear detection based on RPM to VSS ratio #3779
a bit of lol
2023-03-16 10:37:01 -04:00
Andrey dda24f79f3 dead-ish code
only:hellen-honda-k
2023-03-05 02:22:04 -05:00
Andrey fda55a2dcf refactoring 2022-12-31 14:48:25 -05:00
rusefillc f0f8f022e2 guards 2022-12-17 14:58:10 -05:00
Matthew Kennedy 614dc2f260
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 9cd1760fa5
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 98626bfa9d reduce flash footprint by smarter code generation #4163
more or less dead code?
2022-12-04 14:14:54 -05:00
rusefillc d0957a03a5 reduce flash footprint by smarter code generation #4163 2022-12-04 01:21:38 -05:00
Nathan Schulte 59406e83f3
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 fd1115d01a
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 5c50ad2db4
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 004cadf5d1 docs 2022-11-01 21:44:22 -04:00
rusefillc f9fa729d8d less horrible constant name 2022-10-27 22:17:50 -04:00
Matthew Kennedy f760ae11c1
simplify initializeSkippedToothTrigger (#4674) 2022-10-17 16:05:27 -04:00
Matthew Kennedy 9d132676fd
consolidate analog vs. temp info commands (#4646)
* consolidate analog vs. temp info commands

* cleanup

* guard
2022-10-10 07:44:20 -04:00
Andrey 12d857b99c deep rabbit holes are the best ones!
refactoring: encapsulation
2022-09-14 02:06:52 -04:00
Andrey 82cda62bac inline method to reduce confusion 2022-09-14 01:34:52 -04:00
Andrey ab4b451195 os_access.h dead? 2022-09-07 15:56:45 -04:00
rusefillc 67055c69bf progress or maybe even a fix of logging? 2022-08-25 22:24:35 -04:00
rusefillc 733f9b4659 this code is too dead 2022-08-25 22:09:22 -04:00
rusefi 21f77c0b27 ISO-TP does not work on real car #4427 2022-08-11 00:17:03 -04:00
Matthew Kennedy b6f1779781
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 26ae6f7490 [SECURITY] Cheap password protection against tune modification fix #4243 2022-07-30 12:23:53 -04:00
Matthew Kennedy e1254f84b9
remove idle offset (#4355)
* remove offset

* remove more completely

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

* missed a few

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

* move pad out

* gone
2022-05-30 07:03:40 -04:00
rusefillc 2b99f5a34e reduce flash footprint by smarter code generation #4163 2022-05-15 23:16:31 -04:00
rusefillc 9000af369b efi::size 2022-05-15 19:19:21 -04:00
rusefillc 6b3e028ba8 reduce flash footprint by smarter code generation #4163 2022-05-15 15:40:19 -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
rusefillc e54fb367a0 dead code 2022-05-15 10:13:47 -04:00
Andrey e62877964a Move curves out of engineConfiguration in order to reduce RAM usage #4127 2022-05-01 23:43:43 -04: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
Andrey 204ac3961b Trigger setup in TS is highly confusing: hide operation mode from users? #4031
WOW it works?!
2022-04-03 02:30:43 -04:00
Andrey 9d335c1261 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-03 01:38:52 -04:00