Commit Graph

250 Commits

Author SHA1 Message Date
rusefillc 43c0bda002 only:dead 2024-02-16 19:07:55 -05:00
rusefillc 10ef3a37ce a bit of dead & convention 2024-01-29 21:23:06 -05:00
Matthew Kennedy 2048492c59 removing narrow ego avg 2024-01-03 11:16:40 -05:00
rusefillc 8167fcebad only: Detected gear is not current gear? #5850 2024-01-02 22:14:08 -05:00
Andrey Gusakov e80c57fa5f EFI_MEMS -> EFI_ONBOARD_MEMS 2023-12-16 11:50:34 -05:00
Andrey 6e579a3776 turning smart chips off by default 2023-11-22 07:50:40 -05:00
rusefi 9a5ec27c54 only:cleaner defines 2023-11-05 18:20:12 -05:00
rusefillc 4cb45a354b
Better efi engine control guard (#5695)
* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL
2023-11-05 13:54:06 -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
Andrey G 1eea6c946b
Prepare for MFS on internal flash (#5686)
* Rename EFI_STORAGE_EXT_SNOR to EFI_STORAGE_MFS

Just to reduce confusion. MFS is going to be used for AT32 internal
flash.

* MFS: hide low level stuff to board file

MFS can be located on internal or external flash/eeprom.
This is board-dependent, so hide intialization and configuration
to board file.
This should also help switching to MFS on internal flash too.

* Fix simulator

* Fix comments
2023-11-03 07:30:31 -04:00
rusefi 088438f8ca hd 2023-10-31 02:02:20 -04:00
rusefillc 215284c7bc DAC with Lua #5601 2023-10-09 11:33:09 -04:00
rusefillc 7235fa937e only: CONFIG_RESET_SWITCH is dead 2023-07-24 02:05:14 -04:00
rusefi a89ee66fb6 Conditional compilation of getOutputValueByName getConfigValueByName #5434
only:first step
2023-07-22 15:34:48 -04:00
rusefi 2404d2cb01 helping 8chanF7 2023-06-29 18:08:51 -04:00
Andrey f20b22fa81 only:small-can-board 2023-06-22 14:45:32 -05:00
Andrey 7f8f35f69f ohh look more dead! 2023-06-22 13:46:04 -05:00
Andrey 7460a9b5ed only:small-can-board 2023-06-22 13:34:01 -05:00
Andrey afbee46ee7 allowing flexibility 2023-06-21 22:37:19 -05:00
Matthew Kennedy b174ef488a shared define for all LED pin mode 2023-06-05 11:49:09 -04:00
Matthew Kennedy f7e6ccd9e2 de-pointerize outputMode #49 2023-06-05 10:25:00 -04:00
rusefillc 4cd21bc35e better code guard? 2023-05-24 11:07:31 -04:00
rusefillc 91a25bad96 conditional EFI_DFU_JUMP 2023-05-24 09:58:22 -04:00
rusefillc e63b753b71 conditional compilation around getBackupSram 2023-05-24 08:57:01 -04:00
Matthew Kennedy 7396d466c4 cj125
(cherry picked from commit fd09ad7b4f2a9c450aedf4a535db4edd24bdcee1)
2023-04-29 00:15:54 -04:00
Matthew Kennedy bb49b22294 joystick, lcd
(cherry picked from commit 61c17791b89fc6b5ae17df96d9498c088afdb09f)
2023-04-28 22:32:37 -04:00
Andrey 6b4c4a5833 refactoring: vvt is not aux
only:hellen-honda-k
2023-03-05 02:07:47 -05:00
rusefillc 2b45387eb1 CAN GPIO #4096 2023-03-04 20:50:22 -05:00
rusefillc f80640c61b Default binary should have more relaxed pinout: serial #4998
removing global F4 UARTD3 default
2023-01-23 07:12:25 -05:00
rusefillc 15ae3a4591 Default binary should have more relaxed pinout: serial #4998
we shall be enabling not disabling, and specifically these undef are not needed anyway?
2023-01-23 05:44:07 -05:00
rusefillc c1fea618f9 Refactoring: less confusion macro names around serial/uart/etc in connectivity fix #4999 2023-01-23 05:26:59 -05:00
rusefillc 083bafb3ba Refactoring: less confusion macro names around serial/uart/etc in connectivity #4999 2023-01-23 05:09:32 -05:00
rusefillc 18003198a3 helpful hint for future generations 2022-12-17 19:01:40 -05:00
rusefillc 9396864b92 following the pattern 2022-12-17 17:10:15 -05:00
rusefillc d696ad52b3 TurboMarian is the ALS boss 2022-12-16 20:22:48 -05:00
rusefi 34aec4b0ab SENT protocol capture implementation #4631 2022-10-19 23:45:21 -04:00
Andrey 130af4414f following the pattern 2022-10-16 22:36:31 -04:00
Andrey G 850848d2ee
SENT core decoder and ICU driver (#4648)
* SENT: copy-paste SENT decoder from rusefi-hardware

* SENT: decoder: refactor, cleanup

* SENT: add ICU implementation

* SENT: decoder: use pch.h

* SENT: EFI_PROD_CODE guard

* SENT: ICU driver: fixes

* SENT: don't forget to SysLock

* SENT: call Start on Init (agrrrr)

* SENT: ICU: some limitations

ICU can capture on two firsts TIM inputs only. So move from PA2 to PA1

* SENT: mmmm... c++... i like it (no)

* SENT: autocalibrate tick time

* SENT: debug

* SENT: clean-up

* SENT: optimize slow channel mailboxes

* SENT: GetSignals() helper
2022-10-09 06:38:28 -04:00
Matthew Kennedy 86562332c4
resurrect EFI_CLOCK_LOCKS (#4572)
* resurrect EFI_CLOCK_LOCKS

* missing extern

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-09-13 14:07:25 -04:00
rusefi f399e275b2 servo is truly not alive 2022-09-06 16:29:12 -04:00
rusefi 869e51e31d ISO-TP does not work on real car #4427
oh shit :(
2022-08-11 00:37:48 -04:00
Matthew Kennedy 18351dc43b
tle9104 driver (#4410)
* tle9104

* it works!

* cleanup

* cleanup for pr

* efifeatures

* guards
2022-08-02 19:02:03 -04:00
Matthew Kennedy e9d092f975
big delete ICU (#4270)
* big delete

* icu vestiges

* changelog
2022-07-07 15:27:59 -04:00
Matthew Kennedy 9f15218089
remove system lua VM (#3864)
* well, that was a fun experiment

* don't need that file

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-06-29 16:52:17 -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
Matthew Kennedy 27cdab28f1
logic analyzer uses exti (#4269)
* rename functions

* s

* logic analyzer implemented using EXTI

* s

* don't turn it off on hellen either

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-06-22 20:13:17 -04:00
Matthew Kennedy 0bc445b461
flip icu/pal default (#4268)
* flip icu/pal default

* s

* s

* cleanup

* eg33
2022-06-22 18:43:39 -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
David Holdeman 49f8daae14
More untested transmission features (#4093)
* use ISS for gearbox ratio, add gauge for TC ratio

* measure shift time

* add shift time gauge, todo notes for pc

* do conversion in the right direction

* switch to Timer and seconds

* try fixing build

* try fixing build again

* try defines, remove include

* use shift pcs

* add 3-2 pct curve

* control 3-2 solenoid

* move 3-2 to persistent config

* fix param
2022-04-23 07:34:39 -04:00
rusefillc 2055994799 something is not right here, do we still have RAM image in MRE QC? 2022-04-18 00:03:56 -04:00