• Stars
    star
    138
  • Rank 264,508 (Top 6 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created over 6 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RT soldering pen project firmware

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