Closed ada19911201 closed 3 years ago
hmm - it builds OK for me (on MacOS and Linux - arm-none-eabi-gcc 10.2.1) Did you update the submodules after cloning the repository?
git clone https://github.com/adafruit/Adafruit_nRF52_Bootloader
cd Adafruit_nRF52_Bootloader
git submodule update --init
per the README.md
https://github.com/adafruit/Adafruit_nRF52_Bootloader
I'm using GCC version 7.3.1, I'll update to 10.2 to try it out
Operating System
Windows 10
INFO_UF2.TXT
feather_nrf52840_express
What happened ?
In file included from lib/nrfx/drivers/include/nrfx_power.h:40:0, from lib/nrfx/drivers/src/nrfx_power.c:38: lib/nrfx/drivers/include/nrfx_power_compat.h:49:5: error: "NRF_REGULATORS_HAS_POFCON" is not defined, evaluates to 0 [-Werror=undef]
if NRF_REGULATORS_HAS_POFCON
In file included from lib/nrfx/drivers/include/nrfx_power.h:40:0, from src/main.c:43: lib/nrfx/drivers/include/nrfx_power_compat.h:49:5: error: "NRF_REGULATORS_HAS_POFCON" is not defined, evaluates to 0 [-Werror=undef]
if NRF_REGULATORS_HAS_POFCON
ccoommppiillaattiioonn tteerrmmiinnaatteedd dduuee ttoo --WWffaattaall--eerrrroorrss..
How to reproduce ?
I use make BOARD=feather_nrf52840_express all
Debug Log
No response
Screenshots
No response