PTR-projects / PTR_tracker_firmware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PTR Tracker firmware

Building the firmware

Building using Docker

  1. Install Docker
  2. Clone the repository
  3. Set the working directory to the repository root
  4. Build the Docker image:
docker build -t tracker_compiler .
  1. Build the firmware:
docker run --rm -it -v $(pwd):/usr/local/src/tracker_firmware tracker_compiler
  1. The firmware will be in the build directory

Uploading on windows using openocd and stlink-v2

  1. Run openocd:
openocd_windows/bin/openocd.exe -s openocd_windows/share/openocd/scripts -f interface/stlink.cfg -f target/stm32g0x.cfg -c "program build/PTR-tracker-C.hex verify reset exit"

About


Languages

Language:C 96.3%Language:Tcl 1.8%Language:Assembly 1.3%Language:Python 0.5%Language:Makefile 0.1%Language:Shell 0.0%Language:Perl 0.0%Language:CMake 0.0%Language:Haskell 0.0%Language:Dockerfile 0.0%Language:Batchfile 0.0%