Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.38 KB

README.md

File metadata and controls

71 lines (46 loc) · 1.38 KB

RT soldering pen

oled4

Manual

This firmware is for my project RT soldering pen

You can buy HW at Tindie

Building and flashing

Requirements

  • arm-gcc
  • cmake
  • make or ninja
  • 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

Getting source

git clone --recursive https://github.com/pavelrevak/rt_soldering_pen.git
cd rt_soldering_pen

Building

mkdir _build
cd _build
cmake -D CMAKE_TOOLCHAIN_FILE=../cmake/arm-none-eabi.cmake -D CMAKE_BUILD_TYPE=Release ..
make

Flashing

Connect ST-Link or other SWD programmer:

HW v0.3

  • G : GND
  • C : SWCLK
  • D : SWDIO

HW v1.0

  • 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