Commit Graph

319 Commits

Author SHA1 Message Date
Matthew Kennedy 761efd862c
MAP avg uses engine module callbacks (#475)
* use engine module callbacks

* happy tests

* happy small-can-board

* interact with map avg via module

* simplify map avg init

* tweaks

* omit module to disable it instead!

* unnecessary guard

* minor cleanups

* unnecessary branch - lookups for these tables are fine at 0 rpm

* oop
2024-08-29 22:38:30 -07:00
Matthew Kennedy 0b31777623 adc inputs cleanup 2024-08-12 18:13:51 -07:00
Matthew Kennedy 48b8f08cb8 EFI_ACTIVE_CONFIGURATION_IN_FLASH 2024-08-07 12:09:30 -07:00
Matthew Kennedy 1913853adb more dead efifeatures 2024-08-07 12:03:10 -07:00
Matthew Kennedy baa76180fe simulator efifeatures 2024-08-07 12:01:16 -07:00
Matthew Kennedy 1452a1dcc7 Revert "simulator: more arguments (#432)"
This reverts commit be7a2ddc9c.
2024-08-05 13:40:04 -07:00
Nathan Schulte be7a2ddc9c
simulator: more arguments (#432)
* simulator: improve READMEs

* simulator: use argp for argument parsing

* simulator: plumb SocketCAN device argument

* simulator: change verbosity argument

use a --quiet instead, as --verbose is a "set-only" option without
arguments and cannot be "unset" if default

* simulator: timeout is an option, not an argument

* simulator: github workflow uses --timeout option
2024-08-05 11:43:07 -07:00
Matthew Kennedy 4b4d2ac4d5
ethernet console as engine module (#453)
* infrastructure for engine modules in the build

* fully move fuel pump

* fan

* gear detector

* gear detect

* fan control cleanup

* trip odometer

* shuffle makefiles around a little

* move ethernet console to engine module

* oops

* s

* final

* dead line
2024-07-23 20:52:37 -07:00
Matthew Kennedy ff5e47c95d
Engine modules participate in the build system (#452)
* infrastructure for engine modules in the build

* fully move fuel pump

* fan

* gear detector

* gear detect

* fan control cleanup

* trip odometer

* shuffle makefiles around a little

* minor format
2024-07-23 18:05:43 -07:00
Matthew Kennedy dd8dea61c0 rename Executor -> Scheduler 2024-07-11 17:03:13 -07:00
Matthew Kennedy e61e4c4b09 remove scheduleByTimestamp() 2024-07-11 16:38:42 -07:00
Matthew Kennedy 1731b30337 remove scheduleForLater 2024-07-11 16:27:30 -07:00
Matthew Kennedy 9aaa7d9507 dead pwm tester 2024-07-11 16:19:34 -07:00
Matthew Kennedy 3f8931f341 we often mean inline when we say static 2024-03-28 18:20:40 -07:00
Matthew Kennedy a9d47da54e make clean deletes generated 2024-03-15 01:06:00 -07:00
Matthew Kennedy d8898a4665 cherry picks from #385 2024-03-13 00:56:53 -07:00
Matthew Kennedy da1ad5b34f scripts should fail harder when they fail 2024-03-07 22:17:37 -08:00
Matthew Kennedy e5fb7f7f3f
gen config with make (#363) 2024-02-22 10:58:03 -08:00
Matthew Kennedy 829a0f6b17 simulator crust 2024-02-16 14:10:26 -08:00
Matthew Kennedy 58679fb81a s 2024-01-17 16:15:09 -08:00
Matthew Kennedy fe930d0859 simulator gets short board name 2024-01-17 15:48:42 -08:00
Matthew Kennedy 31a23e2aca missing defines for simulator 2024-01-17 15:02:09 -08:00
Matthew Kennedy f3b335fe8d
all generated files in one dir (#348)
* delete existing generated source files

* ignore new generated dir

* move all the generated files

* cleanup

* jars

* makefile

* bootloader

* simulator+tests
2024-01-17 14:25:00 -08:00
rusefillc d2eb532126
signal_executor_sleep is not part of real firmware (#334)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-07 12:39:26 -08:00
Matthew Kennedy e5a751e3b1
remove ccache (#288) 2023-11-02 11:28:14 -07:00
Matthew Kennedy eed689eb03 properly include rules mk in simulator 2023-11-01 16:42:12 -07:00
Matthew Kennedy 77f2b95c6f sim 2023-11-01 16:12:13 -07:00
Matthew Kennedy fc308d400a prep adding Werror=shadow 2023-11-01 15:37:00 -07:00
Matthew Kennedy 8974d9d680 more init logic more common 2023-10-26 12:35:42 -07:00
Matthew Kennedy f19eaeb7c8 dead isWarningEnabled 2023-10-24 16:25:53 -07:00
Matthew Kennedy 60710c2c18 vvt didn't work in simulator either 2023-10-24 01:02:11 -07:00
rusefillc 7ad5b00f2e
refactoring: vvt is not aux (#263)
* refactoring: vvt is not aux

(cherry picked from commit 6b4c4a583316a32d7723c2cfa16cda39fa9afb1b)

* this repo has VVT conditional at small-can-board
2023-09-27 00:59:04 -07:00
Matthew Kennedy a5e04a1e76 instaflush stdout on simulator 2023-09-14 01:51:36 -07:00
Matthew Kennedy b14ca428fb #ifdef __cplusplus crust 2023-08-28 14:17:26 -07:00
Matthew Kennedy 4f0d4cedfc header 2023-07-01 22:54:57 -07:00
Matthew Kennedy 3b2697cb7c sim warnings 2023-07-01 22:45:51 -07:00
Matthew Kennedy fd98124304 simulator crash fix #101 2023-05-05 14:53:39 -07:00
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 fa41247fde ancient history dead histogram 2023-04-11 17:02:56 -07:00
Matthew Kennedy 461e448162 fewer console cmd slots 2023-03-31 23:05:17 -07:00
Matthew Kennedy 0fef22667d this is more robust 2023-03-16 01:37:42 -07:00
Matthew Kennedy 5a570f4e36 simulator has short board name 2023-03-15 22:31:30 -07:00
Matthew Kennedy 5c7334f2e7 rename simulator 2023-03-15 22:26:49 -07:00
Matthew Kennedy 556a04b8d4 use fixed number instead of nproc 2023-03-13 14:03:33 -07:00
Matthew Kennedy 68f3b69a2e misc cleanups 2023-03-06 01:05:48 -08:00
Matthew Kennedy 4de3c86749 crusty dead things 2023-02-28 02:29:46 -08:00
Matthew Kennedy 2e978cc23a simulator is happy! 2023-02-22 16:22:08 -08:00
Matthew Kennedy 07b2f1b783 include after main rules so that deps exist 2023-02-22 15:58:15 -08:00
Matthew Kennedy bc0444acdb switch to use gitversion.h 2023-02-22 15:39:27 -08:00
Matthew Kennedy cda19e712a need that one evidently 2023-02-22 15:33:52 -08:00