AfRApay/AfRApay.MateCard
2023-02-08 19:54:30 +01:00
..
include Reformat code 2023-02-08 16:44:14 +01:00
src Add cancel button interrupt 2023-02-08 19:54:30 +01:00
.gitignore A new start 2023-02-06 02:37:36 +01:00
.uncrustify.cfg Update uncrustify config 2023-02-08 16:42:32 +01:00
CMakeLists.txt A new start 2023-02-06 02:37:36 +01:00
platformio.ini Add clang-tidy to platformio 2023-02-08 16:08:49 +01:00
README.md Add c++ contribution guide 2023-02-08 16:30:50 +01:00

AfRApay.MateCard

This is the software that runs on the MateCard terminal, powered by an ESP32.

Setting up dev environment

This project uses PlatformIO. Quick setup guide:

  • Install PlatformIO (macOS: brew install platformio / Arch Linux: yay -S platformio / Other: platformio.org)
  • To compile, run pio run
  • To compile and upload, run pio run -t upload
  • To run clang-tidy, run pio check.
  • Please run uncrustify --no-backup -c .uncrustify.cfg src/*.cpp include/*.h before commiting. To install it as a pre-commit hook, run ln -s ../../hooks/pre-commit.hook ../.git/hooks/pre-commit in this directory.