Hello,
I would like to experiment s120 on the evaluation board. There are some examples but in nrf51/nrf51822/Board/nrf6310/s120/experimental. Can I use it ? Or is there something better elsewhere ? Thanks, Olivier
Hello,
I would like to experiment s120 on the evaluation board. There are some examples but in nrf51/nrf51822/Board/nrf6310/s120/experimental. Can I use it ? Or is there something better elsewhere ? Thanks, Olivier
You can use them, as there is no difference in the chip itself, but you may have to redefine PIN and LED usage, since the Evaluation kit have only 2 LEDs and buttons, while the Development Kit + Starter Kit have 8 LEDs and 8 buttons.
Changing the BOARD_-define in the target options should be a good start.
Edit 1: I just tested this, and attached is a working ble_app_hrs_c for PCA10001. It seems there is a bug in main, in that it includes nrf6310.h directly instead of boards.h, but apart from that, no modifications were needed.
Edit 2: Added a Makefile that works with the pure-gcc toolchain. Beware that the nRF6350 files apparently use upper-case names. I'd recommend lower-casing them manually on platforms where this matters. See in Include/ext_sensors and Source/ext_sensors/nRF6350/.
You can use them, as there is no difference in the chip itself, but you may have to redefine PIN and LED usage, since the Evaluation kit have only 2 LEDs and buttons, while the Development Kit + Starter Kit have 8 LEDs and 8 buttons.
Changing the BOARD_-define in the target options should be a good start.
Edit 1: I just tested this, and attached is a working ble_app_hrs_c for PCA10001. It seems there is a bug in main, in that it includes nrf6310.h directly instead of boards.h, but apart from that, no modifications were needed.
Edit 2: Added a Makefile that works with the pure-gcc toolchain. Beware that the nRF6350 files apparently use upper-case names. I'd recommend lower-casing them manually on platforms where this matters. See in Include/ext_sensors and Source/ext_sensors/nRF6350/.