pavelrevak / rt_soldering_pen

RT soldering pen project firmware

Home Page:https://hackaday.io/project/18899-rt-soldering-pen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

RT soldering pen project firmware

https://hackaday.io/project/18899-rt-soldering-pen

License:GNU General Public License v3.0


Languages

Language:C++ 94.9%Language:CMake 2.7%Language:Python 2.5%