Skip to content
Georgi Angelov edited this page Aug 17, 2021 · 27 revisions

Welcome to the wizio-cc wiki ( the WIKI will be updated later, now is basic "help" )

Install from "zero"

NOTE: The platform is installed from here ( GIT ), so, If I make changes, you need re-install platform with news

Create Project

SDK or Arduino - New Project

PlatformIO -> Home -> New

  • Enter Project Name
  • Board search 'CC2652' boards
  • Select SDK or Arduino
  • CREATE
  • now, Click BUILD and you will have basic project ( from template )

NOTE: SDK framework can support basic C++ ... need linker script, __init_arrays() parts and memory support ...

just rename main.c to main.cpp

Upload / Debug

The platform will support J-LINK + OpenOCD - soon... ( need to change SEGGER driver )

For now - Open SEGGER J-FLASH, load HEX, Clear[F4], Update[F6], Run[F9]

HEX file exist in PIO-PROJECT-PATH/Projects/PROJECT-NAME/.pio/build

youtube demo

JTAG - GND, TDO, TDI, TMS, TCK

NOTE: Can support internal ROM serial boot-loader - later...

NOTE: Upload temporarily solution

Project INI

[env:CC2652]
platform = wizio-cc
board = CC2652
framework = sdk

monitor_port = COM34
monitor_speed = 115200

;board_build.linker = $PROJECT_DIR/custom.ld ; change default SDK linker script

build_flags = ; look PlatformIO documentation
    ;-D some_key
    ;-l some_lib
    ;-L ... etc

PlatformIO Documentation

Port for Arduino IDE - later....