1
0
Fork 0
Go to file
Austin Morlan d86013c90c
Part 4: Storage
2020-07-01 17:40:38 -07:00
src Part 4: Storage 2020-07-01 17:40:38 -07:00
.gitignore Part 1: Build System 2020-07-01 17:40:36 -07:00
CMakeLists.txt Part 4: Storage 2020-07-01 17:40:38 -07:00
LICENSE Part 1: Build System 2020-07-01 17:40:36 -07:00
README.md Part 4: Storage 2020-07-01 17:40:38 -07:00
export.sh Part 1: Build System 2020-07-01 17:40:36 -07:00
sdkconfig.defaults Part 1: Build System 2020-07-01 17:40:36 -07:00

README.md

Embedded Game Programming

  • Get the ESP-IDF v4.0
  • Comment out line 303 of esp-idf/components/driver/sdspi_host.c to 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.sh script in this directory and fill out IDF_PATH and IDF_TOOLS_PATH
    • IDF_PATH is the extracted ESP-IDF
    • IDF_TOOLS_PATH is the path to the toolchain
  • source export.sh