- VS Code
- Onethinx Dependencies Pack
- Install VS Code.
- Install extensions:
- C/C++ IntelliSense, debugging (microsoft)
- Cortex-Debug GDB support (marus25)
- Meson Build (mrmomo)
- Power Tools (e.GO Mobile)
- Tasks (actboy168)
- optional: ARM Assembly Support For Visual Studio Code (dan-c-underwood)
- optional: Output Colorizer (IBM)
- Install Meson & Ninja with the MSI installer from: meson-1.0.0-64.msi
- or follow the instructions to install with pip/python: https://mesonbuild.com/Getting-meson.html
- Unzip the pack archive to your local harddisk (eg: C:\VSCode_OnethinxPack_Windows)
- Hint: you might want to remove '-main' at the end of the folder name
- Open your command prompt (cmd)
- Run
C:\VSCode_OnethinxPack_Windows\setVariables.bat- You'll see the environment variables and the path being set
- Restart your machine (or log-out and log-in) to reload the environment variables
- If Meson and the compiler is correctly installed by typing the following into your command prompt or terminal window of VS Code
meson -varm-none-eabi-gcc -v
- If you have not done this yet, download the Hello World Project
- You should be able to build and debug this project. If you experience issues, your feedback is appreciated.
- 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.
- Download the latest Onethinx Dependencies Pack
- Delete the contents of the Dependencies Pack folder from you harddisk
- Unpack the contents of the archive to the Dependencies Pack folder
- Run
C:\VSCode_OnethinxPack_Windows\removeVariables.bat - Run
C:\VSCode_OnethinxPack_Windows\setVariables.bat - Restart your machine (or log-out and log-in) to reload the environment variables