mysensors / ArduinoHwNRF5

Arduino hardware definitions for nRF5 platform
9 stars 8 forks source link

MyBoardNRF5 nRF52832 + SoftDevice 132 error #6

Open dots123 opened 6 years ago

dots123 commented 6 years ago

I use a NRF52832 module with P0.01 as SDA and P0.05 as SCL. After I've installed https://github.com/mysensors/ArduinoBoards I got an error: The current selected board needs the core 'sandeepmistry:nRF5' that is not installed. (even if it was installed!). I've solved this by adding in the Arduino's Preferences Board Manager URL space both URL packages: https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json https://raw.githubusercontent.com/mysensors/ArduinoBoards/master/package_mysensors.org_index.json And it works.

Now when I change pins in MyBoardNRF.h and compile with MyBoardNRF5 NRF52832 board, RC Oscillator and without SoftDevice, I manage to read my accelerator connected on SCL and SDA. But When I select from Tools > Softdevice 132 I get this error:

In file included from C:\Users\Calc\AppData\Local\Arduino15\packages\sandeepmistry\hardware\nRF5\0.5.1\cores\nRF5/delay.h:30:0,

                 from C:\Users\Calc\AppData\Local\Arduino15\packages\sandeepmistry\hardware\nRF5\0.5.1\cores\nRF5/Arduino.h:53,

                 from sketch\Blinky_accel.ino.cpp:1:

C:\Users\Calc\AppData\Local\Arduino15\packages\MySensors\hardware\nRF5\0.3.0\variants\MyBoardNRF5/variant.h:119:32: fatal error: sketch/MyBoardNRF5.h: No such file or directory

compilation terminated.

exit status 1
Error compiling for board MyBoardNRF5 nRF52832.

Any ideas why?

vanhcm20 commented 2 years ago

Hi @dots123 Have a nice day. I have the same error, did you fix it? and you can upload the sketch to MCU?

pepassaco commented 1 year ago

Same error here, unfortunately. No able to fix it.