Skip to content
monero-badge-f405
C Assembly Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Drivers
EWARM Initial import Mar 20, 2018
Inc plasma + eyes to deal with slave moede Dec 23, 2018
Middlewares/ST/STM32_USB_Device_Library
Src More stable? Aug 12, 2019
graphics
.gitignore
.mxproject
Makefile
README.md
STM32F405RGTx_FLASH.ld
mx.scratch
round1.ioc
startup_stm32f405xx.s

README.md

Prerequisites

You will need:

  • a GCC ARM cross-compilation toolchain
  • dfu-util (or equivalent)

Converting images into header files

Convert your image to a 24x24 GIF/lossless image. Run ./graphics/convert_gif_to_colour_array.py picklerick.gif picklerick > Inc/picklerick.h, which will give you an include file containing the picklerick array of pixels suitable for the display.

Add #include "picklerick.h" to a header file such as Inc/welcome_smileys.h and then point to the array in the code. Good examples (including the easter egg animation) are in Src/welcome.c.

Programming the DC26 Monero badge (on Linux)

make clean && make

  • Connect the USB port on the badge to your PC
  • Power off the badge
  • HOLD THE BOOT BUTTON WHILE POWERING UP THE BADGE

dfu-suffix -a build/round1.bin && sudo dfu-util -a 0 -d 0483:df11 -D build/round1.bin --dfuse-address 0x8000000

Contributing

Feel free to submit PRs! I will respond as soon as I am able.

Hardware

The hardware repo can be found here

You can’t perform that action at this time.