Versions Compared

Key

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

...

DMA Configuration

...

NVIC Settings

...

Getting Code Running

Add these lines of your code to main.cpp.

...

  1. Build using CMAKE with the appropriate command. Building inside STM32CubeIDE will give errors.

  2. When flashing, go to debug configurations and change the C/C++ Application to point to ZeroPilot.elf

  3. Also, select the “Disable auto build” option.

...

Troubleshooting

If all the values do not change and have a value of 1000 even when you move the controller, your ioc is probably not configured correctly. Otherwise, unplug and replug the tracer.

...