File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
samples/System.IO.FileSystem/MountExample Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ public static void Main()
1919 {
2020 Debug . WriteLine ( "Hello from nanoFramework - SD card Mount example" ) ;
2121
22+ // Configure pins for SDMMC1 and/or SDMMC2, this only needs to be done with devices that have configurable SDIO/MMC pins (ESP32_S3 and ESP32_P4).
23+ // Configure pins to match pins used by board.
24+ // A reference to nanoFramework.Hardware.Esp32 will also be required.
25+ //Configuration.SetPinFunction(16, DeviceFunction.SDMMC1_CLOCK);
26+ //Configuration.SetPinFunction(18, DeviceFunction.SDMMC1_COMMAND);
27+ //Configuration.SetPinFunction(19, DeviceFunction.SDMMC1_D0);
28+ //Configuration.SetPinFunction(20, DeviceFunction.SDMMC1_D1);
29+ //Configuration.SetPinFunction(21 DeviceFunction.SDMMC1_D2);
30+ //Configuration.SetPinFunction(22, DeviceFunction.SDMMC1_D3);
31+
2232 // Initialise an instance of SDCard using constructor specific to your board/adapter
2333
2434 // Boards with SD card interface and parameters built in to firmware
You can’t perform that action at this time.
0 commit comments