Commit Graph

161 Commits

Author SHA1 Message Date
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
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 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
Andrey Gusakov ffbee7bdd0 mmc_card: just a code formating 2025-01-12 08:27:39 -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
Matthew Kennedy 5b876677d6 more accurate SD card rate 2024-11-25 00:02:25 -05:00
rusefillc 2faa6c3681 only:getSdCardFieldsCount 2024-10-14 22:24:53 -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
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
Matthew Kennedy 27e0a80c82 compile-time enforcement of printf strings
only:uaefi
2024-06-10 19:11:35 -04:00
rusefillc 4ddb23cda9 only: power management for SD card MSD 2024-04-13 12:11:19 -04:00
rusefillc eaf2f7844f only: wait until board has turned itself on 2024-04-12 21:43:07 -04:00
Andrey cc161fb029 better guards 2024-03-15 19:04:46 -06:00
Andrey Gusakov 92030fb5a0 mmc_card: use blk* wrappers 2023-12-16 11:50:34 -05:00
Andrey Gusakov 99e3b21da0 mmc_card: no not lock SPI if MMC_USE_MUTUAL_EXCLUSION enabled 2023-12-16 11:50:34 -05:00
Andrey 6d12cdb7c9 only: debug channel cleanups 2023-09-14 10:10:10 -04:00
Andrey G 1b3c5a7d6f
GetToothLoggerBufferBlocking() can return nullptr (#5462)
Co-authored-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2023-07-25 10:36:27 -04:00
Matthew Kennedy 12a29232cc tooth_logger.h -> pch
(cherry picked from commit ad3ea57276361b6da69eb920dd056a662f6f5c70)
2023-05-31 15:59:02 -04:00
Andrey Gusakov cdd5161d52 usb: wait 15 sec for usb to spin up
Wait 15 seconds for USB to become CONFIGURED.
Previous timeout was 5 sec. Windows does usb enumeration quite slow
lets give some more room
2023-05-09 07:08:11 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Andrey eb239f7278 separate status for separate state 2023-02-26 20:25:24 -05:00
rusefi 1fae27fcc2 The road to hell is paved with good intentions 2023-01-08 16:48:29 -05:00
Matthew Kennedy 1f83047ddd tolerate no SPI device 2022-12-21 20:26:39 -05:00
Matthew Kennedy 87b903a2e3
nonblocking for TS, blocking for SD card (#4903) 2022-12-17 20:01:15 -05:00
rusefillc 85976ed63d guards 2022-12-17 15:23:32 -05:00
rusefillc fa4c69f6cf SDC_MODE flexibility 2022-12-16 20:22:48 -05:00
Matthew Kennedy 52884c64cb
SD card tooth log (#4897)
* adjust tooth logger api

* mmc card writes tooth log

* changelog
2022-12-15 08:34:10 -04:00
Matthew Kennedy ef53ff0104
period -> frequency (#4837)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 08:10:05 -05:00
rusefillc f9fa729d8d less horrible constant name 2022-10-27 22:17:50 -04:00
rusefillc 9c83cfd696 moving SD logic to better source 2022-09-12 20:39:43 -04:00
Matthew Kennedy 53297cb1fd
fix (#3877) 2022-02-01 18:40:40 -05:00
Andrey 940b04ab24 Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming 2021-12-07 20:18:47 -05:00
Matthew Kennedy 178ccdeb4d
simulator writes binary log (#3598)
* simulator writes log

* replace the file

* check that the sim actually fails

* put it back

* did the sim really not fail?

* good, asan does catch it
2021-11-23 11:42:45 -05:00
Scott Smith 823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy cb032fb1ea
(void) -> () (#3550)
* static functions with (void)

* more

* Revert "more"

This reverts commit 246e53441f935451437df186ac92d7df26b62fb6.

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-15 13:02:34 +01:00
rusefillc 48a009fc33 Revert "Revert "memory savings (#3195)""
This reverts commit 0b3ef5f5
2021-08-27 06:18:05 -04:00
rusefillc 0b3ef5f553 Revert "memory savings (#3195)"
This reverts commit 52a24ee7
2021-08-27 02:32:31 -04:00