C Compiler Setup - GaryA/antweight-esc GitHub Wiki
For Silicon Labs 8051 microcontrollers, Simplicity Studio provides a free Eclipse-based IDE and Keil uVision compiler. The only downside of the Silicon Labs tools is that they assume that the only development system is the ToolStick. However, the Keil compiler includes a fine simulator rendering the ToolStick unnecessary. Of course, if you have a ToolStick you can use it!
The upside is that Keil uVision is pretty much an IDE in its own right, and provides access to the simulator. For this reason, this project is set up as a uVision project with a simulation target in addition to generic and board-specific targets.
In order for the uVision project file to work, it does require the Keil compiler to be installed at the root of the C:\ drive, so the compiler binaries reside at C:\Keil\C51\BIN. This is the default location for the Keil tools to install themselves to.
When the project file is opened, it includes all the source files, targets and compiler settings. The code should build for any of the configured targets "out of the box".
In summary:
- Download and install Simplicity Studio
- Ensure the Keil tools are installed in C:\Keil\
- Follow the Silicon Labs instructions to obtain a license for the Keil tools
- Open the AntweightESC.uvproj project file in uVision