TR-mbed 1.0
|
Table of Contents |
---|
Prerequisites |
Setup |
Flashing |
Troubleshooting |
Documentation |
We have setup guides for the major operating systems.
CMake
project. This should only be done once per project, or after editing any CMakeLists.txt
:Viable targets for build are: TR-Engineer
, TR-Infantry
, TR-Sentry
, TR-Hero
, and TR-TestBench
Note: Go to the Embed Discord and search up makefile. After you find it, download it and upload it to your local TR-Embed folder. Most likely your computer will not work with E drive, to which you have to change it to D in the makefile. If you have problems with this, contact a embed member or the team lead.
After completing all of this you can make and flash your code to the nucleo using make testbench
, make hero
, make infantry
, and make sentry
. You should see a block with many numbers when the code is flashed. If you see a red text regarding "missing embed-tools" it is likely becuase you don't have the serial monitor downloaded which is not required to make and flash code.
Locate the generated executable:
eg. The built executable for TestBench will be present in cmake-build-debug/robots/TestBench/TR-TestBench.elf
For flashing device in WSL, see the WSL guide.
See the Troubleshooting guide for common issues and solutions.
See the Debugging guide on how to run the debugger using STM32CubeIDE
See our generated doxygen.