Adding SD_MMC.setPins
This commit is contained in:
@ -107,6 +107,8 @@ BOARDS = {
|
||||
'esp32s3': '--fqbn=esp32:esp32:esp32s3:PSRAM=disabled,FlashMode=qio,FlashSize=4M,LoopCore=1,EventsCore=1,USBMode=hwcdc,CDCOnBoot=default,MSCOnBoot=default,DFUOnBoot=default,UploadMode=default,PartitionScheme=default,CPUFreq=240,UploadSpeed=921600,DebugLevel=none,EraseFlash=none',
|
||||
'esp32c3': '--fqbn=esp32:esp32:esp32c3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none',
|
||||
'esp32cam': '--fqbn=esp32:esp32:esp32cam:CPUFreq=240,FlashMode=qio,PartitionScheme=huge_app,FlashFreq=80,DebugLevel=none,EraseFlash=none',
|
||||
'esp32cam': '--fqbn=esp32:esp32:esp32cam:CPUFreq=240,FlashMode=qio,PartitionScheme=huge_app,FlashFreq=80,DebugLevel=none,EraseFlash=none',
|
||||
'tdongles3': '--fqbn=esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=16M,PartitionScheme=huge_app',
|
||||
}
|
||||
for board_base in BOARDS:
|
||||
options = BOARDS[board_base]
|
||||
|
||||
@ -366,7 +366,8 @@ static cell_t ResizeFile(cell_t fd, cell_t size);
|
||||
XV(SD_MMC, "SD_MMC.end", SD_MMC_END, SD_MMC.end()) \
|
||||
XV(SD_MMC, "SD_MMC.cardType", SD_MMC_CARD_TYPE, PUSH SD_MMC.cardType()) \
|
||||
XV(SD_MMC, "SD_MMC.totalBytes", SD_MMC_TOTAL_BYTES, PUSH SD_MMC.totalBytes()) \
|
||||
XV(SD_MMC, "SD_MMC.usedBytes", SD_MMC_USED_BYTES, PUSH SD_MMC.usedBytes())
|
||||
XV(SD_MMC, "SD_MMC.usedBytes", SD_MMC_USED_BYTES, PUSH SD_MMC.usedBytes()) \
|
||||
XV(SD_MMC, "SD_MMC.setPins", SD_MMC_SET_PINS, n0 = SD_MMC.setPins(n5, n4, n3, n2, n1, n0); NIPn(5))
|
||||
#endif
|
||||
|
||||
#ifndef ENABLE_I2C_SUPPORT
|
||||
|
||||
@ -619,6 +619,7 @@ SD_MMC.end ( -- )
|
||||
SD_MMC.cardType ( -- n )
|
||||
SD_MMC.totalBytes ( -- n )
|
||||
SD_MMC.usedBytes ( -- n )
|
||||
SD_MMC.setPins ( clk cmd d0 d1 d2 d3 -- f ) v7.0.7.20 and up
|
||||
</pre>
|
||||
|
||||
<h5 id="tasks">Tasks</h5>
|
||||
|
||||
Reference in New Issue
Block a user