From 351be2f327ee052414eadf0f0c97e61afeee7f09 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Mon, 15 Mar 2021 13:09:52 +0800 Subject: [PATCH] change portduino so it has a higher chance of building on OS-X and windows --- .github/workflows/main.yml | 4 ++-- platformio.ini | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 49a2bf3c..585775e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,5 +32,5 @@ jobs: - name: Build for lora-relay-v1 run: platformio run -e lora-relay-v1 # Turn off linux for now - #- name: Build for linux - # run: platformio run -e linux + name: Build for native + run: platformio run -e native diff --git a/platformio.ini b/platformio.ini index 28697631..5ae4d2dd 100644 --- a/platformio.ini +++ b/platformio.ini @@ -9,7 +9,7 @@ ; https://docs.platformio.org/page/projectconf.html [platformio] -default_envs = tbeam +;default_envs = tbeam ;default_envs = tbeam0.7 ;default_envs = heltec ;default_envs = tlora-v1 @@ -17,7 +17,7 @@ default_envs = tbeam ;default_envs = lora-relay-v1 # nrf board ;default_envs = eink ;default_envs = nrf52840dk-geeksville -;default_envs = linux # lora-relay-v1 # nrf52840dk-geeksville # linux # or if you'd like to change the default to something like lora-relay-v1 put that here +default_envs = native # lora-relay-v1 # nrf52840dk-geeksville # linux # or if you'd like to change the default to something like lora-relay-v1 put that here [common] ; common is not currently used @@ -355,12 +355,12 @@ lib_deps = TFT_eSPI ; The Portduino based sim environment on top of linux -[env:linux] -platform = https://github.com/geeksville/platform-portduino.git +[env:native] +platform = https://github.com/geeksville/platform-native.git src_filter = ${env.src_filter} - - - - - build_flags = ${arduino_base.build_flags} -O0 framework = arduino -board = linux_x86_64 +board = native lib_deps = ${arduino_base.lib_deps} rweather/Crypto