mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 07:08:20 +00:00
Add more to the nrf pio environment
This commit is contained in:
parent
f3eec64928
commit
5348e29e14
@ -146,6 +146,9 @@
|
|||||||
#define USE_SOCKET_IMPL_BSD_SOCKETS
|
#define USE_SOCKET_IMPL_BSD_SOCKETS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_NRF52
|
||||||
|
#endif
|
||||||
|
|
||||||
// Disabled feature flags
|
// Disabled feature flags
|
||||||
// #define USE_BSEC // Requires a library with proprietary license.
|
// #define USE_BSEC // Requires a library with proprietary license.
|
||||||
|
|
||||||
|
@ -181,6 +181,18 @@ build_flags =
|
|||||||
-DUSE_LIBRETINY
|
-DUSE_LIBRETINY
|
||||||
build_src_flags = -include Arduino.h
|
build_src_flags = -include Arduino.h
|
||||||
|
|
||||||
|
; This is the common settings for the nRF52 using Zephyr.
|
||||||
|
[common:nrf52-zephyr]
|
||||||
|
extends = common
|
||||||
|
platform = platformio/nordicnrf52@10.3.0
|
||||||
|
platform_packages =
|
||||||
|
platformio/framework-zephyr @ https://github.com/tomaszduda23/framework-sdk-nrf
|
||||||
|
platformio/toolchain-gccarmnoneeabi@https://github.com/tomaszduda23/toolchain-sdk-ng
|
||||||
|
build_flags =
|
||||||
|
${common.build_flags}
|
||||||
|
-DUSE_ZEPHYR
|
||||||
|
-DUSE_NRF52
|
||||||
|
|
||||||
; All the actual environments are defined below.
|
; All the actual environments are defined below.
|
||||||
|
|
||||||
;;;;;;;; ESP8266 ;;;;;;;;
|
;;;;;;;; ESP8266 ;;;;;;;;
|
||||||
@ -393,9 +405,8 @@ build_flags =
|
|||||||
-std=c++17
|
-std=c++17
|
||||||
|
|
||||||
[env:nrf52]
|
[env:nrf52]
|
||||||
extends = common
|
extends = common:nrf52-zephyr
|
||||||
platform = platformio/nordicnrf52@10.3.0
|
|
||||||
platform_packages =
|
|
||||||
platformio/framework-zephyr @ https://github.com/tomaszduda23/framework-sdk-nrf
|
|
||||||
platformio/toolchain-gccarmnoneeabi@https://github.com/tomaszduda23/toolchain-sdk-ng
|
|
||||||
board = adafruit_feather_nrf52840
|
board = adafruit_feather_nrf52840
|
||||||
|
build_flags =
|
||||||
|
${common:nrf52-zephyr.build_flags}
|
||||||
|
${flags:runtime.build_flags}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user