Commit Graph

284 Commits

Author SHA1 Message Date
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
Matthew Kennedy ff98133f34 scripts 2023-02-22 15:29:48 -08:00
Matthew Kennedy 5d7a30ce2b no qc 2023-02-22 14:53:31 -08:00
Matthew Kennedy 00f3067185 idle pid cic 2023-02-20 23:01:59 -08:00
Matthew Kennedy 495b5aebc7 mcp3208, hip9011 2023-02-20 22:40:31 -08:00
Matthew Kennedy 0e12622371 cdm ion 2023-02-20 22:37:14 -08:00
Matthew Kennedy 961950dbcc gps 2023-02-20 22:07:21 -08:00
Matthew Kennedy 61c17791b8 joystick, lcd 2023-02-20 21:54:10 -08:00
rusefillc 8730782cd3 Refactoring: less confusion macro names around serial/uart/etc in connectivity fix #4999 2023-01-23 05:26:59 -05:00
rusefillc 3aa9ffca60 Refactoring: less confusion macro names around serial/uart/etc in connectivity #4999 2023-01-23 05:09:32 -05:00
rusefillc 886ec74442 antilag and anti-lag #2403
TurboMarian is the ALS boss
2022-12-21 20:12:00 -05:00
rusefillc 1f08781383 Update readme.md 2022-11-19 20:15:21 -05:00
rusefillc 0efe42e07e Update readme.md 2022-11-19 19:34:23 -05:00
rusefillc f08b483a20 Create readme.md 2022-11-19 18:53:43 -05:00
Nathan Schulte 877fa21bd8 fix simulator build (via MinGW) (#4799)
* firmware: kill -9 dead hipLastExecutionCount

* firmware: pin_repository C includes efi_gpio.h

* firmware: controllers: tidy #endif comments

* firmware: primary_pins logic depends EFI_GPIO_HARDWARE

* firmware: only print ADC info if HAL_USE_ADC

* firmware: digital_input: tidy #endif comments

* firmware: digital_input logic depends on e.g. HAL_USE_ADC

* firmware: digital_input logic depends !EFI_SIMULATOR

* firmware: digital_input logic depends e.g. HAL_USE_ADC

* simulator: Makefile includes RUSEFI_LIB_C as CSRC

* Revert "GHA/build-firmware: pin agents to Ubuntu 20.04 (#4793)"

This reverts commit 51e368245b.
2022-11-18 23:43:43 -05:00
Nathan Schulte a4198e2486 simulator: use CC and CPPC for LD (#4794)
this allows to specify a different GCC when building
2022-11-18 21:15:13 -05:00
Nathan Schulte 2d394cceee simulator: compile.sh passes arguments to make 2022-11-18 10:19:54 -05:00
Nathan Schulte 199a892fb5 simulator: tweak case of rusEFI in compile.sh log 2022-11-18 10:09:53 -05:00
Nathan Schulte 814f69cd39 simulator: Makefile uses spaces ...
... tabs are reserved for recipes
2022-11-18 10:09:28 -05:00
Nathan Schulte a0c1b738e6 simulator: add missing stdc++ include to CAN HAL LLD (#4795)
for std::remove -- GCC 12 exposes this issue
2022-11-18 09:27:54 -05:00
rusefillc 359c682896 ingles lo hablas 2022-10-01 06:15:00 -04:00
rusefillc 35bf947f06 insist on setBoardConfigOverrides fix #4614 (#4615)
* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614
2022-09-24 07:35:19 -04:00
Matthew Kennedy 91566b86d3 simulator reads/writes configuration (#4605)
* simulator reads/writes configuration

* c_str

* include order
2022-09-23 08:47:50 -04:00
Andrey 31dbf06c84 os_access.h dead? 2022-09-07 16:00:13 -04:00
rusefi 06552b6bee servo is truly not alive 2022-09-06 16:29:12 -04:00
rusefillc 07702cab5d Issue 4115 (#4518)
* efiPrint NaN handling #4115

* fresh chibi

* efiPrint NaN handling #4115
2022-09-01 23:13:23 -04:00
Andrey 1ffa98ba89 a bit of dead code 2022-09-01 11:47:56 -04:00
rusefi 21a1b022e7 efiPrint NaN handling #4115 2022-08-31 20:00:58 -04:00
Matthew Kennedy 5fc7000834 Pt2001 module (#4396)
* pt2001 uses module

* read flag0

* c

* libfirmware

* makefiles

* are unit tests happy?

* bootloader
2022-08-08 08:53:08 -04: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 8d250448e0 Detail on how to set up iDrive or equivalent CAN button control #226
boost lua progress
2022-07-14 12:59:09 -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
Matthew Kennedy 6267b8621a big delete ICU (#4270)
* big delete

* icu vestiges

* changelog
2022-07-07 15:27:59 -04:00
Matthew Kennedy 2c80b8cf19 implement CAN driver for simulator (#4312)
* stub simulator CAN driver

* comments

* CAN sensor

* maybe implement?

* s

* fix

* tx and rx actually work!?!?!

* check_can_isr

* modify chibios

* Sim has no CAN on Windows (for now?)

* safer init/deinit, enable assertions

* smarter handling of missing CAN device

* better guards

* guards for windows
2022-07-03 08:25:24 -04:00
rusefillc ce1d80ec33 stealing from David 2022-06-26 19:42:08 -04:00
rusefillc 78c520ac06 helping simulator a bit 2022-04-30 13:08:53 -04:00