Home
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 VSCode
- Install PlatfromIO ( and git )
- Install this platform:
-
- PlatformIO Home > Platforms > Advanced Installation
-
- INSTALL
NOTE: The platform is installed from here ( GIT ), so, If I make changes, you need re-install platform with news
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
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
JTAG - GND, TDO, TDI, TMS, TCK
NOTE: Can support internal ROM serial boot-loader - later...
NOTE: Upload temporarily solution
- [ on Windows ] copy JLinkARM.dll to C:/Windows ... click [ PIO Upload ]
- [ on Linux ] https://github.com/square/pylink#on-linux [ PIO Upload ]
- [ on Mac ] https://github.com/square/pylink#on-mac [ PIO Upload ]
[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