This Repo aims to ease compilation and deployment code to STM32 boards. Most of the projects are oriented towards its use in Robomaster Competition.
If you would like to use this repo, you'll need:
- Ubuntu host
- Git
- VSCode
- GNU-ARM toolchain (Optional)
- CubeMx (Optional)
-
If you're on Ubuntu, first run the following:
sudo apt install -y git git clone https://github.com/RobomasterOwltech/deployTools.git code deployTools -
When VS prompts if you want to install the recommended extensions, select
Install, so your VS Code env is ready to go.
-
Run the first script. Don't forget to make sure it is has executable permissions!
sudo bash initialSetup/runMeUbuntu.sh -
Then, register the created ssh keys to your Github account.
-
Ctrl+Shift+P-> will open the command palette.- From the command palette you can run tasks.
- From here select the tasks to build the development container
-
Continue cloning all the repos you need.
-
Download the gnu-arm-none-eabi toolchain form Developer Arm GNU Toolchains
-
After that, run
sudo bash initialSetup/setUpCrossCompiler.sh -
(Optional) Download CubeMx
sudo bash initialSetup/setUpCubeMx.sh
- Docker
- Some VS Code extensions
- screen
TODO:
- Why is this the repo structure
- What each folder does
- How to run a task
- Configure Docker to do the complete installation of the tools
Contains DockerFiles to make containerized development. Tho most tools will be installed locally, the compilation needs to be the same across all team members, so to keep it standarized it must be done through the container.
Contains a series of bash scripts that aim to facilitate the installation of the tools you'll be using.
Contains configuration files to ease development for your projects. IT achieves so in two ways, tasks, which are a number of small automations. Standard extentions, to make sure evryone has whats required to make clean code on this and other repos easier.
TBDone