Commit Graph

2939 Commits

Author SHA1 Message Date
Andrey Gusakov 953c29c9a6 mmc_card: do not format to extFAT 2025-01-21 10:27:13 -05:00
rusefillc fcc08a9f8a helping simulator
only:uaefi
2025-01-21 10:27:06 -05:00
Andrey Gusakov 68d4a63728 mmc_card: implement SD card mode switcher 2025-01-21 10:20:29 -05:00
rusefillc 533cb0852f helping hellen 2025-01-21 09:54:17 -05:00
Andrey Gusakov 54fa27e099 mmc_card: divide unmount into parts 2025-01-21 09:40:03 -05:00
Andrey Gusakov 40c4143aa4 mmc_card: sdState -> sdStatus and convert to enum 2025-01-21 09:40:00 -05:00
Andrey Gusakov ee32e391ac helping simulator
only:uaefi
2025-01-21 09:32:42 -05:00
Andrey Gusakov 8f8460a937 mmc_card: divide init and mount 2025-01-21 09:27:28 -05:00
Andrey Gusakov 76a41f0387 mmc_card: createLogFile() do not append already exist file 2025-01-20 15:45:33 -05:00
rusefi 97b8d7a757 f_setlabel(SD_CARD_LABEL) 2025-01-20 13:47:38 -05:00
rusefillc 173fc2be47 bool mmcUnMount
only:chThdSleepMilliseconds
2025-01-20 10:15:17 -05:00
Andrey Gusakov 8eda2fe104 main_hardfault.c: fix comment 2025-01-19 16:31:06 -05:00
rusefillc 14029bc55e SD card un-mount unmount when we turn off programmatically #7289
only:uaefi
2025-01-19 16:23:34 -05:00
rusefillc 3653cff490 EFI_HIP_9011_LOGIC
only:uaefi
2025-01-19 15:34:57 -05:00
Andrey Gusakov 6f62a6125e error_handling: fixes for ECU with no backup RAM 2 2025-01-15 10:31:14 -05:00
Andrey Gusakov 0e6dc0c7b2 workaround include mess when building simulator 2025-01-15 10:31:14 -05:00
Andrey Gusakov e1d340a393 mmc_card_util: cleanup 2025-01-15 10:31:14 -05:00
Andrey Gusakov e0c05c4777 error reporting: extract all related code to error_handling
Also:
 -report ChibiOS panic message
 -use bootCount for boot report file naming
 -save few bytes in backup ram by reusing same field for different errors types
2025-01-15 10:31:14 -05:00
Andrey Gusakov 0b1b7f860d main_hardfault: no magic numbers 2025-01-14 11:04:27 -05:00
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