Re: Flashing NRF using pyOCD
Posted: Sun Jan 05, 2020 1:33 pm
I also tried adding the port enable code here, and did a fresh clone of the entire build and re-built again, but still nothing at all:
Code: Select all
// Main script is finished, so now go into REPL mode.
// The REPL mode can change, or it can request a soft reset.
int ret_code = 0;
//PAC P0.10 LED On
nrf_gpio_cfg_output(10);
nrf_gpio_pin_set(10);
#if MICROPY_PY_BLE_NUS
ble_uart_init0();
#endif