Andrey Gusakov
020dcbf2b0
hardfault: call bkpt() only if debuger is detected
2025-01-14 11:04:27 -05:00
rusefillc
3b08dce634
helping build
...
only:at_start_f435
2025-01-13 22:06:37 -05:00
rusefillc
e1334a4233
hasCriticalReportFile method #7291
...
only:uaefi
2025-01-13 18:32:10 -05:00
rusefillc
f1a28467fd
log hard fault red LED reason on SD card #7290
...
state machine fix
only:uaefi
2025-01-13 18:19:25 -05:00
Andrey Gusakov
3830cffca1
f7 rtc: tabs
2025-01-13 18:10:19 -05:00
rusefillc
42c5b0b242
fixing build
...
only:subaru_eg33_f7
2025-01-13 18:06:52 -05:00
Andrey Gusakov
3bbab0d776
mmc_card: show SPI clock on debug
2025-01-13 17:34:09 -05:00
Andrey Gusakov
528e5f79b4
mmc_card: calculate SPI dividers in runtime (is supported by platform)
2025-01-13 17:34:09 -05:00
Andrey Gusakov
91cb3629c2
mmc_card: incLogFileName: FR_NO_FILE is not an error
2025-01-13 16:28:57 -05:00
rusefillc
b66d62f33a
only:onBoardWriteErrorFile
2025-01-13 11:20:11 -05:00
rusefillc
ded7064702
better order of operations?
...
only:uaefi
2025-01-13 10:54:22 -05:00
rusefillc
a9499375db
log hard fault red LED reason on SD card #7290
...
do not go MSD, write hard fault instead!
only:uaefi
2025-01-13 10:39:16 -05:00
Andrey Gusakov
e0f2df6a81
mpu_util: helper to calculate SPI divider for given SPI clock
...
Implemented for STM32F4 and F7 only
2025-01-13 09:24:05 -05:00
Andrey Gusakov
1797dbd22f
spi: dead
2025-01-13 09:24:05 -05:00
Andrey Gusakov
2481ce87a3
mmc_card: more code formating
2025-01-13 08:49:49 -05:00
rusefillc
4ae63c8a97
log hard fault red LED reason on SD card #7290
2025-01-12 23:32:55 -05:00
rusefillc
d94364b9e7
log hard fault red LED reason on SD card #7290
...
only:extracting some code into new file
2025-01-12 22:42:45 -05:00
rusefillc
2bd6a2add3
only:codestyle
2025-01-12 13:34:31 -05:00
rusefillc
cd3021a027
stm32 own build-in watchdog #1339
...
changing order of operations for logging to happen
only:uaefi
2025-01-12 13:34:19 -05:00
rusefillc
071f7260e4
log hard fault red LED reason on SD card #7290
...
only:docs
2025-01-12 13:28:51 -05:00
rusefillc
a0b1319120
stm32 own build-in watchdog #1339
...
only:uaefi
2025-01-12 12:28:06 -05:00
rusefillc
70513a1dae
log red LED reason on SD card #7290
...
only:uaefi
2025-01-12 12:19:17 -05:00
Matthew Kennedy
0cdeb389eb
CanTxMessage: use setArrayValues
2025-01-12 10:24:21 -05:00
Andrey Gusakov
ffbee7bdd0
mmc_card: just a code formating
2025-01-12 08:27:39 -05:00
rusefillc
b4580f3c41
stm32 own build-in watchdog #1339
2025-01-11 23:24:13 -05:00
andreika-git
91ef9e5b97
Increment the BLT version https://github.com/rusefi/rusefi/issues/7283
2025-01-11 16:53:10 -05:00
Andrey Gusakov
0601c4b6bf
mmc_card: no zombie threads please
2025-01-11 10:17:22 -05:00
Andrey Gusakov
8f45cf697f
mmc_card: incLogFileName() handle all return codes
2025-01-11 10:17:22 -05:00
Andrey Gusakov
2187b52a81
mmc_card: verbose/correct debug messages
2025-01-11 10:17:22 -05:00
Andrey Gusakov
b24e9a7198
mmc_card: decode and show FatFS error codes
2025-01-11 10:17:22 -05:00
Andrey Gusakov
fe4a6405e1
mmc_card: dead
2025-01-11 10:17:22 -05:00
rusefillc
4369cc0682
bugfix: HAL_USE_USB_MSD not relevant for SD card file names
...
only:uaefi
2025-01-08 18:41:26 -05:00
Andrey Gusakov
d264f002cd
RTC fixup for STM32F7
...
Switch RTC to LSE clock if it is detected on start.
It is not allowed to change source clock of RTC module on STM32.
Source clock can be selected only once after reset of BKP module.
If at first start LSE is failed FW will fallback to inaccurate
LSI (internal RC). If Vbat is present RTC/BKP is not reset between
restarts and RTC is never switched to more accurate LSE event if it
is present.
Implement fixup that will check for the LSE and switch RTC to LSE
through BKP (RTC) module reset and new clock source selection.
2025-01-08 11:24:35 -05:00
rusefillc
37e91f1dfb
better (?) message
...
only:uaefi
2025-01-02 18:21:18 -05:00
Matthew Kennedy
980c962ae8
MicrosecondTimerWatchdogController was doing the wrong math
2024-12-29 08:02:27 -05:00
Matthew Kennedy
3a62d1294b
GPIO_NULL
2024-12-29 08:02:27 -05:00
Matthew Kennedy
b446488e42
unnecessary postCanState
2024-12-26 22:51:53 -05:00
kifir
1aaea76ac9
Extract part of functionality into `FunctionalSensorBase` class #7180
2024-12-24 18:35:53 -04:00
Andrey Gusakov
1720fbd830
backup RAM: tabs please
2024-12-20 05:15:02 -05:00
rusefillc
e1de09896b
firmware should account for mc33810 dwell limit #7174
...
only:hellen154hyundai_f7
2024-12-16 09:54:55 -05:00
Andrey Gusakov
e846c8339c
SENT: move to libfirmware
2024-12-14 09:16:16 -05:00
rusefillc
faa7020ce0
TLS115_PG feedback #5762
...
only:adc inputs: weak boardGetAnalogDiagnostic()
2024-12-11 17:33:41 -05:00
rusefillc
526c9f7f7b
only:correcting method name
2024-12-10 19:21:41 -05:00
Andrey Gusakov
8538c31fc4
adc: try to clean-up naming mess: convert helpers
2024-12-09 07:43:43 -05:00
Andrey Gusakov
0ed513f3f3
adc: try to clean naming mess: getVoltageDivided() rename to adcGetScaledVoltage()
2024-12-09 07:43:43 -05:00
Andrey Gusakov
cbe59c90c9
adc: try to clean naming mess: getVoltage() to adcGetRawVoltage()
2024-12-09 07:43:43 -05:00
Andrey Gusakov
000c6ee284
adc: try to clean naming mess: getAdcValue() rename to adcGetRawValue()
2024-12-09 07:43:43 -05:00
Andrey Gusakov
1ad805e1a8
adc: onchip: dead boardAdjustVoltage
2024-12-09 07:43:43 -05:00
rusefillc
7c942053b7
Stepper motor's reset function runs on MCU boot, not when battery voltage is present and can actually move the stepper #6458
2024-12-07 09:38:56 -05:00
Andrey Gusakov
f267011daf
SENT: count HW timer overcapture events
...
Currently only count.
TODO: handle
2024-12-06 17:12:09 -05:00
Andrey Gusakov
08fba63359
SENT: refactor
2024-12-06 16:18:49 -05:00
Andrey Gusakov
eeb6f8e9cd
SENT: support pause pulses
2024-12-06 16:18:49 -05:00
Andrey Gusakov
191e53dfaa
SENT: less magic numbers
2024-12-06 16:18:49 -05:00
Andrey Gusakov
b29a50e135
SENT: always report error, otherwise slow channel is not reset on error
2024-12-06 16:18:49 -05:00
Andrey Gusakov
b83285ef73
SENT: avoid small data types
2024-12-06 16:18:49 -05:00
Andrey Gusakov
256ad9d198
SENT: simplify calibration logic
2024-12-06 16:18:49 -05:00
rusefillc
a3c572320f
separating two different usages of variable ( #7114 )
2024-12-06 10:02:30 -05:00
Andrey Gusakov
0a30857f96
SENT: allow +/-20% tolerance on SYNC phase
2024-12-05 20:45:03 -05:00
rusefillc
bbabc1335b
sent: assert so that unit tests fail nicely
2024-12-05 20:05:57 -05:00
Andrey Gusakov
eba393ccd2
SENT: support ICU channel 3 and channel 4 capturing
2024-12-05 19:11:27 -05:00
Andrey Gusakov
6e65eee29c
SENT: dead
2024-12-05 19:11:18 -05:00
rusefillc
101784002b
helping hellen81 ( #7112 )
2024-11-30 20:10:19 -05:00
Matthew Kennedy
e24781f899
h7 knock adc: remove timer cfg
2024-11-30 18:01:14 -05:00
Matthew Kennedy
217e948c42
init adc 3
2024-11-30 18:01:08 -05:00
Andrey G
57f7fb0992
Uaefi sent ( #7100 )
...
* SENT: TS settings for high pressure fuel sensor
* SENT: glue GM high pressure fuel sensor
* SENT: unit test guards
* SENT: unit test guards 2
2024-11-26 16:26:00 -05:00
rusefillc
2a2de932b3
only:helping sent unit tests
2024-11-26 10:16:39 -05:00
Andrey G
1987f497e2
Uaefi sent ( #7099 )
...
* SENT: typo
* SENT: separate menu for input configuration
* SENT: pass SENT input number to decoder function
* SENT: is optional
* SENT: move gauges to "Sensors - SENT" category
* SENT: gauges show first channels statsistic only
* SENT: channels abstraction
First we define gpios used for SENT channels
Then we glue sensors to SENT channels
* SENT: fix gauges
* SENT: guards
2024-11-26 10:01:07 -05:00
Matthew Kennedy
5b876677d6
more accurate SD card rate
2024-11-25 00:02:25 -05:00
Matthew Kennedy
c62468df02
H7 knock
2024-11-23 12:02:27 -05:00
rusefillc
576fc084a5
NUCLEO-F767ZI STM32F767ZI 2mb flash firmware size fix #6242
...
only:alphax-4k-gdi
2024-11-22 21:57:11 -05:00
rusefillc
b179e15e37
uaefi SENT
2024-11-22 16:31:07 -05:00
Andreika
45ac95e249
Use 1.5Mb for nucleo767 https://github.com/rusefi/rusefi/issues/6242 ( #7092 )
2024-11-22 13:56:16 -05:00
rusefillc
ec83526370
modularize knock adc for h7 ( #7086 )
...
* modularize knock adc for h7
only:uaefi
* modularize knock adc for h7
only:uaefi
2024-11-20 09:18:28 -05:00
Matthew Kennedy
714c190093
h7 sdmmc clocking
2024-11-19 22:56:28 -05:00
Matthew Kennedy
977850e2b4
h7 adc3
2024-11-19 22:54:46 -05:00
rusefillc
0328c08f2b
bugfix: hseFrequencyMhz was never assigned
2024-11-19 17:15:54 -05:00
rusefillc
a7e9d0ce8e
NUCLEO-F767ZI STM32F767ZI 2mb flash firmware size #6242
...
only:docs
2024-11-19 13:48:02 -05:00
rusefillc
0f95a9bc37
only:typo
2024-11-19 13:20:22 -05:00
rusefillc
004e02fa0d
TIM1_CH4 ICU #7076
2024-11-18 21:08:55 -05:00
rusefillc
ff656dc1c0
verboseCan TX improvement
2024-11-17 22:11:36 -05:00
rusefi
f32ba1a907
lua script to turn a rusEFI into an IO-BOX for another rusEFI #7075
...
only:prototype
2024-11-15 22:28:23 -05:00
rusefi
b4f78d194e
msioinfo
...
only:alphax-4k-gdi
2024-11-15 21:31:14 -05:00
rusefillc
b38277111b
lua script to turn a rusEFI into an IO-BOX for another rusEFI #7075
...
only:alphax-4k-gdi
2024-11-15 20:06:33 -05:00
rusefillc
94512571a5
flexibility for SENT
2024-11-11 13:58:24 -05:00
rusefillc
15045d3272
only:analog docs
2024-11-08 23:14:30 -05:00
Diego
b214a7b814
OBD2 CAN broken due to math base mismatch ( #7053 )
...
* updated can_msg_tx/obd2 code for unit tests, fixed supported pid error, WIP unit tests on obd2
* fix txCanBuffer not cleared after a tx can test
* simulator needs can header, add settings to respect code format on vscode, added more tests
2024-11-08 16:01:21 -05:00
rusefillc
1ba6ee3921
tle9201 diagOkCounter
...
only:ueefi
2024-11-08 13:36:45 -05:00
rusefillc
bcae46abe7
reset_9201
...
only:hellen154hyundai_f7
2024-11-07 18:07:21 -05:00
rusefillc
2bdfdca824
better logging
...
only:hellen154hyundai_f7
2024-11-07 17:49:45 -05:00
rusefi
64cdab6a45
TLE9201 SPI driver 12v logic #7051
...
only:hellen154hyundai_f7
2024-11-07 14:59:56 -05:00
Andreika
7bd44fbfa3
TLE9201 SPI diag support https://github.com/rusefi/rusefi/issues/5058 ( #7049 )
2024-11-07 08:44:08 -05:00
Andrey Gusakov
cbc2773f67
halconf: no need to have such a big TX USB buffers
2024-11-04 08:39:30 -05:00
Andrey G
d9dcc40a54
6595 burn failed ( #7031 )
...
* halconf: SERIAL_USB_BUFFERS_RX_SIZE should be 64
Until we fix bug in OTGv1
* ChibiOS: update OTGv1
* usb_console: fix SERIAL_USB_BUFFERS_TX_SIZE vs BLOCKING_FACTOR check
Actually should be removed as we can write to USB serial more than
can fit into buffer. Write caller will be just waiting for space
available in buffer.
2024-11-03 17:22:17 -05:00
rusefi
fcc77166fe
only:CH_CFG_USE_DYNAMIC unused?
2024-10-31 22:24:26 -04:00
Andrey
25bf6d1725
only:typo
2024-10-23 00:31:08 -04:00
Andrey
eb1ea1f828
only:typos
2024-10-23 00:28:28 -04:00
Andrey
ddaa3a22e7
improving compilation guards
...
only:t-b-g
2024-10-22 06:14:09 -04:00
3er0.1ive
74908a9b54
- remove old output param m_frequency from knockController
...
- need some memory for f407
2024-10-22 05:33:17 -04:00
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