Libdivide test & benchmarking for embedded microcontrollers. E.g. AtMega2560.
- Install vscode & platformIO
- Open
libdivide/avr_test.code-workspace
in vscode (File -> Open Workspace) - Wait for the PlatformIO extension to start
The test program is the 'megaatmega2560_sim_unittest' environment.
To run the test program in a simulator (no hardware required!):
- On the activity bar, select PlatformIO
- Run Project Tasks -> megaatmega2560_sim_unittest -> Advanced -> Test
- This will build the test program & launch it in the simulator (this might download supporting packages)
- NOTE Once running it can take a long time for ouput to appear in the terminal. Be patient