Closed CSC-Sendance closed 2 years ago
can you confirm if this issue occur with Arduino IDE. In general, we don't support PIO since we don't use it. If Arduino works then it is only a matter of PIO configure missing
This issue does, in fact, not appear with the ArduinoIDE.
I also tried removing the folder C:\.platformio\packages\framework-arduinoadafruitnrf52
to force a redownload of the library, and also 'C:.platformio\platforms\nordicnrf52'. However, the build result are the same. So it really seems that the most up-to-date configs for platformio are buggy for the nrf52832?
Thanks for your help!
edit:
While there exists a boards definition in C:\.platformio\platforms\nordicnrf52\boards
, no "main" header file is defined for the nrf52832 in C:\.platformio\packages\framework-arduinoadafruitnrf52\cores\nRF5\nordic\nrfx\mdk
, only a nrf52832_peripherals.h
(while all others have a
edit:
While there exists a boards definition in C:\.platformio\platforms\nordicnrf52\boards
, no "main" header file is defined for the nrf52832 in C:\.platformio\packages\framework-arduinoadafruitnrf52\cores\nRF5\nordic\nrfx\mdk
, only a nrf52832_peripherals.h
(while all others have a
since it works with Arduino IDE, it is probably issue with PIO configuration. Unfortunately, I don't use PIO and have no idea how its configuration works, therefore couldn't help you at all with this. I think you are best to post this issue on PIO forum, there is lots of people could help you there.
Thanks, I did so in the PIO forum and an active contributor the the nordic pio platform support found that it may be an issue with a missing library.json restricting/optimizing the LDF, see: https://community.platformio.org/t/build-for-nrf53832-feather-suddenly-fails-when-including-bluefruit-h-error-cryptocell-cc310-not-supported/28663/3
resolved.
Operating System
Windows 10
IDE version
PlatformIO Core 6.1.0 Home 3.4.2
Board
nRF52832 Bluefruit Feather
BSP version
release
Sketch
What happened ?
Building a platformio project aiming with adafruit_feather_nrf52832 as target board, nordicnrf52 platform, and arduino framework , suddenly fails with a message. This was not the case yesterday and also isn't on colleague's PCs.
#error CryptoCell CC310 is not supported on this board
on compiling, when includingThis part from Adafruit_nRFCrypto.cpp causes this message: `// Only nRF52840 has CC310
ifndef NRF_CRYPTOCELL
error CryptoCell CC310 is not supported on this board
endif`
NRF_CRYPTOCELL is defined in nrf52840.h (there also appears to be no nrf52832.h) .
I would guess that this may be caused by an automatic version bump of some library but haven't found any particularly recent releases or changes in, e.g. the nrfCrypto library.
How to reproduce ?
#include bluefruit.h
in main.cppDebug Log
Screenshots
No response