Hi!
I am in the process of creating firmware for a product based in nRF52 because the firmware that comes with it does not fit my needs. So I am in the begining of the process.
For now I am trying to just blink LEDS. I am using RF5_SDK_12.3.0 and the following program resulting from modification of standard blink example (peripheral folder):
#include <stdbool.h>
#include <stdint.h>
#include "nrf_delay.h"
#include "boards.h"
int main(void)
{
nrf_gpio_cfg_output(17);
nrf_gpio_cfg_output(19);
// LED 0 and LED 1 blink alternately.
while (true)
{
nrf_gpio_pin_set(17);
nrf_gpio_pin_set(19);
nrf_delay_us(1000000);
nrf_gpio_pin_clear(17);
nrf_gpio_pin_clear(19);
nrf_delay_us(1000000);
}
}
I know that that it is too tied to final board (pin numbers etc) but for now I just want to know better the product board
My question is:
If I build the (new) blinky sample in the blank branch it works in the target board. If I build blinky in the s130 folder branch leds do not blick.
Please, could you tell me the difference between branch branch and s130 branch?
I thought it was "without softdevice" and "with softdevice" but the hex file I burn in the board is more or less the same size (+- 2kbyte) so It seems that t does not have nothing to do with softdevice, right?
Thanks
Alex