sforkowany z mirror/meshtastic-firmware
2042 wiersze
178 KiB
Plaintext
2042 wiersze
178 KiB
Plaintext
![]() |
# !!! WARNING !!! AUTO-GENERATED FILE, PLEASE DO NOT MODIFY IT AND USE
|
||
|
# https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags
|
||
|
#
|
||
|
# If you need to override existing CMake configuration or add extra,
|
||
|
# please create `CMakeListsUser.txt` in the root of project.
|
||
|
# The `CMakeListsUser.txt` will not be overwritten by PlatformIO.
|
||
|
|
||
|
|
||
|
|
||
|
set(CMAKE_CONFIGURATION_TYPES "tbeam;tbeam0.7;heltec;tlora-v1;tlora-v2;tlora-v2-1-1.6;cubecellplus;nrf52840dk;nrf52840dk-geeksville;feather_nrf52832;rak815;ppr;ppr1;eink;eink0.1;lora-relay-v1;lora-relay-v2;native;" CACHE STRING "Build Types reflect PlatformIO Environments" FORCE)
|
||
|
|
||
|
|
||
|
SET(CMAKE_C_COMPILER "/usr/bin/gcc")
|
||
|
SET(CMAKE_CXX_COMPILER "/usr/bin/g++")
|
||
|
SET(CMAKE_CXX_FLAGS "-Wno-missing-field-initializers -Wno-format -Os -O0 -w -Wall -ggdb -DAPP_VERSION=1.2.10")
|
||
|
SET(CMAKE_C_FLAGS "-Wno-missing-field-initializers -Wno-format -Os -O0 -w -Wall -ggdb -DAPP_VERSION=1.2.10")
|
||
|
|
||
|
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "native")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'FIXMEFLAG')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'ARDUINO=4403')
|
||
|
add_definitions(-D'PORTDUINO')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/libraries/WiFi/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/Crypto")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/RadioLib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/libraries/SPI/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/libraries/Wire/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/cores/portduino")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/cores/portduino/FS")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/ArduinoCore-API/api")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-portduino/variants/native")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/native/*.*
|
||
|
)
|
||
|
endif()
|
||
|
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "tbeam")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_T_Beam')
|
||
|
add_definitions(-D'BOARD_HAS_PSRAM')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
|
||
|
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
|
||
|
add_definitions(-D'AXP_DEBUG_PORT=Serial')
|
||
|
add_definitions(-D'TBEAM_V10')
|
||
|
add_definitions(-D'ESP32')
|
||
|
add_definitions(-D'ESP_PLATFORM')
|
||
|
add_definitions(-D'F_CPU=240000000L')
|
||
|
add_definitions(-D'HAVE_CONFIG_H')
|
||
|
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
|
||
|
add_definitions(-D'ARDUINO=10805')
|
||
|
add_definitions(-D'ARDUINO_ARCH_ESP32')
|
||
|
add_definitions(-D'ARDUINO_VARIANT=\"t-beam\"')
|
||
|
add_definitions(-D'ARDUINO_BOARD=\"TTGO T-Beam\"')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/DHT sensor library")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/Adafruit Unified Sensor")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/esp32_https_server/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/RadioLib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/SparkFun Ublox Arduino Library@src-58e4c8c3342495b31ae9596afafd3e00/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/OneButton@src-58e84a61e1135cf59834c5fb268069d2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/t-beam")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "tbeam0.7")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_T_Beam')
|
||
|
add_definitions(-D'BOARD_HAS_PSRAM')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
|
||
|
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
|
||
|
add_definitions(-D'AXP_DEBUG_PORT=Serial')
|
||
|
add_definitions(-D'TBEAM_V07')
|
||
|
add_definitions(-D'ESP32')
|
||
|
add_definitions(-D'ESP_PLATFORM')
|
||
|
add_definitions(-D'F_CPU=240000000L')
|
||
|
add_definitions(-D'HAVE_CONFIG_H')
|
||
|
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
|
||
|
add_definitions(-D'ARDUINO=10805')
|
||
|
add_definitions(-D'ARDUINO_ARCH_ESP32')
|
||
|
add_definitions(-D'ARDUINO_VARIANT=\"t-beam\"')
|
||
|
add_definitions(-D'ARDUINO_BOARD=\"TTGO T-Beam\"')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/DHT sensor library")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/Adafruit Unified Sensor")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/esp32_https_server/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/RadioLib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/t-beam")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/AXP202X_Library@src-445982841d155f061f37b636975a7965/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/AXP202X_Library@src-4c7639995fa9a549e4df71b1e6ec1726/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/OneButton@0.0.0-alpha+sha.eb583d713a/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tbeam0.7/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "heltec")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_HELTEC_WIFI_LORA_32_V2')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
|
||
|
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
|
||
|
add_definitions(-D'AXP_DEBUG_PORT=Serial')
|
||
|
add_definitions(-D'ESP32')
|
||
|
add_definitions(-D'ESP_PLATFORM')
|
||
|
add_definitions(-D'F_CPU=240000000L')
|
||
|
add_definitions(-D'HAVE_CONFIG_H')
|
||
|
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
|
||
|
add_definitions(-D'ARDUINO=10805')
|
||
|
add_definitions(-D'ARDUINO_ARCH_ESP32')
|
||
|
add_definitions(-D'ARDUINO_VARIANT=\"heltec_wifi_lora_32_V2\"')
|
||
|
add_definitions(-D'ARDUINO_BOARD=\"Heltec WiFi LoRa 32 \(V2\)\"')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/DHT sensor library")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/Adafruit Unified Sensor")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/esp32_https_server/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/RadioLib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/heltec_wifi_lora_32_V2")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/OneButton@0.0.0-alpha+sha.eb583d713a/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/heltec/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "tlora-v1")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_TTGO_LoRa32_V1')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
|
||
|
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
|
||
|
add_definitions(-D'AXP_DEBUG_PORT=Serial')
|
||
|
add_definitions(-D'TLORA_V1')
|
||
|
add_definitions(-D'ESP32')
|
||
|
add_definitions(-D'ESP_PLATFORM')
|
||
|
add_definitions(-D'F_CPU=240000000L')
|
||
|
add_definitions(-D'HAVE_CONFIG_H')
|
||
|
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
|
||
|
add_definitions(-D'ARDUINO=10805')
|
||
|
add_definitions(-D'ARDUINO_ARCH_ESP32')
|
||
|
add_definitions(-D'ARDUINO_VARIANT=\"ttgo-lora32-v1\"')
|
||
|
add_definitions(-D'ARDUINO_BOARD=\"TTGO LoRa32-OLED V1\"')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/DHT sensor library")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/Adafruit Unified Sensor")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/esp32_https_server/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/RadioLib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/ttgo-lora32-v1")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/OneButton@0.0.0-alpha+sha.eb583d713a/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v1/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "tlora-v2")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_TTGO_LoRa32_V1')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
|
||
|
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
|
||
|
add_definitions(-D'AXP_DEBUG_PORT=Serial')
|
||
|
add_definitions(-D'TLORA_V2')
|
||
|
add_definitions(-D'ESP32')
|
||
|
add_definitions(-D'ESP_PLATFORM')
|
||
|
add_definitions(-D'F_CPU=240000000L')
|
||
|
add_definitions(-D'HAVE_CONFIG_H')
|
||
|
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
|
||
|
add_definitions(-D'ARDUINO=10805')
|
||
|
add_definitions(-D'ARDUINO_ARCH_ESP32')
|
||
|
add_definitions(-D'ARDUINO_VARIANT=\"ttgo-lora32-v1\"')
|
||
|
add_definitions(-D'ARDUINO_BOARD=\"TTGO LoRa32-OLED V1\"')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/DHT sensor library")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/Adafruit Unified Sensor")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/esp32_https_server/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/RadioLib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/ttgo-lora32-v1")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/OneButton@0.0.0-alpha+sha.eb583d713a/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "tlora-v2-1-1.6")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_TTGO_LoRa32_V1')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'LOG_LOCAL_LEVEL=ESP_LOG_DEBUG')
|
||
|
add_definitions(-D'CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG')
|
||
|
add_definitions(-D'AXP_DEBUG_PORT=Serial')
|
||
|
add_definitions(-D'TLORA_V2_1_16')
|
||
|
add_definitions(-D'ESP32')
|
||
|
add_definitions(-D'ESP_PLATFORM')
|
||
|
add_definitions(-D'F_CPU=240000000L')
|
||
|
add_definitions(-D'HAVE_CONFIG_H')
|
||
|
add_definitions(-D'MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"')
|
||
|
add_definitions(-D'ARDUINO=10805')
|
||
|
add_definitions(-D'ARDUINO_ARCH_ESP32')
|
||
|
add_definitions(-D'ARDUINO_VARIANT=\"ttgo-lora32-v1\"')
|
||
|
add_definitions(-D'ARDUINO_BOARD=\"TTGO LoRa32-OLED V1\"')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Update/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/DHT sensor library")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/Adafruit Unified Sensor")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/esp32_https_server/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/RadioLib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/esp32-mfix-esp32-psram-cache-issue")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/efuse")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_server")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/espcoredump")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nimble")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/unity")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/cores/esp32")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/variants/ttgo-lora32-v1")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/BluetoothOTA")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/OneButton@0.0.0-alpha+sha.eb583d713a/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/xtensa-esp32-elf")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/lib/gcc/xtensa-esp32-elf/5.2.0/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/tlora-v2-1-1.6/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "cubecellplus")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'CubeCell_BoardPlus')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'ARDUINO=100')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/cubecell")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/c++/9.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/c++/9.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi/lib/gcc/arm-none-eabi/9.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi/lib/gcc/arm-none-eabi/9.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/cubecellplus/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "nrf52840dk")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_NRF52840_PCA10056')
|
||
|
add_definitions(-D'NRF52840_XXAA')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'F_CPU=64000000L')
|
||
|
add_definitions(-D'ARDUINO=10804')
|
||
|
add_definitions(-D'ARDUINO_ARCH_NRF52')
|
||
|
add_definitions(-D'ARDUINO_BSP_VERSION=\"0.21.0\"')
|
||
|
add_definitions(-D'ARDUINO_FEATHER52')
|
||
|
add_definitions(-D'ARDUINO_NRF52_ADAFRUIT')
|
||
|
add_definitions(-D'NRF52_SERIES')
|
||
|
add_definitions(-D'LFS_NAME_MAX=64')
|
||
|
add_definitions(-D'NRF52840')
|
||
|
add_definitions(-D'S140')
|
||
|
add_definitions(-D'NRF52_S140')
|
||
|
add_definitions(-D'SOFTDEVICE_PRESENT')
|
||
|
add_definitions(-D'USBCON')
|
||
|
add_definitions(-D'USE_TINYUSB')
|
||
|
add_definitions(-D'USB_VID=0x239A')
|
||
|
add_definitions(-D'USB_PID=0x4404')
|
||
|
add_definitions(-D'USB_PRODUCT=\"nrf52840dk\"')
|
||
|
add_definitions(-D'USB_MANUFACTURER=\"Nordic Semi\"')
|
||
|
add_definitions(-D'CFG_DEBUG=0')
|
||
|
add_definitions(-D'__PLATFORMIO_BUILD_DEBUG__')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/RadioLib/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/nrf52")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/sdk-nrfxlib/crypto/nrf_oberon/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/Core/Include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/variants/pca10056")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "nrf52840dk-geeksville")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_NRF52840_PCA10056')
|
||
|
add_definitions(-D'NRF52840_XXAA')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'F_CPU=64000000L')
|
||
|
add_definitions(-D'ARDUINO=10804')
|
||
|
add_definitions(-D'ARDUINO_ARCH_NRF52')
|
||
|
add_definitions(-D'ARDUINO_BSP_VERSION=\"0.21.0\"')
|
||
|
add_definitions(-D'ARDUINO_FEATHER52')
|
||
|
add_definitions(-D'ARDUINO_NRF52_ADAFRUIT')
|
||
|
add_definitions(-D'NRF52_SERIES')
|
||
|
add_definitions(-D'LFS_NAME_MAX=64')
|
||
|
add_definitions(-D'NRF52840')
|
||
|
add_definitions(-D'S113')
|
||
|
add_definitions(-D'NRF52_S113')
|
||
|
add_definitions(-D'SOFTDEVICE_PRESENT')
|
||
|
add_definitions(-D'USBCON')
|
||
|
add_definitions(-D'USE_TINYUSB')
|
||
|
add_definitions(-D'USB_VID=0x239A')
|
||
|
add_definitions(-D'USB_PID=0x4404')
|
||
|
add_definitions(-D'USB_PRODUCT=\"nrf52840dk\"')
|
||
|
add_definitions(-D'USB_MANUFACTURER=\"Nordic Semi\"')
|
||
|
add_definitions(-D'CFG_DEBUG=0')
|
||
|
add_definitions(-D'__PLATFORMIO_BUILD_DEBUG__')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/RadioLib/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/nrf52")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/sdk-nrfxlib/crypto/nrf_oberon/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/variants/pca10056-rc-clock")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/Core/Include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s113_nrf52_7.2.0_API/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s113_nrf52_7.2.0_API/include/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/variants/pca10056-rc-clock")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/OneButton@0.0.0-alpha+sha.eb583d713a/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/RadioLib@src-9f0ee4ef0997cdc8a439cbeb678d52cd/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/nrf52840dk-geeksville/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "feather_nrf52832")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'NRF52832_XXAA')
|
||
|
add_definitions(-D'NRF52')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'F_CPU=64000000L')
|
||
|
add_definitions(-D'ARDUINO=10804')
|
||
|
add_definitions(-D'ARDUINO_ARCH_NRF52')
|
||
|
add_definitions(-D'ARDUINO_BSP_VERSION=\"0.21.0\"')
|
||
|
add_definitions(-D'ARDUINO_FEATHER52')
|
||
|
add_definitions(-D'ARDUINO_NRF52_ADAFRUIT')
|
||
|
add_definitions(-D'NRF52_SERIES')
|
||
|
add_definitions(-D'LFS_NAME_MAX=64')
|
||
|
add_definitions(-D'NRF52832')
|
||
|
add_definitions(-D'S132')
|
||
|
add_definitions(-D'NRF52_S132')
|
||
|
add_definitions(-D'SOFTDEVICE_PRESENT')
|
||
|
add_definitions(-D'USB_VID=0x239A')
|
||
|
add_definitions(-D'USB_PID=0x8029')
|
||
|
add_definitions(-D'USB_PRODUCT=\"Feather nRF52832 Express\"')
|
||
|
add_definitions(-D'USB_MANUFACTURER=\"Adafruit\"')
|
||
|
add_definitions(-D'CFG_DEBUG=0')
|
||
|
add_definitions(-D'__PLATFORMIO_BUILD_DEBUG__')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/RadioLib/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/nrf52")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/sdk-nrfxlib/crypto/nrf_oberon/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/Core/Include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s132_nrf52_6.1.1_API/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s132_nrf52_6.1.1_API/include/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/variants/feather_nrf52832")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/feather_nrf52832/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "rak815")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'NRF52832_XXAA')
|
||
|
add_definitions(-D'NRF52')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'F_CPU=64000000L')
|
||
|
add_definitions(-D'ARDUINO=10804')
|
||
|
add_definitions(-D'ARDUINO_ARCH_NRF52')
|
||
|
add_definitions(-D'ARDUINO_BSP_VERSION=\"0.21.0\"')
|
||
|
add_definitions(-D'ARDUINO_FEATHER52')
|
||
|
add_definitions(-D'ARDUINO_NRF52_ADAFRUIT')
|
||
|
add_definitions(-D'NRF52_SERIES')
|
||
|
add_definitions(-D'LFS_NAME_MAX=64')
|
||
|
add_definitions(-D'NRF52832')
|
||
|
add_definitions(-D'S132')
|
||
|
add_definitions(-D'NRF52_S132')
|
||
|
add_definitions(-D'SOFTDEVICE_PRESENT')
|
||
|
add_definitions(-D'USB_VID=0x10c4')
|
||
|
add_definitions(-D'USB_PID=0xea60')
|
||
|
add_definitions(-D'USB_PRODUCT=\"RAK815\"')
|
||
|
add_definitions(-D'USB_MANUFACTURER=\"RAK\"')
|
||
|
add_definitions(-D'CFG_DEBUG=0')
|
||
|
add_definitions(-D'__PLATFORMIO_BUILD_DEBUG__')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/RadioLib/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/nrf52")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/sdk-nrfxlib/crypto/nrf_oberon/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/Core/Include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s132_nrf52_6.1.1_API/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s132_nrf52_6.1.1_API/include/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/variants/rak815")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/rak815/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "ppr")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_NRF52840_PPR')
|
||
|
add_definitions(-D'NRF52840_XXAA')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'F_CPU=64000000L')
|
||
|
add_definitions(-D'ARDUINO=10804')
|
||
|
add_definitions(-D'ARDUINO_ARCH_NRF52')
|
||
|
add_definitions(-D'ARDUINO_BSP_VERSION=\"0.21.0\"')
|
||
|
add_definitions(-D'ARDUINO_FEATHER52')
|
||
|
add_definitions(-D'ARDUINO_NRF52_ADAFRUIT')
|
||
|
add_definitions(-D'NRF52_SERIES')
|
||
|
add_definitions(-D'LFS_NAME_MAX=64')
|
||
|
add_definitions(-D'NRF52840')
|
||
|
add_definitions(-D'S140')
|
||
|
add_definitions(-D'NRF52_S140')
|
||
|
add_definitions(-D'SOFTDEVICE_PRESENT')
|
||
|
add_definitions(-D'USBCON')
|
||
|
add_definitions(-D'USE_TINYUSB')
|
||
|
add_definitions(-D'USB_VID=0x239A')
|
||
|
add_definitions(-D'USB_PID=0x4403')
|
||
|
add_definitions(-D'USB_PRODUCT=\"PPR\"')
|
||
|
add_definitions(-D'USB_MANUFACTURER=\"Othernet\"')
|
||
|
add_definitions(-D'CFG_DEBUG=0')
|
||
|
add_definitions(-D'__PLATFORMIO_BUILD_DEBUG__')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/UC1701/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/RadioLib/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/nrf52")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/sdk-nrfxlib/crypto/nrf_oberon/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/Core/Include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/variants/ppr")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "ppr1")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_NRF52833_PPR')
|
||
|
add_definitions(-D'NRF52833_XXAA')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'F_CPU=64000000L')
|
||
|
add_definitions(-D'ARDUINO=10804')
|
||
|
add_definitions(-D'ARDUINO_ARCH_NRF52')
|
||
|
add_definitions(-D'ARDUINO_BSP_VERSION=\"0.21.0\"')
|
||
|
add_definitions(-D'ARDUINO_FEATHER52')
|
||
|
add_definitions(-D'ARDUINO_NRF52_ADAFRUIT')
|
||
|
add_definitions(-D'NRF52_SERIES')
|
||
|
add_definitions(-D'LFS_NAME_MAX=64')
|
||
|
add_definitions(-D'NRF52833')
|
||
|
add_definitions(-D'S113')
|
||
|
add_definitions(-D'NRF52_S113')
|
||
|
add_definitions(-D'SOFTDEVICE_PRESENT')
|
||
|
add_definitions(-D'USBCON')
|
||
|
add_definitions(-D'USE_TINYUSB')
|
||
|
add_definitions(-D'USB_VID=0x239A')
|
||
|
add_definitions(-D'USB_PID=0x4406')
|
||
|
add_definitions(-D'USB_PRODUCT=\"PPR\"')
|
||
|
add_definitions(-D'USB_MANUFACTURER=\"Othernet\"')
|
||
|
add_definitions(-D'CFG_DEBUG=0')
|
||
|
add_definitions(-D'__PLATFORMIO_BUILD_DEBUG__')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/RadioLib/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/nrf52")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/sdk-nrfxlib/crypto/nrf_oberon/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/variants/ppr1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/Core/Include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s113_nrf52_7.2.0_API/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s113_nrf52_7.2.0_API/include/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/variants/ppr")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/UC1701/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/ppr1/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "eink")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_NRF52840_TTGO_EINK')
|
||
|
add_definitions(-D'NRF52840_XXAA')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'BUSY_PIN=3')
|
||
|
add_definitions(-D'RST_PIN=2')
|
||
|
add_definitions(-D'DC_PIN=28')
|
||
|
add_definitions(-D'CS_PIN=30')
|
||
|
add_definitions(-D'F_CPU=64000000L')
|
||
|
add_definitions(-D'ARDUINO=10804')
|
||
|
add_definitions(-D'ARDUINO_ARCH_NRF52')
|
||
|
add_definitions(-D'ARDUINO_BSP_VERSION=\"0.21.0\"')
|
||
|
add_definitions(-D'ARDUINO_FEATHER52')
|
||
|
add_definitions(-D'ARDUINO_NRF52_ADAFRUIT')
|
||
|
add_definitions(-D'NRF52_SERIES')
|
||
|
add_definitions(-D'LFS_NAME_MAX=64')
|
||
|
add_definitions(-D'NRF52840')
|
||
|
add_definitions(-D'S140')
|
||
|
add_definitions(-D'NRF52_S140')
|
||
|
add_definitions(-D'SOFTDEVICE_PRESENT')
|
||
|
add_definitions(-D'USBCON')
|
||
|
add_definitions(-D'USE_TINYUSB')
|
||
|
add_definitions(-D'USB_VID=0x239A')
|
||
|
add_definitions(-D'USB_PID=0x4405')
|
||
|
add_definitions(-D'USB_PRODUCT=\"TTGO_eink\"')
|
||
|
add_definitions(-D'USB_MANUFACTURER=\"TTGO\"')
|
||
|
add_definitions(-D'CFG_DEBUG=0')
|
||
|
add_definitions(-D'__PLATFORMIO_BUILD_DEBUG__')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/TFT_eSPI")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/EPD_Libraries/epd1in54")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/RadioLib/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/nrf52")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/sdk-nrfxlib/crypto/nrf_oberon/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/variants/eink")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/Core/Include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/variants/eink")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/OneButton@0.0.0-alpha+sha.eb583d713a/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/RadioLib@src-9f0ee4ef0997cdc8a439cbeb678d52cd/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "eink0.1")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_NRF52840_TTGO_EINK')
|
||
|
add_definitions(-D'NRF52840_XXAA')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'BUSY_PIN=3')
|
||
|
add_definitions(-D'RST_PIN=2')
|
||
|
add_definitions(-D'DC_PIN=28')
|
||
|
add_definitions(-D'CS_PIN=30')
|
||
|
add_definitions(-D'F_CPU=64000000L')
|
||
|
add_definitions(-D'ARDUINO=10804')
|
||
|
add_definitions(-D'ARDUINO_ARCH_NRF52')
|
||
|
add_definitions(-D'ARDUINO_BSP_VERSION=\"0.21.0\"')
|
||
|
add_definitions(-D'ARDUINO_FEATHER52')
|
||
|
add_definitions(-D'ARDUINO_NRF52_ADAFRUIT')
|
||
|
add_definitions(-D'NRF52_SERIES')
|
||
|
add_definitions(-D'LFS_NAME_MAX=64')
|
||
|
add_definitions(-D'NRF52840')
|
||
|
add_definitions(-D'S140')
|
||
|
add_definitions(-D'NRF52_S140')
|
||
|
add_definitions(-D'SOFTDEVICE_PRESENT')
|
||
|
add_definitions(-D'USBCON')
|
||
|
add_definitions(-D'USE_TINYUSB')
|
||
|
add_definitions(-D'USB_VID=0x239A')
|
||
|
add_definitions(-D'USB_PID=0x4405')
|
||
|
add_definitions(-D'USB_PRODUCT=\"TTGO_eink\"')
|
||
|
add_definitions(-D'USB_MANUFACTURER=\"TTGO\"')
|
||
|
add_definitions(-D'CFG_DEBUG=0')
|
||
|
add_definitions(-D'__PLATFORMIO_BUILD_DEBUG__')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/TFT_eSPI")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/EPD_Libraries/epd1in54")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/RadioLib/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/nrf52")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/sdk-nrfxlib/crypto/nrf_oberon/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/variants/eink0.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/Core/Include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/variants/eink0.1")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/eink0.1/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "lora-relay-v1")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_NRF52840_LORA_RELAY_V1')
|
||
|
add_definitions(-D'NRF52840_XXAA')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'USER_SETUP_LOADED')
|
||
|
add_definitions(-D'TFT_WIDTH=80')
|
||
|
add_definitions(-D'TFT_HEIGHT=160')
|
||
|
add_definitions(-D'ST7735_GREENTAB160x80')
|
||
|
add_definitions(-D'ST7735_DRIVER')
|
||
|
add_definitions(-D'TFT_CS=ST7735_CS')
|
||
|
add_definitions(-D'TFT_DC=ST7735_RS')
|
||
|
add_definitions(-D'TFT_RST=ST7735_RESET')
|
||
|
add_definitions(-D'SPI_FREQUENCY=27000000')
|
||
|
add_definitions(-D'F_CPU=64000000L')
|
||
|
add_definitions(-D'ARDUINO=10804')
|
||
|
add_definitions(-D'ARDUINO_ARCH_NRF52')
|
||
|
add_definitions(-D'ARDUINO_BSP_VERSION=\"0.21.0\"')
|
||
|
add_definitions(-D'ARDUINO_FEATHER52')
|
||
|
add_definitions(-D'ARDUINO_NRF52_ADAFRUIT')
|
||
|
add_definitions(-D'NRF52_SERIES')
|
||
|
add_definitions(-D'LFS_NAME_MAX=64')
|
||
|
add_definitions(-D'NRF52840')
|
||
|
add_definitions(-D'S140')
|
||
|
add_definitions(-D'NRF52_S140')
|
||
|
add_definitions(-D'SOFTDEVICE_PRESENT')
|
||
|
add_definitions(-D'USBCON')
|
||
|
add_definitions(-D'USE_TINYUSB')
|
||
|
add_definitions(-D'USB_VID=0x239A')
|
||
|
add_definitions(-D'USB_PID=0x4404')
|
||
|
add_definitions(-D'USB_PRODUCT=\"LORA_RELAY\"')
|
||
|
add_definitions(-D'USB_MANUFACTURER=\"BigCorvus\"')
|
||
|
add_definitions(-D'CFG_DEBUG=0')
|
||
|
add_definitions(-D'__PLATFORMIO_BUILD_DEBUG__')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/TFT_eSPI")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/SparkFun BQ27441 LiPo Fuel Gauge Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/RadioLib/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/nrf52")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/sdk-nrfxlib/crypto/nrf_oberon/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/variants/lora_relay_v1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/Core/Include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/variants/lora_relay_v1")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/Adafruit BusIO")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/Adafruit GFX Library")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/Adafruit ST7735 and ST7789 Library")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/Adafruit seesaw Library")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/OneButton@0.0.0-alpha+sha.eb583d713a/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/RadioLib@src-04c34ef49d4ad9f955bfeccb187cbfb4/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/RadioLib@src-73ec3f00ee50ec53c3e35f8f57cb805b/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/RadioLib@src-7defea5cd18ca13be529349922fbc9bd/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/RadioLib@src-9f0ee4ef0997cdc8a439cbeb678d52cd/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/SD")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/SparkFun Ublox Arduino Library@src-8ce11c31a386d7fec113d205dac8fee5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/SparkFun Ublox Arduino Library@src-c2b16aac179b750f0dd483f91954d27c/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/Thread@src-2d5aa05a470baa9e9e00a0bae2a87c62")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/arduino-fsm@src-4bf5152e2f279002470ccf60d567d9e6")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v1/*.*
|
||
|
)
|
||
|
endif()
|
||
|
if (CMAKE_BUILD_TYPE MATCHES "lora-relay-v2")
|
||
|
add_definitions(-D'PLATFORMIO=50100')
|
||
|
add_definitions(-D'ARDUINO_NRF52840_LORA_RELAY_V2')
|
||
|
add_definitions(-D'NRF52840_XXAA')
|
||
|
add_definitions(-D'HW_VERSION_')
|
||
|
add_definitions(-D'HW_VERSION=')
|
||
|
add_definitions(-D'USE_THREAD_NAMES')
|
||
|
add_definitions(-D'TINYGPS_OPTION_NO_CUSTOM_FIELDS')
|
||
|
add_definitions(-D'USER_SETUP_LOADED')
|
||
|
add_definitions(-D'TFT_WIDTH=80')
|
||
|
add_definitions(-D'TFT_HEIGHT=160')
|
||
|
add_definitions(-D'ST7735_GREENTAB160x80')
|
||
|
add_definitions(-D'ST7735_DRIVER')
|
||
|
add_definitions(-D'TFT_CS=ST7735_CS')
|
||
|
add_definitions(-D'TFT_DC=ST7735_RS')
|
||
|
add_definitions(-D'TFT_RST=ST7735_RESET')
|
||
|
add_definitions(-D'SPI_FREQUENCY=27000000')
|
||
|
add_definitions(-D'TFT_WR=ST7735_SDA')
|
||
|
add_definitions(-D'TFT_SCLK=ST7735_SCK')
|
||
|
add_definitions(-D'F_CPU=64000000L')
|
||
|
add_definitions(-D'ARDUINO=10804')
|
||
|
add_definitions(-D'ARDUINO_ARCH_NRF52')
|
||
|
add_definitions(-D'ARDUINO_BSP_VERSION=\"0.21.0\"')
|
||
|
add_definitions(-D'ARDUINO_FEATHER52')
|
||
|
add_definitions(-D'ARDUINO_NRF52_ADAFRUIT')
|
||
|
add_definitions(-D'NRF52_SERIES')
|
||
|
add_definitions(-D'LFS_NAME_MAX=64')
|
||
|
add_definitions(-D'NRF52840')
|
||
|
add_definitions(-D'S140')
|
||
|
add_definitions(-D'NRF52_S140')
|
||
|
add_definitions(-D'SOFTDEVICE_PRESENT')
|
||
|
add_definitions(-D'USBCON')
|
||
|
add_definitions(-D'USE_TINYUSB')
|
||
|
add_definitions(-D'USB_VID=0x239A')
|
||
|
add_definitions(-D'USB_PID=0x4406')
|
||
|
add_definitions(-D'USB_PRODUCT=\"LORA_RELAY\"')
|
||
|
add_definitions(-D'USB_MANUFACTURER=\"BigCorvus\"')
|
||
|
add_definitions(-D'CFG_DEBUG=0')
|
||
|
add_definitions(-D'__PLATFORMIO_BUILD_DEBUG__')
|
||
|
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/TFT_eSPI")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/SparkFun BQ27441 LiPo Fuel Gauge Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/Thread")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/AXP202X_Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/TinyGPSPlus/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/RadioLib/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/SparkFun Ublox Arduino Library/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/arduino-fsm")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/CRC32/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/OneButton/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/ESP8266_SSD1306/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/mesh")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/gps")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/lib/nanopb/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/src/nrf52")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/sdk-nrfxlib/crypto/nrf_oberon/include")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/variants/lora_relay_v2")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/cmsis/Core/Include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/variants/lora_relay_v2")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/ESP8266_SSD1306@src-4ab3ad976e5f12b4a61f839d23a3c46d/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/RadioLib@src-eaad48fc571e663359162082157944f2/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/Thread@src-a2b7660c81ffe1635912fa2f065bc3ce")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/TinyGPSPlus@src-2765db9a05cb947ced769bf56fedd1f5/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/TinyGPSPlus@src-addcdb46757d61b29d61d7a3c8d2c6aa/src")
|
||
|
include_directories("${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/arduino-fsm@src-47e2e1a833a6aba34dc6f0811d801e49")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include/c++/7.2.1/arm-none-eabi")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/lib/gcc/arm-none-eabi/7.2.1/include-fixed")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/arm-none-eabi/include")
|
||
|
include_directories("$ENV{HOME}/.platformio/packages/tool-unity")
|
||
|
|
||
|
FILE(GLOB_RECURSE EXTRA_LIB_SOURCES
|
||
|
${CMAKE_CURRENT_LIST_DIR}/.pio/libdeps/lora-relay-v2/*.*
|
||
|
)
|
||
|
endif()
|
||
|
|
||
|
FILE(GLOB_RECURSE SRC_LIST
|
||
|
${CMAKE_CURRENT_LIST_DIR}/src/*.*
|
||
|
${CMAKE_CURRENT_LIST_DIR}/lib/*.*
|
||
|
)
|
||
|
|
||
|
list(APPEND SRC_LIST ${EXTRA_LIB_SOURCES})
|