You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 months ago | |
---|---|---|
assets | 3 years ago | |
game | 3 years ago | |
tools | 3 years ago | |
.gitignore | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 7 months ago |
README.md
Embedded Game Programming (2020)
- 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.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 thegame
directory and fill outIDF_PATH
andIDF_TOOLS_PATH
IDF_PATH
is the extracted ESP-IDFIDF_TOOLS_PATH
is the path to the toolchain
source export.sh