Files
STMRepo/README.md

784 B

STM32CubeIDE Workspace

So far:

  • MyNewProject - blinking lights
  • Calculator - broken, replaced by Calc2
  • Calc2 - hold two buttons and get a light
  • TrafficLightsPlus - Bound to be unholy breadboard mess
  • TrafficLightsPlusPlus - I guess we doin C++ now

todo

  • light dimmer

Notes

Changes to generated code

After generating Core/Src/main.c in any project, we have typically had to comment the following lines out:

osThreadDef(defaultTask, startDefaultTask, osPriorityNormal, 0, 4096);
defaultTaskHandle = osThreadCreate(osThread(defaultTask), NULL);
osKernelStart();

These are related to RTOS, but more importantly, they prevent while (1) (user generated code loop) from running immediately like we usually want.


not for release