This firmware is for my project RT soldering pen
You can buy HW at Tindie
arm-gcc
cmake
make
orninja
- STM flashing SW and HW (ST-Link/V2 or any ST dev-kit, like Discovery or Nucleo board)
Building is possible on Linux, Mac and also on Windows
git clone --recursive https://github.com/pavelrevak/rt_soldering_pen.git
cd rt_soldering_pen
mkdir _build
cd _build
cmake -D CMAKE_TOOLCHAIN_FILE=../cmake/arm-none-eabi.cmake -D CMAKE_BUILD_TYPE=Release ..
make
Connect ST-Link or other SWD programmer:
- G : GND
- C : SWCLK
- D : SWDIO
- C : SWCLK
- G : GND
- D : SWDIO
If you have installed pystlink and is in search path just type:
make flash
If you have another flashing utility you can generate hex of binary file:
make srec
or building also support other targets hex
and bin
Final files are saved in _build
folder