mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
6acc63729b
* Refactor EInkDisplay A lot of variant specific code is merged, with the macros pushed to the respective variant.h files. "Dynamic Partial" code has been purged, pending a rewrite. * fix: declare class only if USE_EINK, init all members * refactor: move macros to platformio.ini Responds to https://github.com/meshtastic/firmware/pull/3299#issuecomment-1966425926 * fix: EInkDisplay::connect() references old macros Usage was in a block of variant-specific code, which had been intentionally left untouched. * fix: remove duplicate macros from variant.h --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
22 lines
907 B
INI
22 lines
907 B
INI
; The very slick RAK wireless RAK 4631 / 4630 board - Firmware for 5005 with the RAK 14000 ePaper
|
|
[env:rak4631_eink_onrxtx]
|
|
board_level = extra
|
|
extends = nrf52840_base
|
|
board = wiscore_rak4631
|
|
build_flags = ${nrf52840_base.build_flags} -Ivariants/rak4631_epaper -D RAK_4631
|
|
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m4/fpv4-sp-d16-hard"
|
|
-D PIN_EINK_EN=34
|
|
-D EINK_DISPLAY_MODEL=GxEPD2_213_BN
|
|
-D EINK_WIDTH=250
|
|
-D EINK_HEIGHT=122
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/rak4631_epaper_onrxtx>
|
|
lib_deps =
|
|
${nrf52840_base.lib_deps}
|
|
zinggjm/GxEPD2@^1.5.1
|
|
melopero/Melopero RV3028@^1.1.0
|
|
rakwireless/RAKwireless NCP5623 RGB LED library@^1.0.2
|
|
debug_tool = jlink
|
|
; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm)
|
|
;upload_protocol = jlink
|
|
;upload_port = /dev/ttyACM3
|