Build environment: Windows
Moddable SDK version: 7.2.1
Target device: esp32/m5atom_matrix
Description
A brief summary of the problem
Steps to Reproduce
- Build and install the app using this build command: mcconfig -m -d -p esp32/m5atom_matrix
- Error
# cc spi.c.o
In file included from C:\Users\louis\projecten\moddable\modules\io\spi\esp32\spi.c:4:
C:/Users/louis/projecten/moddable/modules/io/spi/esp/spi.c: In function 'xs_spi_constructor':
C:/Users/louis/projecten/moddable/modules/io/spi/esp/spi.c:134:14: error: 'SPI_HOST' undeclared (first use in this function); did you mean 'SPI3_HOST'?
134 | if ((SPI_HOST != tmp) && (SPI2_HOST != tmp)
| ^~~~~~~~
| SPI3_HOST
C:/Users/louis/projecten/moddable/modules/io/spi/esp/spi.c:134:14: note: each undeclared identifier is reported only once for each function it appears in
NMAKE : fatal error U1077:
Build environment: Windows
Moddable SDK version: 7.2.1
Target device: esp32/m5atom_matrix
Description
A brief summary of the problem
Steps to Reproduce