Commit Graph

106 Commits

Author SHA1 Message Date
rusefillc ee4124717f making error more visible
only:hellen-honda-k
2024-09-29 16:38:43 -04:00
Matthew Kennedy 27e0a80c82 compile-time enforcement of printf strings
only:uaefi
2024-06-10 19:11:35 -04:00
GitHub gen-configs Action 3f37d6a6a6 Auto-generated configs and docs 2024-04-20 12:29:19 +00:00
Andrey Gusakov aff9381a94 can_category: MEGASQUIRT 2024-04-20 08:19:51 -04:00
rusefillc 02cd55bb8f only: docs 2024-04-10 19:41:03 -04:00
rusefillc d96b267eed CanTxMessage::setArray 2024-04-03 00:06:42 -04:00
rusefillc cfbcedfe2a CanTxMessage::setShortValueMsb 2024-02-26 18:25:14 -05:00
rusefillc 8bd5e5c6f5 only: https://www.youtube.com/watch?v=T6JFTmQCFHg 2024-02-26 14:51:01 -05:00
Andrey Gusakov c75ef47076 can_msg_tx: fix canChannel unused 2024-02-05 10:14:17 -05:00
Andrey Gusakov b87f1e8174 CAN: show low-level error counters and flags
STM32 only
2023-12-06 19:18:05 -05:00
Andrey Gusakov c9c7adbdbc CAN configs are platform specific
Move STM32's configs to stm32_can.cpp
Create AT32's configs in at32_can.cpp
2023-11-19 16:20:11 -05:00
rusefillc 35e57475a4 only:variable shadowing should be avoided #5676 2023-11-01 12:12:50 -04:00
rusefillc 198c9e8f57 only:shall we be just a little less Toyota 2023-11-01 10:09:04 -04:00
Stefan de Kraker 4b64e0e087 Fixed CAN data bus selection
* Fixed CAN data bus selection

* Made canChannel non-optional
2023-10-31 01:42:47 -04:00
rusefillc 0a806e31e3 A setting to switch specific CAN bus into Listen mode fix #5406 2023-10-08 11:57:09 -04:00
Andrey b81fb40203 testability: bench test commands should have automated coverage using simulator #5562
only: making CAN frame always available to simulator
2023-09-14 08:34:24 -04:00
rusefi e8c45a2e7d refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:23:44 -04:00
rusefi 54797ab559 refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:05:19 -04:00
rusefi 80e52f5898 bench_test CAN packets do not use proper IDs #5525
only:hw
2023-08-20 21:41:25 -04:00
rusefi d08fbc2878 bench_test CAN packets do not use proper IDs #5525 2023-08-20 21:35:04 -04:00
rusefi 18222160d8 reducing code duplication 2023-07-16 15:52:43 -04:00
rusefi 3ddc3d42c2 ohh CanCategory was never used?! 2023-05-17 19:56:39 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Andrey 395af95d1e random CAN clean-up 2023-02-26 20:25:24 -05:00
Andrey G 298830ed82
can msg tx: do not ignore bus argument (#5124)
bus argument was introduces in 12c899ddca
but was ignored.
2023-02-23 17:17:27 -04:00
Matthew Kennedy 12c899ddca
wideband on second can (#5108) 2023-02-20 11:29:25 -05:00
Matthew Kennedy 28babe5cc2
add 50/83.3/125kbit CAN (#5072)
* fix CAN

* add 83/125 too

* bump config version
2023-02-13 17:13:57 -05:00
rusefillc da0fa03f0a refactoring: wider usage of helper method 2022-10-22 08:39:55 -04:00
GitHub gen-configs Action 0d9090de28 Auto-generated configs and docs 2022-09-30 03:15:40 +00:00
rusefillc 234862b2b7 CAN side of automated testing #4630 2022-09-29 23:01:06 -04:00
GitHub gen-configs Action eea87274a8 Auto-generated configs and docs 2022-09-19 01:31:32 +00:00
rusefillc 2be1db62a2 CanCategory 2022-09-18 20:44:00 -04:00
Andrey ab4b451195 os_access.h dead? 2022-09-07 15:56:45 -04:00
rusefi 755f9926ea canRxAdd bus does not convert from Lua/human value into zero-indexed implementation value fix #4467 2022-08-21 23:48:10 -04:00
rusefi b471012838 less violent error handling 2022-08-21 22:46:59 -04:00
rusefi 26eda07424 Lua CAN bus index: let's fail if invalid value specified 2022-08-21 22:31:52 -04:00
rusefi 3396aa865a verboseCan bugfix 2022-08-11 01:19:10 -04:00
rusefi f671f688a9 ISO-TP does not work on real car #4427 2022-08-11 00:29:09 -04:00
rusefillc c4a817dfa0 verboseCan EXT fix 2022-08-09 20:39:27 -04:00
Matthew Kennedy b99d90b006
Start -> start (#4366) 2022-07-21 15:17:32 -04:00
Matthew Kennedy a95bc3ad03
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 683a723d2f
CAN category (#4148)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -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
Andrey G 752802b0cc
CAN: do null check first (#3755)
Otherwise it will emit strange error if both can are disabled
2022-01-08 10:25:21 -05:00
Matthew Kennedy 6b6fd5e6e8
fix dual CAN init, update UI (#3719)
* CAN init sequence

* config & UI cleanup

* ui

* simplify
2021-12-24 23:33:54 -05:00
rusefillc 2205a57024 Second CAN #3687 2021-12-22 22:02:34 -05:00
rusefillc 15daec77e6 Second CAN #3687 2021-12-22 20:15:22 -05:00
rusefillc 4ad1f887fd Second CAN #3687 2021-12-21 01:10:37 -05:00
rusefillc 7b0179aaa3 Second CAN #3687 2021-12-21 00:48:13 -05:00
rusefillc 9170fd17a1 Second CAN #3687
what could possibly go wrong?
2021-12-19 11:28:42 -05:00