This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PlatformIO: Nordic nRF51/52 dev/platform is out!

PlatformIO team is pleased to announce the release of Nordic nRF51/52 development platform. This release introduces many new features and performance improvements. The notable changes are as follows:

  • Add support for BlackMagic, J-Link, ST-Link external tools for debugging and programming using PIO Unified Debugger
  • Add support for official "nrfjprog" program tool (issue #17)
  • Allow declaring of a custom programming tool
  • Allow overriding of PROGNAME (custom firmware name)
  • Update Arduino nRF5 core to 0.4.0
  • Update ARM mbed framework to 5.7.3

We would be thankful for any feedback!


We recommend PlatformIO IDE for VSCode for better experience

Parents
  • I have the following tools:

    nRF52-DK
    VS Code v1.42.1
    PlatformIO v3.1.0

    My simple project is unable to communicate with the nRF52 board through the debugger.
    Here is some build output. Note the reference to "NRF52832"


    Processing nrf52_dk (platform: nordicnrf52; board: nrf52_dk; framework: mbed)
    Verbose mode can be enabled via `-v, --verbose` option
    CONFIGURATION: docs.platformio.org/.../nrf52_dk.html
    PLATFORM: Nordic nRF52 4.0.0 > Nordic nRF52-DK
    HARDWARE: NRF52832 64MHz, 64KB RAM, 512KB Flash

    Is there a tutorial on getting started? Do I have an incorrect project setting?

    [env:nrf52_dk]
    platform = nordicnrf52
    framework = mbed
    board = nrf52_dk
    I'm getting:
    Failed to launch GDB: .pioinit:13: Error in sourced command file:
    Remote communication error. Target disconnected.: Success.
Reply
  • I have the following tools:

    nRF52-DK
    VS Code v1.42.1
    PlatformIO v3.1.0

    My simple project is unable to communicate with the nRF52 board through the debugger.
    Here is some build output. Note the reference to "NRF52832"


    Processing nrf52_dk (platform: nordicnrf52; board: nrf52_dk; framework: mbed)
    Verbose mode can be enabled via `-v, --verbose` option
    CONFIGURATION: docs.platformio.org/.../nrf52_dk.html
    PLATFORM: Nordic nRF52 4.0.0 > Nordic nRF52-DK
    HARDWARE: NRF52832 64MHz, 64KB RAM, 512KB Flash

    Is there a tutorial on getting started? Do I have an incorrect project setting?

    [env:nrf52_dk]
    platform = nordicnrf52
    framework = mbed
    board = nrf52_dk
    I'm getting:
    Failed to launch GDB: .pioinit:13: Error in sourced command file:
    Remote communication error. Target disconnected.: Success.
Children
Related