rusefillc
2faa6c3681
only:getSdCardFieldsCount
2024-10-14 22:24:53 -04:00
Andrey
0e4cba7e83
maintainability: openblt text status #6981
...
only:proteus_f7
2024-10-12 13:23:44 -04:00
rusefillc
ee4124717f
making error more visible
...
only:hellen-honda-k
2024-09-29 16:38:43 -04:00
Andrey
0ca3663db9
only:typo
2024-09-29 14:00:24 -04:00
Andrey
ba91d66b8d
std::m..
2024-09-26 09:37:31 -04:00
Matthew Kennedy
022a873cfe
min/maxF -> std::min/max
2024-09-26 00:35:52 -04:00
Matthew Kennedy
1bbc84aba8
only:std::abs
2024-09-25 23:48:34 -04:00
Andrey Gusakov
0084f35830
mc33810: some comments about polling loop
2024-09-25 00:36:34 -04:00
Andrey Gusakov
0645581ebd
mc33810: workaround stm32 spi bug
2024-09-25 00:36:34 -04:00
Andrey
e9db6ba07c
MRE fals to CH_CFG_SYSTEM_HALT_HOOK due to enabled MC33816 fix #6946
2024-09-23 10:11:03 -04:00
Andrey
840776ae96
only:cleanup
2024-09-20 01:16:45 -04:00
Andrey
c3df2dc8eb
aux serial/WBO cleanup/removal
...
only:uaefi
2024-09-20 00:08:44 -04:00
rusEFI LLC
c1ee210f58
!isSdCardEnabled
...
only:uaefi
2024-09-19 19:34:58 -04:00
rusefillc
a5fc4550d3
simpler 'isSdCardEnabled' logic
...
only:uaefi
2024-09-19 16:46:14 -04:00
Matthew Kennedy
b9292dbb33
rename Executor -> Scheduler
2024-09-05 00:11:31 -04:00
Andrey
fe7a4ba543
only:minor
2024-09-04 20:00:50 -04:00
Andrey
6c8e05929b
explicit-folder-for-livedata-generated-headers #6886
...
only:hiding stuff from bootloader
2024-09-04 14:50:50 -04:00
Andrey Gusakov
b2dfda3aee
mpu_utils: implement adcMuxedGetParent()
2024-09-04 08:41:46 -04:00
rusefillc
22f0e7b831
debug configurations are suddenly out of flash #6876
...
recently added RTC logging eats flash?
2024-08-31 17:27:24 -04:00
rusefi
6e955d5f44
EXTI does not set pin mode #6872
...
only:alphax-8chan
2024-08-30 16:36:21 -04:00
rusefillc
9037ccef12
RTC and SD logs #4556
...
rtcUnixEpochTime
only:alphax-4k-gdi
2024-08-28 21:21:31 -04:00
rusefillc
355df83e61
only:docs
2024-08-28 21:06:03 -04:00
Andrey
8c020e39fb
RTC and SD logs #4556
...
only:no more LCD this time around
2024-08-28 20:51:57 -04:00
rusefi
c6560ea370
revive MC33816 driver, also support bus sharing #6781
...
handling loss of power
only:alphax-4k-gdi
2024-08-27 19:57:04 -04:00
rusefi
057b5f0adb
revive MC33816 driver, also support bus sharing #6781
...
reducing noise
only:alphax-4k-gdi
2024-08-27 14:37:12 -04:00
rusefi
bf40b5b549
only:TLE9104 support unused io
2024-08-27 14:35:11 -04:00
Andrey
972090333f
revive MC33816 driver, also support bus sharing #6781
...
a step forward?
only:alphax-4k-gdi
2024-08-27 11:50:38 -04:00
rusefillc
bd9a838814
revive MC33816 driver, also support bus sharing #6781
...
bump
only:alphax-4k-gdi
2024-08-27 11:29:19 -04:00
rusefi
3d2fc987a2
revive MC33816 driver, also support bus sharing #6781
...
only:alphax-4k-gdi
2024-08-27 09:37:48 -04:00
rusefi
1b301a6514
one step backwards
...
only:alphax-4k-gdi
2024-08-26 20:24:53 -04:00
rusefi
124599e7bd
more mcFaultToString
2024-08-26 20:24:53 -04:00
Andrey
eac4d7b469
revive MC33816 driver, also support bus sharing #6781
...
only:alphax-4k-gdi
2024-08-24 14:10:16 -04:00
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
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
rusEFI LLC
ae2533c2d9
only:boardAdjustVoltage
2024-07-06 22:50:53 -04:00
rusEFI LLC
07b49363c1
only:getAnalogInputDividerCoefficient
2024-07-06 22:00:56 -04:00
Andrey Gusakov
299ea0dc82
hip9011: fix reinitialization, typos
2024-06-27 09:56:44 -04:00