-
Notifications
You must be signed in to change notification settings - Fork 0
PlatformIO Project
Manuel Cerqueira da Silva edited this page Oct 29, 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/pio_project 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 in VS Code wiki page)
- Use code auto-format (enabled in this VS Code project workspace)
- Use TODO Tree extension properly (more about TODO Tree in VS Code wiki page)
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
;##########################################################
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