aboutsummaryrefslogtreecommitdiff
path: root/src/container
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-01-29 23:58:04 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-01-30 01:16:18 +0100
commita27a35bd778d9afe9f04e7aed69d950bc4d980e8 (patch)
treecad17cb68da4a210538c15a7fba2289374c4fcc1 /src/container
parentc2e2343054e8d11ebaaf426d6ca105e79e93da6a (diff)
downloadjancity-a27a35bd778d9afe9f04e7aed69d950bc4d980e8.tar.gz
WIP ESP32 port
Diffstat (limited to 'src/container')
-rw-r--r--src/container/CMakeLists.txt2
-rw-r--r--src/container/esp32/inc/container/port.h6
2 files changed, 8 insertions, 0 deletions
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 */