Commit Graph

2775 Commits

Author SHA1 Message Date
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
Andrey Gusakov 78ba473c2a lps25: get 3 register in one access
After e7c3223151 fix it is possible
to read more than one register in one transaction.
2024-07-14 19:44:03 -04:00
Andrey Gusakov aed819170e i2c_bb: GUARD!!! 2024-07-14 13:55:31 -04:00
Andrey Gusakov 8af5f51fc7 i2c_bb: add deinit() 2024-07-14 13:55:31 -04:00
Andrey Gusakov e85179f465 i2c_bb: simplify writeRead 2024-07-14 13:55:31 -04:00
Andrey Gusakov e7c3223151 i2c_bb: release SDA after sending ACK bit while reading
This fixes contiues read of more than one byte
2024-07-14 13:55:31 -04:00
rusefi d895f4dfa4 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:clean-up
2024-07-13 19:45:55 -04:00
Andrey Gusakov 7ffb594f5b fastAdc: validate that channels is enabled 2024-07-13 18:18:23 -04:00
Andrey Gusakov 2689978341 ADC: adcHwChannelMode fix array size
adcHwChannelMode defines ADC type for each of adc_channel_e element
Use EFI_ADC_TOTAL_CHANNELS for array size.
Get rid of HW_MAX_ADC_INDEX that previously was defining total
ADC input count for MCU. With ADC mux, external ADCs and so on this
is no longer correct.
2024-07-13 18:18:23 -04:00
Andrey Gusakov 589d98ca85 mmc_card: RD and WR indicators 2024-07-13 05:55:53 -04:00
Andrey Gusakov a6bc530fba mmc_card: misc 2024-07-13 05:55:53 -04:00
Andrey 2d9601bd7e alwaysWriteSdCard #6703
only:uaefi
2024-07-12 17:24:57 -04:00
rusefi cdab259efa hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:hellen154hyundai_f7
2024-07-11 09:37:06 -04:00
rusefi 46907c3ea6 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:hellen154hyundai_f7
2024-07-10 18:03:28 -04:00
Andrey 97acf15a41 only:AdcSubscription::ResetFilters() 2024-07-07 00:21:21 -04:00
rusEFI LLC 5e3a2cb40d typo 2024-07-06 23:15:51 -04:00