diff --git a/BUILDING.md b/BUILDING.md index bdd31761..a5bfebe9 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -1,9 +1,9 @@ # Building Retro-Go ## Prerequisites -You will need a working installation of [esp-idf](https://docs.espressif.com/projects/esp-idf/en/release-v4.3/esp32/get-started/index.html#get-started-get-prerequisites). Versions 4.2 to 5.2 are supported. +You will need a working installation of [esp-idf](https://docs.espressif.com/projects/esp-idf/en/release-v4.4/esp32/get-started/index.html#get-started-get-prerequisites). Versions 4.4 to 5.2 are supported. -_Note: As of retro-go 1.35, I use 4.3. Version 4.1 was used for 1.20 to 1.34 versions._ +_Note: As of retro-go 1.44, I use 4.4.8. I used 4.3 for 1.35 to 1.43. ESP-IDF 4.1 was used for 1.20 to 1.34 versions._ ### ESP-IDF Patches Patching esp-idf may be required for full functionality. Patches are located in `tools/patches` and can be applied to your global esp-idf installation, they will not break your other projects/devices. diff --git a/Dockerfile b/Dockerfile index 2648dc3d..ca28a59f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM espressif/idf:release-v4.3 +FROM espressif/idf:release-v4.4 WORKDIR /app diff --git a/components/retro-go/drivers/audio/i2s.c b/components/retro-go/drivers/audio/i2s.c index 46bc256b..93f0b0a7 100644 --- a/components/retro-go/drivers/audio/i2s.c +++ b/components/retro-go/drivers/audio/i2s.c @@ -67,9 +67,7 @@ static bool driver_init(int device, int sample_rate) if (ret == ESP_OK) { ret = i2s_set_pin(I2S_NUM_0, &(i2s_pin_config_t) { - #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0) .mck_io_num = GPIO_NUM_NC, - #endif .bck_io_num = RG_GPIO_SND_I2S_BCK, .ws_io_num = RG_GPIO_SND_I2S_WS, .data_out_num = RG_GPIO_SND_I2S_DATA, diff --git a/components/retro-go/rg_system.h b/components/retro-go/rg_system.h index ad5161ab..6df6af98 100644 --- a/components/retro-go/rg_system.h +++ b/components/retro-go/rg_system.h @@ -16,8 +16,8 @@ extern "C" { #include #include #include -#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(4, 3, 0) -#error "Retro-Go requires ESP-IDF version 4.3.0 or newer!" +#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(4, 4, 0) +#error "Retro-Go requires ESP-IDF version 4.4.0 or newer!" #endif #else #define IRAM_ATTR