- Notifications
You must be signed in to change notification settings - Fork3
attdona/riot-code
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A Multi Platform plugin for RIOT-OS based projects.
Just be sure RIOT build successfully:
riot.build_dir> make BOARD=your-board # for example riot.build_dir = ~RIOT/example/hello-world
C/C++ for Visual Studio Code is a required extension.
native
is the defaultboard
andexamples/hello-world
is the default build directory.
To change these properties:
- open Settings (keyboard
Ctrl+,
or menuFile->Preferences->Settings
) and searchRIOT-OS
section - modify
riot.board
andriot.build_dir
with your values. - set
compiler
value. The currently tested cross compilers are:arm-none-eabi-gcc
msp430-gcc
PressF1
orCtrl+Shift+P
and run the commandRIOT init
to create both the project configuration and the three tasks:
- build:app_name
- clean:app_name
- flash:app_name
whereapp_name is the directory basename ofriot.build_dir
.
SelectTasks->Run Tasks
to run the tasks.
NOTE: Starting with version 1.0.0c_cpp_properties.json
isNOT MORE automatically adjusted if you changeriot.board
or/andriot.build_dir
:You need to runRIOT init
command.