diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-01-29 23:58:04 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-01-30 01:16:18 +0100 |
| commit | a27a35bd778d9afe9f04e7aed69d950bc4d980e8 (patch) | |
| tree | cad17cb68da4a210538c15a7fba2289374c4fcc1 /src/container | |
| parent | c2e2343054e8d11ebaaf426d6ca105e79e93da6a (diff) | |
| download | jancity-a27a35bd778d9afe9f04e7aed69d950bc4d980e8.tar.gz | |
WIP ESP32 port
Diffstat (limited to 'src/container')
| -rw-r--r-- | src/container/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/container/esp32/inc/container/port.h | 6 |
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 */ |
