|
|
||
|---|---|---|
| assets | ||
| game | ||
| tools | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
README.md
Embedded Game Programming
- Get the ESP-IDF v4.0
- Follow Steps 1 through 3 of the Documentation
- Comment out line 303 of
esp-idf/components/driver/sdspi_host.cto enable the shared SPI bus
// Initialize SPI bus
esp_err_t ret = spi_bus_initialize((spi_host_device_t)slot, &buscfg,
slot_config->dma_channel);
if (ret != ESP_OK) {
ESP_LOGD(TAG, "spi_bus_initialize failed with rc=0x%x", ret);
//return ret;
}
- Modify the
export.shscript in thegamedirectory and fill outIDF_PATHandIDF_TOOLS_PATHIDF_PATHis the extracted ESP-IDFIDF_TOOLS_PATHis the path to the toolchain
source export.sh
