NimBLE-Arduino icon indicating copy to clipboard operation
NimBLE-Arduino copied to clipboard

Error While Compiling for adafruit_feather_nrf52832

Open muhdRiz07 opened this issue 3 years ago • 1 comments

I modified the platform.ini file as per the instruction given in readme.md file but giving error 'board_bootloader to be specified'.(refer screenshot 1 & 2) when i add board_bootloader = adafruit it's giving library error(screen shot 3 & 4) Screenshot1 Screenshot2 Screenshot3 Screenshot4 board:adafruit_feather_nrf52832 ide: platformio

muhdRiz07 avatar Sep 16 '22 10:09 muhdRiz07

Hi @muhdRiz07, the problem here is cause by the line board_build.mcu = nrf52832. You do not need to specify this as it's defined in the board by the platform. However, if you want to define it the correct way is board_build.mcu = nrf52832_xxaa, the reason is this value is used to set a compile flag.

Note that adafruit boards require specifying the bootloader to use, if you're not using one you should set board_bootloader = none

h2zero avatar Sep 17 '22 14:09 h2zero

Hi @h2zero, now it's working,Thanks for the support.

muhdRiz07 avatar Sep 22 '22 10:09 muhdRiz07