Skip to main content

Getting started

components/arm_board folder contains 3 libraries:
  • firmware
  • movement
  • simulink

TheFirmware arm_boardcontains the generated CubeMX code. You do not need to touch this after generating.

#!/bin/NOTE: do make sure that after generating your code in CubeMX, you run the post generation script. You can set a post generation script in CubeMX itself. However, if you use Windows you may need to run the bash RED='\033[0;31m'script NC='\033[0m'manually. #This Noscript Colorcan setbe -efound echoin scripts/post_code_generation.bash.

Movement is currently the only "Startingreal" build.library that is written by hand. It contains the source code for controlling stepper motors. The rest of the pages in this chapter will be detailing the contents of this library.."

cd


build
In cmakesrc/arm_board .there is main.c

This is the code that will be ran when building and uploading using pio. Main should contain some multithreading for running separate tasks. cmake

--build


.


echo


-e "${GREEN}Success! Running project...${NC}"