Commit Graph

547 Commits

Author SHA1 Message Date
rusefillc 2e53984dc4 only:cleaner guards 2024-03-15 13:11:39 -06:00
rusefillc a528958051 dead 2023-11-15 00:56:06 -05:00
Matthew Kennedy d326a1fc55 s 2023-11-13 09:04:20 -05:00
Andrey 19f8f0d7f2 better EFI_ENGINE_CONTROL 2023-11-05 15:55:46 -05:00
Andrey G ed8af771ac
at_start_f435: enable MFS for internal flash (#5687)
* Rename EFI_INTERNAL_FLASH to EFI_STORAGE_INT_FLASH

This define enables use of RE custom flash driver for storing
settings to internal flash.

* at_start_f435: enable MFS for settings storing in internal flash

* MRE: fix special build

* kinetis: fix flash_int.cpp vs flash_int.c mess

* at32: allow allowFlashWhileRunning()

* flash_main: supress warning
2023-11-03 13:08:35 -04:00
rusefillc e384914c95 only:variable shadowing should be avoided #5676 2023-11-01 13:02:20 -04:00
rusefillc c98963a991 only: dead commands 2023-10-27 11:35:15 -04:00
Matthew Kennedy d80ff6b438 no (void) 2023-10-26 23:10:59 -04:00
Matthew Kennedy e0db4ba5bf verbose idle is redundant, it's all in the log now 2023-09-25 08:37:06 -04:00
rusefi f8c641d811 only:alphax-2chan 2023-08-27 14:55:18 -04:00
Andreika f76ae88aff
CAN bench: set engine type command (#5538)
* CAN_BENCH_SET_ENGINE_TYPE

* fir setPin()

* update libfirmware
2023-08-24 09:48:30 -04:00
Andrey 8ca776d3e0 only:proteus_f7
setConfigValueByName into text console
2023-06-27 15:05:15 -04:00
Matthew Kennedy 10c5c4ec94 #23 and fix https://github.com/rusefi/rusefi/issues/5353
(cherry picked from commit b0c3357cba)
2023-06-25 00:25:07 -04:00
rusefillc 5511702149 better code guard? 2023-05-24 11:15:07 -04:00
rusefillc 4964770cf1 better code guard? 2023-05-24 09:57:23 -04:00
rusefillc 805d55a26f dead code 2023-05-24 08:25:21 -04:00
rusefillc 4e491eefb7 one step back 2023-05-24 01:38:15 -04:00
rusefillc 5df6e5a63e code guard & unneeded code? 2023-05-24 01:23:39 -04:00
rusefi 14e8d6ca6d GDI actually external GDI4 would care
only:proteus_f7
2023-05-15 17:04:49 -04:00
rusefi 4c26f77aad GDI
only:proteus_f7
2023-05-15 16:40:03 -04:00
Matthew Kennedy 32536ca6c2 dead cmds
(cherry picked from commit 915882f1e3)
2023-04-30 01:36:18 -04:00
Matthew Kennedy 59d51be749 dead
(cherry picked from commit e9b01eaca7)
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 fd09ad7b4f)
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 292174c5c8)
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