• Documentation
  • PlatformIO
  • v4.0.3
PlatformIO
v4.0.3
  • What is PlatformIO?

Getting Started

  • PlatformIO IDE
  • PlatformIO Core (CLI)
  • PlatformIO Home
  • Tutorials and Examples

Configuration

  • platformio.ini
  • Environment variables
  • Advanced Scripting

Instruments

  • Library Manager
  • Platforms
  • Frameworks
  • Boards
    • Aceinna IMU
    • Atmel AVR
    • Atmel SAM
    • Espressif 32
    • Espressif 8266
    • Freescale Kinetis
    • Infineon XMC
    • Intel ARC32
    • Intel MCS-51 (8051)
    • Kendryte K210
    • Lattice iCE40
    • Linux ARM
    • Maxim 32
    • Microchip PIC32
    • Nordic nRF51
      • BBC micro:bit
      • BluzDK
      • Calliope mini
      • Delta DFCM-NNN40
      • Delta DFCM-NNN50
      • JKSoft Wallbot BLE
      • Nordic Beacon Kit (PCA20006)
      • Nordic nRF51 Dongle (PCA10031)
      • Nordic nRF51822-mKIT
      • Nordic nRF51X22 Development Kit(PCA1000X)
      • OSHChip
      • RedBearLab BLE Nano 1.5
      • RedBearLab nRF51822
      • Seeed Arch BLE
      • Seeed Arch Link
        • Hardware
        • Configuration
        • Uploading
        • Debugging
        • Frameworks
      • Seeed Tiny BLE
      • Sino:Bit
      • Switch Science mbed HRM1017
      • Switch Science mbed TY51822r3
      • VNG VBLUNO51
      • Waveshare BLE400
      • ng-beacon
      • y5 nRF51822 mbug
    • Nordic nRF52
    • NXP LPC
    • RISC-V GAP
    • Samsung ARTIK
    • SiFive
    • Silicon Labs EFM32
    • ST STM32
    • ST STM8
    • Teensy
    • TI MSP430
    • TI TIVA
    • WIZNet W7500
  • Custom Platform & Board

PIO Plus

  • PIO Account
  • PIO Remote
  • PIO Unified Debugger
  • PIO Unit Testing

Integration

  • Cloud & Desktop IDE
  • Continuous Integration

Miscellaneous

  • Articles about us
  • FAQ
  • Migrating from 3.x to 4.0

Seeed Arch Link¶

Contents

  • Seeed Arch Link

    • Hardware

    • Configuration

    • Uploading

    • Debugging

    • Frameworks

Hardware¶

Platform Nordic nRF51: The Nordic nRF51 Series is a family of highly flexible, multi-protocol, system-on-chip (SoC) devices for ultra-low power wireless applications. nRF51 Series devices support a range of protocol stacks including Bluetooth Smart (previously called Bluetooth low energy), ANT and proprietary 2.4GHz protocols such as Gazell.

Microcontroller

NRF51822

Frequency

16MHz

Flash

256KB

RAM

16KB

Vendor

SeeedStudio

Configuration¶

Please use seeedArchLink ID for board option in “platformio.ini” (Project Configuration File):

[env:seeedArchLink]
platform = nordicnrf51
board = seeedArchLink

You can override default Seeed Arch Link settings per build environment using board_*** option, where *** is a JSON object path from board manifest seeedArchLink.json. For example, board_build.mcu, board_build.f_cpu, etc.

[env:seeedArchLink]
platform = nordicnrf51
board = seeedArchLink

; change microcontroller
board_build.mcu = nrf51822

; change MCU frequency
board_build.f_cpu = 16000000L

Uploading¶

Seeed Arch Link supports the next uploading protocols:

  • blackmagic

  • cmsis-dap

  • jlink

  • mbed

  • nrfjprog

  • stlink

Default protocol is cmsis-dap

You can change upload protocol using upload_protocol option:

[env:seeedArchLink]
platform = nordicnrf51
board = seeedArchLink

upload_protocol = cmsis-dap

Debugging¶

PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.

Warning

You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions and configuration information.

You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).

Seeed Arch Link has on-board debug probe and IS READY for debugging. You don’t need to use/buy external debug probe.

Compatible Tools

On-board

Default

Black Magic Probe

CMSIS-DAP

Yes

Yes

J-LINK

ST-LINK

Frameworks¶

Name

Description

mbed

The mbed framework The mbed SDK has been designed to provide enough hardware abstraction to be intuitive and concise, yet powerful enough to build complex projects. It is built on the low-level ARM CMSIS APIs, allowing you to code down to the metal if needed. In addition to RTOS, USB and Networking libraries, a cookbook of hundreds of reusable peripheral and module libraries have been built on top of the SDK by the mbed Developer Community.