Open zpm1066 opened 2 years ago
The nRF51 variant json file for Generic_nRF51822 is missing in /.platformio/platforms/nordicnrf51/boards.
nRF51
Generic_nRF51822
/.platformio/platforms/nordicnrf51/boards
I have verified that the following generic.json works fine with nRF51822 (and nRF51802) boards.
generic.json
nRF51822
nRF51802
{ "build": { "arduino":{ "ldscript": "nrf51_xxaa.ld" }, "core": "nRF5", "cpu": "cortex-m0", "extra_flags": "-DARDUINO_BBC_MICROBIT -DUSE_LFRC", "f_cpu": "16000000L", "mcu": "nrf51822", "variant": "Generic", "zephyr": { "variant": "generic_nrf51" } }, "connectivity": [ "bluetooth" ], "debug": { "onboard_tools": [ "jlink" ], "svd_path": "nrf51.svd", "jlink_device": "nRF51822_xxAA" }, "frameworks": [ "arduino", "mbed", "zephyr" ], "name": "Generic nRF51", "upload": { "maximum_ram_size": 16384, "maximum_size": 262144, "protocol": "jlink", "protocols": [ "cmsis-dap", "mbed", "jlink" ] }, "url": "https://www.nordicsemi.com/Products/nRF51822", "vendor": "Nordic" }
Please review and update the repo.
The
nRF51
variant json file forGeneric_nRF51822
is missing in/.platformio/platforms/nordicnrf51/boards
.I have verified that the following
generic.json
works fine withnRF51822
(andnRF51802
) boards.Please review and update the repo.