mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-23 03:39:33 +00:00
CI: enable example builds for C3
Enables building C3 examples in CI. Fixes related warnings/errors and disables examples that cannot run.
This commit is contained in:
@@ -26,8 +26,8 @@ static inline uint16_t get_bgnd_pixel(int x, int y)
|
||||
y+=8;
|
||||
return pixels[y][x];
|
||||
}
|
||||
#elif defined CONFIG_IDF_TARGET_ESP32S2
|
||||
//esp32s2 doesn't have enough memory to hold the decoded image, calculate instead
|
||||
#elif CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32C3
|
||||
//esp32s2/c3 doesn't have enough memory to hold the decoded image, calculate instead
|
||||
static inline uint16_t get_bgnd_pixel(int x, int y)
|
||||
{
|
||||
return ((x<<3)^(y<<3)^(x*y));
|
||||
@@ -69,8 +69,8 @@ esp_err_t pretty_effect_init(void)
|
||||
{
|
||||
#ifdef CONFIG_IDF_TARGET_ESP32
|
||||
return decode_image(&pixels);
|
||||
#elif defined CONFIG_IDF_TARGET_ESP32S2
|
||||
//esp32s2 doesn't have enough memory to hold the decoded image, calculate instead
|
||||
#elif CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32C3
|
||||
//esp32s2/c3 doesn't have enough memory to hold the decoded image, calculate instead
|
||||
return ESP_OK;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user