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
7e007cc534
https://rusefi.com/forum/viewtopic.php?p=44100#p44100
2022-01-18 10:24:08 -05:00
rusefillc
e76aa1cc60
https://github.com/rusefi/alphax-2chan/issues/14
2022-01-16 23:03:14 -05:00
rusefillc
f43ef3a8b6
warning(CUSTOM_ERR_6586, "attempting to change unassigned pin")
2022-01-16 15:53:27 -05:00
rusefillc
c29bb71556
spelling
2021-11-23 07:57:43 -05:00
rusefillc
b579b33082
Startup Pin State Error - maybe hardware damage of STM32 pin connected to a 12v-powered TC4427? #3558
2021-11-17 04:45:55 -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
Scott Smith
62daac73c7
Use Valgrind to detect unitialized variable references. ( #3555 )
...
* Use Valgrind to detect unitialized variable references.
Fix the edge cases that pop up
* Comment and disable Mac run
2021-11-15 23:42:23 -05:00
rusefillc
eb1af46655
Epic: Remove FSIO #2928
2021-11-14 08:37:50 -05:00
Andrey
2a2722c3cc
SPARK_EXTREME_LOGGING
2021-10-01 23:50:32 -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
Andrey
2ec8c3090f
trailing spark outputs #2931
2021-07-21 20:51:51 -04:00
Matthew Kennedy
e2a01b4c3e
force init LEDs even with fatal ( #2998 )
2021-07-20 17:09:52 -04:00
Matthew Kennedy
2ce7777865
don't require EXTERN_ENGINE in every file ( #2969 )
...
* move enginePins
* no more extern engine
* uses
* more
* extern config too
* put this where it belongs
* include correct header
* merge
2021-07-16 18:13:33 -04:00
Matthew Kennedy
64177cf899
put names in flash ( #2939 )
...
* put names in flash
* probing freed ram
* this one too
* probing memory
* more like that much
2021-07-09 17:05:16 -04:00
Matthew Kennedy
7a21f7fbc0
inject ( #2938 )
2021-07-09 17:02:25 -04:00
Matthew Kennedy
e00c7d0b98
trailing coils ( #2937 )
...
* gpio wiring
* plumbing
2021-07-09 15:51:30 -04:00
Andrey
02d002f081
random progress
2021-07-09 14:43:58 -04:00
rusefillc
70fd233740
random progress
2021-07-09 14:27:10 -04:00
Andrey
b8857f5ba8
trailing spark outputs #2931
2021-07-09 10:14:00 -04:00
Matthew Kennedy
2eb0b2a631
Unified cyl count macro ( #2914 )
...
* update test framework
* eh
* hey look it's fewer warnings
* unwind
* fix
* config
* configs
* logic
* even java had some
* console needs help
2021-07-06 20:14:08 -04:00
Matthew Kennedy
7eb3b9890d
misc threading/safety improvements ( #2854 )
...
* allow termination of thread controller
* no gpio if fatal
* stub for test
2021-06-24 20:18:23 -04:00
Matthew Kennedy
097bf85faf
dual fans ( #2806 )
...
* remove fsio
* hard code impl
* test it
* enable fan with AC
* make commented stuff match
* second fan config
* second fan ui
* defaults
* impl
2021-06-13 08:06:45 -04:00
rusefillc
02d4cde3c4
https://rusefi.com/forum/viewtopic.php?f=16&t=1996
2021-04-25 09:18:35 -04:00
Matthew Kennedy
ad71016862
rip the bandaid: find-replace most of scheduleMsg ( #2572 )
...
* biiiig find replace
* more trivial find replace
* pwm
* almost all of them
* few more
* gpio
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
Andrey G
89b631a794
Hip9011 and cleanups ( #2477 )
...
* hip9011: move hipCs out of EnginePins to hip9011 driver
* hip9011: cleanup debug output, save few RAM bytes
* Supress few signed vs unsigned warnings
2021-03-20 08:40:36 -04:00
rusefillc
8584256677
trying to fix AuxValves
2021-02-17 08:57:18 -05:00
Andrey G
3166076839
Some fixes prior to board pull request ( #2291 )
...
* ChibiOS: add support for STM32F765
This chip is used on Subaru EG33 p'n'p RusEFI board from Dron_Gus
* drivers: gpio: mc33810: commulative update
- use BIT macro
- fix wake-up method
- fix order of arguments in _add function
* port: stm32f4/7: detectCanDevice check for enabled interfaces only
* ADC: fix internal array size
internalAdcIndexByHardwareIndex should be EFI_ADC_LAST_CHANNEL size
couse adc_channel_e is used as index
* status LEDs: support status LEDs that driven by low level
2021-02-06 12:22:57 -05:00
Andrey G
2af32084f4
gpio helper ( #2195 )
...
* gpios: isBrainPinValid helper
* LCD HD44780: do not touch pins if DM_NONE or invalid gpio
* Fix isEnabled checks for GPS and Joystick
* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
rusefillc
af9bb07eba
dead code
2020-12-22 07:10:09 -05:00
Matthew Kennedy
6168bcea80
Fix gpio reinit race condition ( #2098 )
...
* fix unregister api for gpio
* consumers
* guard with a critical section
* index
* guard less
* unregister under lock
* fix reinit
* dead flag
* fix most tests
* initialize properly
* initialize properly
* assertions in tests
* fix message
* we must lock earlier to be truly safe
* this was using huge memory
* devirtualize
2020-12-18 17:18:12 -05:00
rusefillc
ca0f3ba240
HW CI is flaky :( #2063
...
more detailed error messages
2020-12-17 20:22:04 -05:00
rusefi
2f690ca6b2
nicer "pins" names
2020-12-17 17:00:00 -05:00
Matthew Kennedy
a159ecbf0a
reduce GPIO complexity ( #2051 )
2020-12-10 19:18:14 -05:00
Matthew Kennedy
f2426677db
start fuel pump as soon as trigger events happen ( #2038 )
...
* switch pump fsio logic
* value collision
* fuel pump in tests
* mock time since trigger
* test fp
* init pin in test
* fix gpio outputs in tests
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-10 01:23:24 -05:00
rusefillc
e226024a5c
MRE pin reuse state validation fails #2006
2020-12-03 15:42:48 -05:00
Matthew Kennedy
a3a49b02ed
fix gpio the right way ( #1990 )
...
* fix the right way
* use the api
* explain
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-27 00:24:41 -05:00
rusefillc
24c9e54cde
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 16:20:13 -05:00
rusefi
1238758c0f
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 00:16:59 -05:00
rusefi
63900429a6
Starter is engaged on start-up in pull-up configuration #1969
2020-11-25 23:59:11 -05:00
rusefi
b189d85228
Starter is engaged on start-up in pull-up configuration #1969
2020-11-25 23:38:43 -05:00
rusefillc
3878cbb550
Starter is engaged on start-up in pull-up configuration #1969
...
maintainability
2020-11-19 23:57:06 -05:00
rusefillc
47fbb92bff
Starter seems to be engaged forever fix #1965
2020-11-18 23:54:30 -05:00
rusefillc
a9e0bffbbd
Starter seems to be engaged forever #1965
2020-11-18 22:47:40 -05:00
rusefillc
77b70f47f7
GDI Epic #1448
2020-11-09 21:41:13 -05:00
rusefillc
9aff6e3103
Output pin init/deinit needs a linked list #1803
2020-11-09 21:10:48 -05:00
rusefi
73b18b4a01
Output pin init/deinit needs a linked list #1803
2020-11-06 15:45:15 -05:00
rusefillc
cbb00a1a85
Output pin init/deinit needs a linked list #1803
2020-11-05 18:42:45 -05:00
rusefillc
8e8b5256c8
Output pin init/deinit needs a linked list #1803
2020-11-05 17:52:30 -05:00