Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 990 Bytes

readme.md

File metadata and controls

21 lines (14 loc) · 990 Bytes

AVR Testing & Benchmarking

Libdivide test & benchmarking for embedded microcontrollers. E.g. AtMega2560.

Getting Started

  1. Install vscode & platformIO
  2. Open libdivide/avr_test.code-workspace in vscode (File -> Open Workspace)
  3. Wait for the PlatformIO extension to start

Running the Test program

The test program is in the 'megaatmega2560_Test' environment.

To run the test program in a simulator:

  1. On the activity bar, select PlatformIO
  2. Run Project Tasks -> megaatmega2560_Test -> Custom -> Simulate a. This will build the test program & launch it in the simulator (this might download )supporting packages) b. NOTE Once running it can take a long time for ouput to appear in the terminal. Be patient
    • Or copy the simavr command line from the terminal to a command prompt (or another vscode terminal)