-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build demo #2
Comments
Add |
That fixed it and it builds successfully. Should I do a pull request? |
So...it builds as long as the TFT Demo wifi options are not configured. |
I think the error means that your boot partition is too big, you can use |
OK. well, after much experimenting, that did not fix it. I've also tried switching to the default options: Which begs the question: are custom partitions required to build the demo? |
By way of experiment, I configured and built with the partions_example.csv and still could not get a successful build until I set the offset to x000. Then I was able to build and apparently flash. Unfortunately, still no progress getting the demo to actually run as expected. Here's the output:
|
Hi,
I'm unable to successfully build the stand-alone demo with the ESP-IDF 4.0 build system. I'm getting the following errors:
../components/spidriver/spi_master_lobo.c:104:11: error: unknown type name 'periph_module_t' const periph_module_t module; //peripheral module, for enabling clock etc
../components/spidriver/spi_master_lobo.c:131:17: error: 'PERIPH_SPI_MODULE' undeclared here (not in a function) .module=PERIPH_SPI_MODULE,
../components/spidriver/spi_master_lobo.c:152:17: error: 'PERIPH_HSPI_MODULE' undeclared here (not in a function); did you mean 'SPI_CS_I_MODE'? .module=PERIPH_HSPI_MODULE,
../components/spidriver/spi_master_lobo.c:173:17: error: 'PERIPH_VSPI_MODULE' undeclared here (not in a function); did you mean 'SPI_CS_I_MODE'? .module=PERIPH_VSPI_MODULE,
../components/spidriver/spi_master_lobo.c: In function 'spi_lobo_periph_claim': ../components/spidriver/spi_master_lobo.c:287:14: error: implicit declaration of function 'periph_module_enable'; did you mean 'esp_intr_enable'? [-Werror=implicit-function-declaration] if (ret) periph_module_enable(io_signal[host].module);
../components/spidriver/spi_master_lobo.c: In function 'spi_lobo_periph_free': ../components/spidriver/spi_master_lobo.c:296:14: error: implicit declaration of function 'periph_module_disable'; did you mean 'esp_intr_disable'? [-Werror=implicit-function-declaration] if (ret) periph_module_disable(io_signal[host].module);
../components/spidriver/spi_master_lobo.c: In function 'spi_lobo_dma_chan_claim': ../components/spidriver/spi_master_lobo.c:312:27: error: 'PERIPH_SPI_DMA_MODULE' undeclared (first use in this function); did you mean 'PERIPHS_IO_MUX_MTDO_U'? periph_module_enable( PERIPH_SPI_DMA_MODULE );
../components/spidriver/spi_master_lobo.c:312:27: note: each undeclared identifier is reported only once for each function it appears in ../components/spidriver/spi_master_lobo.c: In function 'spi_lobo_dma_chan_free': ../components/spidriver/spi_master_lobo.c:328:32: error: 'PERIPH_SPI_DMA_MODULE' undeclared (first use in this function); did you mean 'PERIPHS_IO_MUX_MTDO_U'? periph_module_disable( PERIPH_SPI_DMA_MODULE );
cc1: some warnings being treated as errors [685/914] Building C object esp-idf/tft/CMakeFiles/__idf_tft.dir/tft.c.obj ninja: build stopped: subcommand failed. ninja failed with exit code 1
The text was updated successfully, but these errors were encountered: