file.mount() doesn't work
Posted: Wed Mar 22, 2017 11:39 am
Hello.
I try to mount external microSD to nodeMCUv3 and receive next:
spi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, 8, 8)
volume=file.mount("/SD0", 4)
stdin:1: attempt to call field 'mount' (a nil value)
stack traceback:
stdin:1: in main chunk
Firmware was built using last versions from master branch for nodemcu-firmware, used modules:
LUA_USE_MODULES_ADC
LUA_USE_MODULES_BIT
LUA_USE_MODULES_CJSON
LUA_USE_MODULES_DHT
LUA_USE_MODULES_FILE
LUA_USE_MODULES_GPIO
LUA_USE_MODULES_HTTP
LUA_USE_MODULES_I2C
LUA_USE_MODULES_NET
LUA_USE_MODULES_NODE
LUA_USE_MODULES_OW
LUA_USE_MODULES_SPI
LUA_USE_MODULES_TMR
LUA_USE_MODULES_UART
LUA_USE_MODULES_WIFI
Thanks.
I try to mount external microSD to nodeMCUv3 and receive next:
spi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, 8, 8)
volume=file.mount("/SD0", 4)
stdin:1: attempt to call field 'mount' (a nil value)
stack traceback:
stdin:1: in main chunk
Firmware was built using last versions from master branch for nodemcu-firmware, used modules:
LUA_USE_MODULES_ADC
LUA_USE_MODULES_BIT
LUA_USE_MODULES_CJSON
LUA_USE_MODULES_DHT
LUA_USE_MODULES_FILE
LUA_USE_MODULES_GPIO
LUA_USE_MODULES_HTTP
LUA_USE_MODULES_I2C
LUA_USE_MODULES_NET
LUA_USE_MODULES_NODE
LUA_USE_MODULES_OW
LUA_USE_MODULES_SPI
LUA_USE_MODULES_TMR
LUA_USE_MODULES_UART
LUA_USE_MODULES_WIFI
Thanks.