Commit Graph

22 Commits

Author SHA1 Message Date
rusefi 0ea54f2863 extern bool isInHardFaultHandler
only:uaefi
2025-01-22 14:56:11 -05:00
rusefi 5d41b327c9 explicit error codes
only:alphax-4k-gdi
2024-08-11 13:12:47 -04:00
Andrey Gusakov 29d478235d gpio: core: dump gpiochips_debug() return void 2024-06-24 07:05:31 -04:00
Andrey Gusakov 3fa3f1ab8c gpio: core: implement debug() hook for gpio chips 2024-06-24 07:05:31 -04:00
Andrey Gusakov a4d9238a13 gpio: core: guards 2024-05-01 17:14:55 -04:00
Andrey Gusakov ec50d034bc gpio: core: support HW PWM on gpiochip outputs 2024-05-01 17:14:55 -04:00
Andrey Gusakov 483056746c gpio diagnostic: use PIN_UNKNOWN for pins with no diagsotic 2024-02-05 07:56:10 -05:00
Andrey Gusakov 1cf0380356 gpio: core: fix comments 2024-01-03 07:45:32 -05:00
Andrey ab6011aa8b only:explicit error if attempting to write unknown smart pin 2023-12-25 17:40:18 -05:00
rusefillc 3b5438fa0b only:explicit error if attempting to write unknown smart pin 2023-12-25 16:22:11 -05:00
rusefillc 55ed9eee93 smart chips in QC 2023-12-24 21:34:31 -05:00
rusefillc f54d7d56bc only:nicer error message 2023-12-18 00:39:05 -05:00
Andrey 375d10fb46 only: one step back for unit tests 2023-11-24 15:04:51 -05:00
rusefillc f329f29bc5 much more visible failure in case of failed chip init 2023-11-24 14:41:17 -05:00
rusefi e1a36c3390 bench test 33810 module #5745
only:f407-discovery
2023-11-23 11:57:37 -05:00
rusefi ceeb819fc8 Indicator for injector HW issues #5189 2023-03-19 03:18:38 -04:00
Andrey 130a1eed14 CAN GPIO #4096
only:hellen-honda-k
2023-03-04 22:11:45 -05: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
rusefillc 47444519d6 typo 2022-01-03 03:09:14 -05:00
Matthew Kennedy 25414ebdad
yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy a54a5e7f90
convert gpiochips to c++ (#2761)
* core

* basic header

* tests are happy

* tle6240

* tle8888

* 33972

* 33810

* tle8888_req_init

* unused warning

* warning

* unsigned

* 8888 debug

* fix

* don't qualify

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-10 04:11:01 -04:00
Matthew Kennedy 0ea1f15ca3
compile gpiochips as cpp (#2702)
* rename

* core

* structing

* more

* makefile

* structing

* 6240 compiles

* explicit cast instead of implicit narrowing

* 8888

* no extern C

* fix tests build

* extern "C"

* 33810

* 8860

* 33810

* linker

* unbreak master

* don't need that if compiling as C++

* bump config

* fix test

* tests

* unit tests bad merge

* build

* move subaru logic to cpp file

* cpp goodness

* hpp include

* this is probably the right thing to do

* simulator
2021-05-17 08:42:56 +03:00