mikeller
da93c07432
Refactored SD card initialisation to contain SD card detection initialisation.
2019-07-14 17:09:35 +12:00
Dominic Clifton
8d78e15a4b
Fix use of sdcard.cardDetectPin before it is initialised.
...
* de-duplicate some SDIO/SPI sd-card detection code.
* ensure detectionInverted is set to false for SDIO case where
`cardDetectTag` is not configured.
2019-07-10 17:09:03 +02:00
jflyper
9ea1428d11
Introduce per device pin pre-init
2018-12-13 11:15:26 +09:00
blckmn
a9f74cd6df
Removed excess trailing spaces before new lines on licenses.
2018-04-25 20:58:00 +10:00
blckmn
46fe22b4bd
Direct license replacement
2018-04-22 09:22:46 +10:00
blckmn
39bb6ffe04
Configurable SDCARD, and clean up of DMA.
2018-01-29 11:50:14 +11:00
mikeller
d82c72bc54
Moved sdcard parameter group to pg/
.
2017-12-24 12:23:27 +13:00
Martin Budden
53f5e87c7a
Add void to function declarations/definitions where required
2017-09-24 09:22:48 +01:00
Martin Budden
0ddc4540cd
Improved structure alignments
2017-07-29 15:16:01 +01:00
Michael Jakob
46387c9dbe
Cleanup ENUM usage
2016-12-04 16:09:21 +01:00
blckmn
17facbea84
sdcard dma config, adc config, bluejayf4 hardware revision
...
Moved ADC to configuration stored in masterConfig.
- can remove features for vbat etc in future (perhaps param groups)
- allows adc to be turned off completely (freeing up dma)
Added feature SDCARD
- enables it to be turned off.
- allows for DMA to be turned off (set sdcard_dma=OFF)
Fixed hardware revision to allow BJF4 mini to use the same target (no need for an additional target).
2016-11-13 14:25:33 +11:00
borisbstyle
220850e429
Fix Spracing Mini merge
2016-02-02 23:36:43 +01:00
Nicholas Sherlock
360ea84a14
SDCard: multi-block write, card profiling. AFATFS: Bugfixes
2016-02-02 23:36:42 +01:00
Nicholas Sherlock
9d29efdd5d
Only look for SD card during initial startup and give up after timeout
2016-02-02 23:36:40 +01:00
Nicholas Sherlock
6055ab2432
Updates to use newly merged SD card code
2016-02-02 23:36:37 +01:00
Nicholas Sherlock
71335dc65d
Support enabling DMA for sdcard write at runtime
2016-02-02 23:36:36 +01:00
Nicholas Sherlock
392ec7412a
Reset the card when a timeout/fault is detected during init/read/write
2016-02-02 23:36:35 +01:00
Nicholas Sherlock
a35ccd28de
DMA support for SD-card write
2016-02-02 23:36:34 +01:00
Nicholas Sherlock
84d3cc6175
Basic SDCard block read / write (minimal timeout/error handling)
2016-02-02 23:36:32 +01:00
Dominic Clifton
4b955f09da
SDCard - Basic functionality.
...
Detect card, query capacity, read data.
2016-02-02 23:36:26 +01:00