- VS Code
- Onethinx Dependencies Pack
- Install VS Code.
- Install extensions:
- ARM Support For Visual Studio Code (dan-c-underwood)
- C/C++ IntelliSense, debugging (microsoft)
- CMake language support (twxs)
- CMake Tools (microsoft)
- Cortex-Debug GDB support (marus25)
- Power Tools (e.GO Mobile)
- LinkerScript support for GNU (Zixuan Wang)
- Open in Application (Fabio Spampinato)
- Output Colorizer (IBM)
- Tasks (actboy168)
- Power Tools (e.GO Digital GmbH)
- Unzip the pack archive to your local harddisk (eg: C:\VSCode_OnethinxPack_Windows). Hint: you might want to remove '-master' at the end of the folder name.
- Open your command prompt (cmd).
- Drag and drop the file
setVariables.bat
to your command prompt (or typeC:\VSCode_OnethinxPack_Windows\setVariables.bat
). - Press enter, you'll see the environment variables and the path being set.
- Restart your machine.
- If CMake, Make and the compiler is correctly installed by typing the following into your command prompt or terminal window of VS Code.
cmake -version
mingw32-make -v
arm-none-eabi-gcc -v
- If you have not done this yet, download the Hello World from https://ghithub.com/onethingx/VSCode_HelloWorld
- If this builds without error, the Onethinx build suite has been installed properly.
- After changing the device configuration (or project file structure) to use
- Clean Reconfigure
- Clean Rebuild in order to build the image properly
- To delete the contents of the build folder
- if you copied the project including build folder from another location / machine
- when build fails.
- This pack contains the 64bit version of CMake. Replace with the 32bit version if you run on a 32bit machine.