Commit Graph

73 Commits

Author SHA1 Message Date
rusefillc df87937e30 reducing code duplication, making API available 2024-09-19 11:06:48 -04:00
rusefillc 591daa471d only:odd unused line? 2024-09-19 10:49:33 -04:00
rusefillc 499d324e1a a bit of a funny problem
only:alphax-4k-gdi
2024-08-31 20:17:57 -04:00
Andrey 1530b3dbd9 PUBLIC_API_WEAK or BOARD_WEAK #6748 2024-07-27 12:47:56 -04:00
Andrey c2ed0fb519 only:a bit of dead code 2024-05-24 12:16:25 -04:00
rusefillc 9f9659d12e BOOT_COM_CAN_RX_MSG_ID reducing code duplication 2024-04-13 13:58:56 -04:00
rusefillc 3e6b124e30 only:boardProcessCanRxMessage 2024-04-02 23:21:50 -04:00
rusefillc 8a26799adf only: boardProcessCanRxMessage 2024-03-30 20:16:46 -04:00
Matthew Kennedy 4f39b22be6 registerCanListener should be idempotent 2024-03-03 12:30:40 -05:00
rusefillc e63367e8d1 Initsensors but properly #6120
making issue obvious
2024-03-02 17:43:10 -05:00
rusefillc 459a6d6dc6 enableExtendedCanBroadcast 2024-01-19 19:04:48 -05:00
rusefillc cad9d92cf5 only: #5208 reuse magic constant 2023-12-21 05:32:15 -05:00
Andrey Gusakov 6b957e33b7 IMU: select CAN vs SPI 2023-12-18 12:00:48 -05:00
Matthew Kennedy d31f535ca3 sanity in IMU data names/ranges 2023-11-27 14:59:21 -05:00
rusefillc d0a573dbba only:docs 2023-11-13 16:47:59 -05:00
Andrey 9237c4b16a better EFI_ENGINE_CONTROL 2023-11-05 12:09:25 -05:00
rusefi 4142b42714 fuelCutCode for lack of GDI4 communications fix #5631 2023-10-23 14:22:13 -04:00
rusefi 381b9bb9e7 fuelCutCode for lack of GDI4 communications #5631
only:proteus_f7
2023-10-23 13:25:53 -04:00
rusefi f8c641d811 only:alphax-2chan 2023-08-27 14:55:18 -04:00
rusefillc e4fa019029 can_rx: dead 2023-08-17 08:25:45 -04:00
rusefillc c287f35b1f helping stm32h 2023-05-08 23:32:14 -04:00
Andrey Gusakov 83f2087f97 CAN: rework debug prints, show ID in hex only for 29bit packets 2023-05-08 21:55:54 -04:00
rusefi 3e47a8e39e Update wideband submodule #5208
only:hellen-honda-k
2023-03-30 12:08:14 -04:00
rusefillc 234862b2b7 CAN side of automated testing #4630 2022-09-29 23:01:06 -04:00
Andrey G a6bb71f52b
OpneBLT: Ops!: use can2OpenBLT for second CAN (#4430) 2022-08-09 18:12:11 -04:00
Andrey G 62e7463b4b
OpenBLT: jump to OpenBLT on CAN request only if allowed (#4429) 2022-08-09 17:22:38 -04:00
Andrey G aecd997d4b
OpenBLT shared params (#4417)
* OpenBLT: linker file: use last 16 bytes of ram for shared area

This area is used for communication between FW and OpenBLT.

* OpenBLT: startup: invalidate only DFU breadcumb from startup code

Same location (but different seed) is used for shared param's
signature in OpenBLT.

* OpenBLT: enable shared params

* OpenBLT: enable hooks

If 0x01 is stored in shared param idx=0, then stay in OpenBLT forever.

* Jump to OpenBLT: store proper shared param when OpenBLT is requested

TODO: calculate and store CRC too!

* OpenBLT: move shared_params to start of RAM

* Bootloader: Allocate 16 bytes at start of RAM for bootloader shared area

* OpenBLT: shared_params: reuse same .c and .h file for main application

* OpenBLT: shared_params: enable CRC check

* OpenBLT: no need to manualy set breadcumb before reset

* Revert "OpenBLT: startup: invalidate only DFU breadcumb from startup code"

This reverts commit 6b064714b953560227ae53e38355332cf9f46f7f.

* OpenBLT: guard for builds without OpenBLT

* OpenBLT: reboot to OpenBLT on CAN request with ID=0x667 and DLC=2

* config: options to enable OpenBLT on CAN interfaces

* OpenBLT: comments
2022-08-07 19:33:19 -04:00
Matthew Kennedy cc9554e4b2
Respond to OBD2 on the same bus we got the request on (#4330)
* obd replies on the same bus as the request

* comment

* missed one
2022-07-08 05:25:35 +03:00
Matthew Kennedy 2ce57efd1f
properly print extended CAN ids (#4182)
* print ext ids correctly

* string format

* comment
2022-05-18 16:55:14 -04:00
rusefillc 5eeac56f52 per-bus verbose flag 2022-02-10 10:12:48 -05:00
rusefillc af7916929c reducing the mess 2022-02-10 01:51:27 -05:00
Andrey G 76e3622ce6
imu: add support for Mercedes pn: A 006 542 26 18 (#3902) 2022-02-08 16:29:01 -05:00
Matthew Kennedy c6f45c5022
warnings fixes (#3851)
* unused things

* !!! actual bug !!!

* dead

* unused

* unused

* multi-bus lua RX was just broken

* make the compiler angry about it

* dead config

* alphax 2

* just call, no store

* compiler too angry
2022-01-31 18:37:42 -05:00
rusefillc a2bf7616ae Second CAN #3687 2021-12-21 01:17:02 -05:00
rusefillc 7b0179aaa3 Second CAN #3687 2021-12-21 00:48:13 -05:00
rusefillc 1dd3370b56 https://rusefi.com/forum/viewtopic.php?f=18&t=2236 2021-12-06 21:31:49 -05:00
Andrei c6fa50d196 CAN update 2021-12-03 21:44:15 -05:00
Scott Smith 823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
rusefillc 68ebb8045d Epic: Remove FSIO #2928 2021-11-14 11:04:51 -05:00
rusefillc c22215cea7 Epic: Remove FSIO #2928 2021-11-14 10:39:47 -05:00
Matthew Kennedy 383d8caad9
Lua CAN RX (#3403)
* wiring

* static

* implementation

* comment

* unit tests happy

* guard

* guard smarter, not harder

* guard smarter not harder

* guard even smarter, not even harder

* don't need that
2021-10-24 08:37:04 -04:00
rusefi d01c8dbd93 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 15:05:29 -04:00
rusefillc 3ff5745b45 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 11:07:46 -04:00
rusefillc 77c4e83ebc some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-05 16:21:41 -04:00
rusefi 62725b3b32 some cheap used junkyard Accelerometer #2225 2021-09-30 18:19:22 -04:00
rusefillc 28a3807555 some cheap used junkyard Accelerometer #2225 2021-09-30 15:55:34 -04:00
rusefi 756c882162 verbose CAN bugfix 2021-09-30 15:27:49 -04:00
rusefi 97c160bebe verbose CAN bugfix 2021-09-30 15:03:03 -04:00
Matthew Kennedy b52d50bbf2
Use pch in lots of files (#3066)
* most engine.h

* most engine_configuration

* more

* more

* more

* more

* more

* moooooore

* ok I'm done for now

* oops
2021-07-26 01:05:17 -04:00