Working with Simplicity Studio and Keil compiler can be frustrating sometimes. Most of the issues encountered were difficult to solve because the error messages given by the Keil compiler were very confusing. Thus, I will post here the most common issues that I've came across in the hope it will help others and perhaps me in the future.
Contents
- Keil Error Messages
- missing ';' before
- left side of asn-op not an lvalue
- syntax error near 'data type', expected '__asm'
- syntax error near '=', expected 'id'
- Keil no error issues
- Simplicity Studio Shortcuts
- Simplicity Studio 5 Tutorial
Keil Error Messages
A list of Keil error codes and their description can be found here: https://developer.arm.com/documentation/101655/0961/Cx51-User-s-Guide/Error-Messages/Errors-and-Warnings/Reference. However, below are scenarios in which the error message and the cause are not related. For example when actually missing a ';' the error message is: syntax error near 'token', expected ';' but when something is not defined because an include file is missing, the error message is: missing ';' before.