From 9d9289f02c37b6f00d33ca2cf5f5faee9c7d8189 Mon Sep 17 00:00:00 2001 From: geeksville Date: Mon, 7 Sep 2020 12:39:07 -0700 Subject: [PATCH] Update based on ardafruit nrf52 arduino platform.txt Fixes platformio builds --- adafruit.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/adafruit.py b/adafruit.py index 3d5c7b5..d9cb1be 100644 --- a/adafruit.py +++ b/adafruit.py @@ -105,6 +105,7 @@ CPPPATH=[ join(CORE_DIR, "cmsis", "include"), + join(CORE_DIR, "cmsis", "Core", "Include"), join(NORDIC_DIR), join(NORDIC_DIR, "nrfx"), join(NORDIC_DIR, "nrfx", "hal"), @@ -168,7 +169,9 @@ env.Append( CPPPATH=[ join(NORDIC_DIR, "softdevice", - "%s_nrf52_%s_API" % (softdevice_name, softdevice_version), "include") + "%s_nrf52_%s_API" % (softdevice_name, softdevice_version), "include"), + join(NORDIC_DIR, "softdevice", + "%s_nrf52_%s_API" % (softdevice_name, softdevice_version), "include", "nrf52") ], CPPDEFINES=[ softdevice_name.upper(),