This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
resources:eval:user-guides:eval-ad5940:tools:keil_setup_guide [08 Dec 2021 11:36] – Added note to also download the ad5940lib submodule Matthias Luh | resources:eval:user-guides:eval-ad5940:tools:keil_setup_guide [08 Dec 2021 12:39] – Added note on how to flash/debug if the flash loader is corrupted (happens when coming pack from the SensorPal method) Matthias Luh | ||
---|---|---|---|
Line 29: | Line 29: | ||
- Modify code as required. | - Modify code as required. | ||
- To compile and build the project go to **Project-> | - To compile and build the project go to **Project-> | ||
+ | - If you see build errors like 'Fatal Error[Pe1696]: | ||
+ | * Click Menu > Project > Options > C/C++ Compiler > Preprocessor > Additional include directories (click on the three dots on the right) | ||
+ | * Click on '< | ||
+ | * Find the file on your computer and add it, e.g. navigate to (and then select): ' | ||
+ | * Click OK twice, then Menu > Project > Clean | ||
+ | * Click Menu > Project > Rebuild All | ||
- To download the code to the evaluation boards first ensure the boards are connected to the PC or laptop. Then click on the red icon in the toolbar to download the source code and begin the debugging session. {{ : | - To download the code to the evaluation boards first ensure the boards are connected to the PC or laptop. Then click on the red icon in the toolbar to download the source code and begin the debugging session. {{ : | ||
- To set breakpoints click to the left of the line of code. A red dot will appear as in below screenshot. | - To set breakpoints click to the left of the line of code. A red dot will appear as in below screenshot. | ||
- To begin executing press the " | - To begin executing press the " | ||
+ | - Hint: If downloading the code didn't work because of an error like this: ' | ||
+ | * Try this method instead: https:// | ||
+ | * If your board doesn' | ||