You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MSYS2 will be your primary terminal for Solar Gators projects. Optionally you can add the /bin folders to your system PATH variable to run the necessary utilities from the Windows Command Prompt or PowerShell. You can also add the MSYS2 terminal to the Windows Terminal app or the integrated terminal in VSCode.
Set the default CMake generator to Ninja by creating an environment variable called CMAKE_GENERATOR and setting its value to Ninja
Build and Run Example Project
Run git clone https://github.com/Solar-Gators/Car-IV-Firmware.git --recursive
Navigate to Firmware/nucleol476rg-base/ and run cmake -S . -B build to generate the build system. To build the executable, run either cmake --build build or ninja from the build directory. Verify that the build completes without errors and a .hex file appears in the build directory.
Open J-Flash Lite, erase the board, then program the .hex file onto the board. Press the black reset button and confirm that the green LED is blinking.
Optional
Use MSYS2 as Integrated Terminal in VSCode
In VSCode type ctrl+shift+p to bring up the Command Palette and type Preferences: Open User Settings (JSON) to open the settings.json file
Add the following to "terminal.integrated.profiles.windows":