Commit Graph

2790 Commits

Author SHA1 Message Date
Andrey 74dbb3b83f revive MC33816 driver, also support bus sharing #6781
only:alphax-4k-gdi
2024-08-24 10:03:48 -04:00
Chris Anderson 12bd6d3749 fixes for alpha gdi 2024-08-24 10:03:48 -04:00
rusefillc 185907251b revive MC33816 driver, also support bus sharing #6781
flag does not work with op-amp voltage divider :(
only:alphax-4k-gdi
2024-08-24 09:27:19 -04:00
rusefillc 87b3b62e26 revive MC33816 driver, also support bus sharing #6781
Noxz says AF useful for CS?
only:alphax-4k-gdi
2024-08-23 07:45:16 -04:00
Matthew Kennedy dfb7cf7a95 let's move away from PeriodicTimerController 2024-08-14 08:33:29 -04:00
rusefi 9e7a69efcf revive MC33816 driver, also support bus sharing #6781
only:alphax-4k-gdi
2024-08-11 18:48:39 -04:00
rusefi bacedbb65e revive MC33816 driver, also support bus sharing #6781
only:alphax-4k-gdi
2024-08-11 17:22:54 -04:00
rusefi 5d41b327c9 explicit error codes
only:alphax-4k-gdi
2024-08-11 13:12:47 -04:00
Matthew Kennedy cda0a6f627 fast adc skip 2024-08-11 13:03:48 -04:00
rusefi 24d87f7a27 pasta!
only:alphax-4k-gdi
2024-08-11 12:34:32 -04:00
Andrey Gusakov 3557d96d3b flash: renames only
allowFlashWhileRunning() -> mcuCanFlashWhileRunning() - true if MCU
can flash while continue code execution. Dual bank mode on STM32.

New allowFlashWhileRunning() return true if MCU can write its own
flash while keep runnig OR settings are stored in external storage.
2024-08-09 18:25:31 -04:00
rusefi 2b43466f86 requiresPowerCycle = is_enabled_spi 2024-08-08 13:14:23 -04:00
Andrey 3df13c8db8 revive MC33816 driver #6781
let's fail gracefully instead of hanging within ChibiOS
only:alphax-4k-gdi_debug
2024-08-08 11:33:39 -04:00
rusefillc 4a60f3f845 revive MC33816 driver #6781
only:alphax-4k-gdi_debug
2024-08-07 23:47:48 -04:00
rusefi 95d7b7f4fc only:alphax-4k-gdi_debug 2024-08-07 23:07:06 -04:00
Andrey a5bff25cc1 only: Knock frequency inputs to be bore diameter and checkbox #6767
only:hello hip9011
2024-08-04 16:51:22 -04:00
rusefi ffea0a23a0 Knock inputs to be bore diameter and checkbox #6767
only: only bore logic
2024-08-04 13:47:17 -04:00
rusefi f3ff325765 Knock inputs to be bore diameter and checkbox #6767
only: reusing macro
2024-08-04 13:25:13 -04:00
Andrey 2e8dd875de openblt binary version #6756
only:proteus_f7
2024-07-30 12:59:17 -04:00
Andrey 05aa7d8980 encapsulation
only:proteus_f7
2024-07-30 11:51:39 -04:00
Andrey 9b5f0244bf only:docs 2024-07-29 17:41:57 -04:00
Andrey 6e9e763026 only:w25q_single_spi 2024-07-29 10:42:48 -04:00
Andrey Gusakov 0495a7163f at32: comment about dual-bank mode 2024-07-29 09:21:47 -04:00
Andrey Gusakov e64cb9bebf MFS: we do not need transaction API 2024-07-29 09:21:47 -04:00
Andrey Gusakov 5ff5691d2c flash_api: we do not need so much records in MFS
Actually currently we save only one record - settings
2024-07-29 09:21:47 -04:00
Andrey Gusakov 0f749322d0 drivers: w25q: speedup a bit, timeout exit 2024-07-29 09:21:47 -04:00
Andrey 1530b3dbd9 PUBLIC_API_WEAK or BOARD_WEAK #6748 2024-07-27 12:47:56 -04:00
rusefi e2bc1cbade only:going fancy enums 2024-07-22 19:49:42 -04:00
rusefi 8a98d21c00 only:ADC mode argument is always the same FAST, renaming method 2024-07-22 19:28:17 -04:00
Andrey Gusakov 86fef52d02 mc33810: do not try to drive null pins 2024-07-22 16:59:36 -04:00
Andrey Gusakov 1376e4538b mc33810: tabs please, comment fix 2024-07-22 16:58:06 -04:00
rusefi 7577018e93 openblt flexibility 2024-07-21 15:30:33 -04:00
rusefi 49ee774bb6 first mc33810 SPI communication is not happy #6733
no need in huge initial wait
only:hellen154hyundai_f7
2024-07-21 15:04:59 -04:00
rusefi 8f6df33511 first mc33810 SPI communication is not happy #6733
UNSELECT_HACK & moving CS handling out of command iteration loop
only:hellen154hyundai_f7
2024-07-21 14:49:51 -04:00
Andrey 6805816f88 better placement for counter
only:hellen154hyundai_f7
2024-07-21 10:08:42 -04:00
rusefi d44bb8d3f8 first mc33810 SPI communication is not happy #6733
only:hellen154hyundai_f7
2024-07-20 22:55:03 -04:00
rusefi ee48d8a932 random code style 2024-07-20 22:48:22 -04:00
rusefi 3bd8480105 adding logging consistency
only:hellen154hyundai_f7
2024-07-20 22:48:22 -04:00
rusefi 2d317784e5 huh? 2024-07-20 22:34:40 -04:00
rusefi f60d724443 random code style 2024-07-20 22:18:16 -04:00
rusefi 0ec1f260c1 first mc33810 SPI communication is not happy #6733
huh? stepper was not waiting? improving default parameter value, reusing new default parameter
2024-07-20 22:09:15 -04:00
rusefi 46962048e7 first mc33810 SPI communication is not happy #6733
better order of operations - first update consumers, then update naive synchronization
2024-07-20 22:08:10 -04:00
rusefillc 1ae747718e mc33810 hadSuccessfulInit 2024-07-20 21:07:17 -04:00
Andrey Gusakov b8100245d7 portname(): never return null
Some users do not check return value, this can cause null-pointer
access.
2024-07-20 17:37:52 -04:00
Andrey Gusakov 42213ac172 getPinNameByAdcChannel: be more safe
Know buffer size
Use snprintf
Expect null from portname()
2024-07-20 17:37:52 -04:00
Andrey Gusakov 4007e0d7f8 adc_subscription: call efiSetPadMode for primary input only
Same pin can be used by two analog inputs (externaly muxed)
Call brain_pin_markUsed() only while requesting for primary user
2024-07-20 17:37:52 -04:00
Andrey Gusakov dce26afd3f adc: adcIsMuxedInput() helper
Return true for ADC channel that is "second virtual" input on pin
Ie muxed with external switch.
This helps avoid attemp to mark pin used twice while configuring ADC
2024-07-20 17:37:52 -04:00
rusefillc a3bae02156 mc33810spiErrorCounter 2024-07-19 13:45:34 -04:00
Matthew Kennedy ab59cf8ecf don't use scheduleForLater 2024-07-14 23:52:40 -04:00
Andrey Gusakov 89a92a36d1 lps25: get all data within single i2c access 2024-07-14 19:44:03 -04:00