AfRApay/AfRApay.MateCard
2023-04-20 18:35:01 +02:00
..
include Rescan tokens that can have unstable identifiers to make sure that the ID of the token presented is stable 2023-04-20 18:18:35 +02:00
src Remove redundant status text update 2023-04-20 18:35:01 +02:00
.clang-tidy Apply all clang-tidy fixes 2023-02-10 03:09:50 +01:00
.gitignore A new start 2023-02-06 02:37:36 +01:00
.uncrustify.cfg Realign pointer star 2023-04-20 16:26:43 +02:00
CMakeLists.txt A new start 2023-02-06 02:37:36 +01:00
platformio.ini Add proper clang-tidy configuration 2023-02-10 01:45:11 +01:00
README.md Add Brewfile 2023-02-16 19:25:02 +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 bundle in project root OR brew install platformio uncrustify / Arch Linux: yay -S platformio uncrustify / 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.