Please use OTX-Maestro for a single click full install solution
- VS Code
- Onethinx Dependencies Pack
- Install VS Code.
- Install extensions:
- ARM Assembly 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)
- Output Colorizer (IBM)
- Power Tools (e.GO Mobile)
- Tasks (actboy168)
- 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 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 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
- If not done yet, update your projects CMakeLists.txt: change
${TOOL_LOC}
to$ENV{ONETHINX_TOOLS_LOC}
(see the Project Examples for reference).