Hello,
what do I have to change in a existing project for a nrf6310 board to use the same project for a pca10001 board?
Thanks for your help
Hello,
what do I have to change in a existing project for a nrf6310 board to use the same project for a pca10001 board?
Thanks for your help
The only thing that is different from PCA10001 and the nRF6310 board is the number of buttons and LEDs. Since the PCA10001 only has two buttons and LEDs, and most examples have >2 buttons/LEDs, you will have to do some manual editing to make it work.
First thing to do is to change the board define "BOARD_NRF6310" to "BOARD_PCA10001". Then change the number of buttons/LEDs to not exceed the number available on the PCA10001.
Best regards Håkon
First thing to do is to change the board define "BOARD_NRF6310" to "BOARD_PCA10001".
thank you for the quick answer. It was very helpful - but where do i find the "BOARD_NRF6310" definition?
I used the search funktion (whole project) and did not get a result that was useful.
That should be under "Options for Target 'myproject'" -> C/C++ tab -> Under the field "Define:".
Thanks alot. That was exactly what I was looking for :)
remember to rebuild the project after changing the board definition.