From 1f33b03c30a37e9b8e3a5ddc4239eb4615898fb2 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Mon, 15 Mar 2021 13:43:22 +0800 Subject: [PATCH] turn off broken genieblocks_lora build --- CMakeLists.txt | 33 +++++++++++++++++++++++++++++++++ platformio.ini | 11 ++++++----- 2 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..bf3e7ca2 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,33 @@ +# !!! 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. + +cmake_minimum_required(VERSION 3.13) +set(CMAKE_SYSTEM_NAME Generic) +set(CMAKE_C_COMPILER_WORKS 1) +set(CMAKE_CXX_COMPILER_WORKS 1) + +project("meshtastic-esp32" C CXX) + +include(CMakeListsPrivate.txt) + +if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/CMakeListsUser.txt) +include(CMakeListsUser.txt) +endif() + +add_custom_target( + Production ALL + COMMAND platformio -c clion run "$<$>:-e${CMAKE_BUILD_TYPE}>" + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} +) + +add_custom_target( + Debug ALL + COMMAND platformio -c clion run --target debug "$<$>:-e${CMAKE_BUILD_TYPE}>" + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} +) + +add_executable(Z_DUMMY_TARGET ${SRC_LIST}) diff --git a/platformio.ini b/platformio.ini index 5ae4d2dd..3965c848 100644 --- a/platformio.ini +++ b/platformio.ini @@ -366,8 +366,9 @@ lib_deps = rweather/Crypto ; The GenieBlocks LORA prototype board -[env:genieblocks_lora] -extends = esp32_base -board = genieblocks_lora -build_flags = - ${esp32_base.build_flags} -D GENIEBLOCKS \ No newline at end of file +; note: @geeksville disabled because genieblocks_lora is not checked into the boards directory, please send in a PR to add it ;-) +;[env:genieblocks_lora] +;extends = esp32_base +;board = genieblocks_lora +;build_flags = +; ${esp32_base.build_flags} -D GENIEBLOCKS \ No newline at end of file