From a27a35bd778d9afe9f04e7aed69d950bc4d980e8 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 29 Jan 2024 23:58:04 +0100 Subject: WIP ESP32 port --- src/container/CMakeLists.txt | 2 ++ src/container/esp32/inc/container/port.h | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 src/container/esp32/inc/container/port.h (limited to 'src/container') diff --git a/src/container/CMakeLists.txt b/src/container/CMakeLists.txt index 740fe37..981d7c9 100644 --- a/src/container/CMakeLists.txt +++ b/src/container/CMakeLists.txt @@ -4,6 +4,8 @@ if(PS1_BUILD) set(inc ${inc} "ps1/inc") elseif(SDL1_2_BUILD) set(inc ${inc} "sdl-1.2/inc") +elseif(ESP32_BUILD) + set(inc ${inc} "esp32/inc") endif() add_library(container "src/container.c") diff --git a/src/container/esp32/inc/container/port.h b/src/container/esp32/inc/container/port.h new file mode 100644 index 0000000..f3d9ffb --- /dev/null +++ b/src/container/esp32/inc/container/port.h @@ -0,0 +1,6 @@ +#ifndef CONTAINER_ESP32_H +#define CONTAINER_ESP32_H + +#define container_load(path, list, n) container_load_ex(path, list, n) + +#endif /* CONTAINER_ESP32_H */ -- cgit v1.2.3