The AXIOM Remote Visualizer is a tool to emulate the actual code running on the PIC32 and pixels displayed on the 320x240 LCD on a PC.
The imgui library is embedded as git module, so you need to execute:
git submodule update --init --recursive
to initialize it.
- Install required packages: cmake, libsdl2-dev, libsdl2-image-dev
- Open terminal, usual shortcut under Linux is Ctrl+Alt+T
- Install cmake on windows
Download link of cmake for windows - Install a C++ compiler.
Download link For Minimalist GNU for Windows
Note: while installing, select x86_x64 Architecture, not i686 - Download SDL2 and SDL2_image library for your compiler, and extract the tar.gz file.
Download link of SDL2 for Minimalist GNU for Windows
Download Link of SDL2_image for Minimalist GNU for Windows - In the extracted folder of SDL2, SDL2_image search for folder with your compiler name and copy all the content inside it (include,bin and lib folder)
For the above downloaded Minimalist GNU compiler,the folder name isx86_64-w64-mingw32 - Paste the copied content, into your installed compiler directories (both x86 and x64)
For the above downloaded Minimalist GNU, compiler directories are as follows,
ProgramFiles\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64
ProgramFiles\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\x86_64-w64-mingw32
- cd into /AXIOM_Remote_Firmware_Visualizer
- mkdir build
- cd build
- cmake ..
- make -j4
- ./AXIOM_Remote_Firmware_Visualizer
- cd into /AXIOM_Remote_Firmware_Visualizer
- mkdir build
- cd build
- cmake -G "MinGW Makefiles" ..
- mingw32-make -j4
- ./AXIOM_Remote_Firmware_Visualizer.exe
These steps above can be done in one go with the build.sh script
-
Create virtual serial ports by executing:
socat pty,raw,echo=0,link=/tmp/axiom_remote_port pty,raw,echo=0,link=/tmp/axiom_host_port -
Start visualiser with command line argument
-p, use first port from previous step:./AXIOM_Remote_Firmware_Visualiser -p /tmp/axiom_remote_port