Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore(display): Add patches files for MCUFRIEND_kbv #11

Merged
merged 1 commit into from
May 3, 2024

Conversation

XavierBrassoud
Copy link
Owner

  1. Require patch tool installed in your system.
  2. Copy pio-tools/patches.py and patches/ folder to the root of your project.
  3. Adding this line to your platformio.ini:
lib_deps =
    prenticedavid/MCUFRIEND_kbv @ ^3
    adafruit/Adafruit GFX Library @ ^1
    adafruit/Adafruit BusIO @ ^1
    Wire
    SPI
extra_scripts = pre:pio-tools/patches.py
  • Other users:
  1. Download MCUFRIEND_kbv v3
  2. Apply patch command with diff files provided in patches/ folder:
patch MCUFRIEND_kbv/MCUFRIEND_kbv.cpp patches/MCUFRIEND_kbv/MCUFRIEND_kbv.cpp
patch MCUFRIEND_kbv/utility/mcufriend_special.h patches/MCUFRIEND_kbv/utility/mcufriend_special.h
patch MCUFRIEND_kbv/utility/mcufriend_shield.h patches/MCUFRIEND_kbv/utility/mcufriend_shield.h

@XavierBrassoud XavierBrassoud merged commit f95207f into main May 3, 2024
2 checks passed
@XavierBrassoud XavierBrassoud deleted the chore/pio-display-patches branch May 3, 2024 13:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant