Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To do Lakshay Gupta :

  • Add how to get startup scripts
  • Add how to get Makefile
  • Add how to get CMSIS stuff

ST has developed several tools for writing STM code quickly. The main example is autogenerated code via STMCubeMX, which lets you select which chip or board you're using, the clock, and pin configurations. CubeMX can then autogenerate the init functions and clock configurations for your project. You can even generate it with FreeRTOS! However, autogenerated code can be hard to read and can be very hard to modify. We'd mostly use generating code for reference, quick hardware testing, and getting the HAL libraries for a chip.

...