-
Notifications
You must be signed in to change notification settings - Fork 0
PlatformIO Project
ManelMCCS edited this page Sep 8, 2022
·
4 revisions
TODO: explain how to use the todo extension TODO: create another README for the physical configurations and connections of the robot
- First check the main project README.md file.
- Open nemo/nemo_pio folder in VS Code.
- Do not modify
main.cpp
, usemain_test.cpp
instead for testing. - Use
platformio.ini
for mode configuration (more about .ini file) - Use proper documentation (more about documentation)
- Use code auto-format (enabled in this VS Code project workspace)
- Use TODO Tree extension properly (more about TODO Tree)
FIXME update this
If you want to build or upload a specific mode use release in build type, for testing use test in build type Changing here the configuration implies rebuilding the project, for small changes, like activating or deactivating the debug, go to nemo_libs/nemo_global_macros.h
;##########################################################
[nemo_configuration]
current_mode = rc_nemo
; Available modes: rc_nemo, raf4_0
baud_rate = 115200
build_type = test
; test/release
;##########################################################
- Install https://github.com/cschlosser/doxdocgen#templates extension
- Before function declaration or after creating a new file for auto-complete doxygen commands type
/**
, and pressEnter
Setting up wifi (deprecated):
Put your wifi credentials here: src/udp_client/wifi_credentials_private.h
in terminal: linux: ipconfig -> ipv4 add to setup.h windows: ifconfig -> inet
Software Hardware