Hello,
I want to store some data(coming from the ADC) in flash for nrf51822.
is it possible?
have you any example to show me?
Thanks a lot and best regards
Angelo
Hello,
I want to store some data(coming from the ADC) in flash for nrf51822.
is it possible?
have you any example to show me?
Thanks a lot and best regards
Angelo
Hello,
with zephyr you can try this sample https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/subsys/nvs
Prego! Noc c'è di che!
Remember to define the storage partition if you use a board without this definition, you will need something like:
storage_partition: partition@3e000 { //The name needs to be "storage" label = "storage"; reg = <0x0003e000 0x00002000>; };
Best regards,
Marcelo Aleks
Prego! Noc c'è di che!
Remember to define the storage partition if you use a board without this definition, you will need something like:
storage_partition: partition@3e000 { //The name needs to be "storage" label = "storage"; reg = <0x0003e000 0x00002000>; };
Best regards,
Marcelo Aleks
Hello,
are you italian? :-)
regarding the code above, I am using the following board to develop my application:
https://www.waveshare.com/nrf51822-eval-kit.htm
As sw I am using keil v5 and softdevice 130.
Can I write your code in the main.c code?
Thansk a lot
No I'm not, but i've already worked in Italy for 3 years and you have typically Italian name.
Your board (ble400) was already configured for zephyr, so you will not use nordic softdevice, but a similar code part of zephyr bluetooth subsys.
Please, take a look at:
1. https://github.com/zephyrproject-rtos/zephyr
2. https://docs.zephyrproject.org/latest/
3. Nordic has adopted zephyr as its new framework, so:
a) http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html
b) https://github.com/NordicPlayground/fw-nrfconnect-nrf
In bocca al lupo,
Marcelo Aleks
Hi Marcelo
Yes I am italian :-)
thank a lot for the information. I will check the new file and I hope to move my code from Softdevice to zephyr. But I think can use also the softdevice. Correct?
Grazie
Angelo