• Documentation
  • PlatformIO
  • v5.1.1
PlatformIO
v5.1.1
  • What is PlatformIO?

Getting Started

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

Configuration

  • platformio.ini
  • Environment variables
  • Advanced Scripting

Instruments

  • Library Management
  • Platforms
  • Frameworks
  • Boards
    • Aceinna IMU
    • ASR Microelectronics ASR650x
    • Atmel AVR
    • Atmel megaAVR
    • Atmel SAM
    • CHIPS Alliance
    • Espressif 32
    • Espressif 8266
    • Freescale Kinetis
    • GigaDevice GD32V
    • 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
    • Nuclei
    • NXP i.MX RT
    • NXP LPC
    • RISC-V GAP
    • Shakti
    • SiFive
    • Silicon Labs EFM32
    • ST STM32
    • ST STM8
    • Teensy
    • TI MSP430
    • TI TIVA
    • WIZNet W7500
  • Custom Platform & Board

Professional

  • Debugging
  • Unit Testing
  • Static Code Analysis
  • Remote Development
  • PlatformIO Account

Integration

  • Cloud & Desktop IDE
  • Continuous Integration
  • Compilation database compile_commands.json

Miscellaneous

  • Articles about us
  • FAQ
  • Migrating from 4.x to 5.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¶

Debugging - “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

Arm Mbed OS is an open source embedded operating system designed specifically for the ‘things’ in the Internet of Things. It includes all the features you need to develop a connected product based on an Arm Cortex-M microcontroller, including security, connectivity, an RTOS and drivers for sensors and I/O devices