summaryrefslogtreecommitdiff
path: root/py/modsys.c
diff options
context:
space:
mode:
authorAndrew Leech <andrew.leech@planetinnovation.com.au>2018-12-03 07:44:42 +1100
committerDamien George <damien.p.george@gmail.com>2018-12-22 01:30:47 +1100
commitce0c58117913f805db99767b22ecb7255b8686a1 (patch)
treef58b1070aa4fe3c78cdff0a26a50e3d9d6aba921 /py/modsys.c
parent5ed578e5b48730606536ded9a711223ae9a70262 (diff)
stm32/main: Add board config option to enable/disable mounting SD card.
The new option MICROPY_HW_SDCARD_MOUNT_AT_BOOT can now be defined to 0 in mpconfigboard.h to allow SD hardware to be enabled but not auto-mounted at boot. This feature is enabled by default to retain previous behaviour. Previously, if an SD card is enabled in hardware it is also used to boot from. While this can be disabled with a SKIPSD file on internal flash, this wont be available at first boot or if the internal flash gets corrupted.
Diffstat (limited to 'py/modsys.c')
0 files changed, 0 insertions, 0 deletions