mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-08 10:57:51 +00:00
* Migrate all of the Meshtastic API attributes into the ini as a source of truth * Cleanup garbage coalescing * Another spot * We already account for inkhud and mui * Consolidate * Removed them * Boogers * Infer * Copying manifest should always succeed * Remove portduino guards * Rename * None
126 lines
5.5 KiB
INI
126 lines
5.5 KiB
INI
; First prototype nrf52840/sx1262 device
|
|
[env:heltec-mesh-pocket-5000]
|
|
custom_meshtastic_support_level = 1
|
|
custom_meshtastic_images = heltec_mesh_pocket.svg
|
|
custom_meshtastic_tags = Heltec
|
|
|
|
extends = nrf52840_base
|
|
board = heltec_mesh_pocket
|
|
debug_tool = jlink
|
|
custom_device_hw_model = 94
|
|
custom_meshtastic_hw_model = 94
|
|
custom_meshtastic_hw_model_slug = HELTEC_MESH_POCKET
|
|
custom_meshtastic_architecture = nrf52840
|
|
custom_meshtastic_display_name = Heltec Mesh Pocket
|
|
custom_meshtastic_actively_supported = true
|
|
custom_meshtastic_variant = 5000mAh
|
|
custom_meshtastic_key = heltec_mesh_pocket
|
|
|
|
# add -DCFG_SYSVIEW if you want to use the Segger systemview tool for OS profiling.
|
|
build_flags = ${nrf52840_base.build_flags}
|
|
-Ivariants/nrf52840/heltec_mesh_pocket
|
|
-DHELTEC_MESH_POCKET
|
|
-DHELTEC_MESH_POCKET_BATTERY_5000
|
|
-DUSE_EINK
|
|
-DEINK_DISPLAY_MODEL=GxEPD2_213_B74
|
|
-DEINK_WIDTH=250
|
|
-DEINK_HEIGHT=122
|
|
-DUSE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk
|
|
-DEINK_LIMIT_FASTREFRESH=10 ; How many consecutive fast-refreshes are permitted
|
|
-DEINK_LIMIT_RATE_BACKGROUND_SEC=30 ; Minimum interval between BACKGROUND updates
|
|
-DEINK_LIMIT_RATE_RESPONSIVE_SEC=1 ; Minimum interval between RESPONSIVE updates
|
|
; -D EINK_LIMIT_GHOSTING_PX=2000 ; (Optional) How much image ghosting is tolerated
|
|
-DEINK_BACKGROUND_USES_FAST ; (Optional) Use FAST refresh for both BACKGROUND and RESPONSIVE, until a limit is reached.
|
|
-DEINK_HASQUIRK_GHOSTING ; Display model is identified as "prone to ghosting"
|
|
-DEINK_HASQUIRK_WEAKFASTREFRESH ; Pixels set with fast-refresh are easy to clear, disrupted by sunlight
|
|
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/heltec_mesh_pocket>
|
|
lib_deps =
|
|
${nrf52840_base.lib_deps}
|
|
# renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master
|
|
https://github.com/meshtastic/GxEPD2/archive/b202ebfec6a4821e098cf7a625ba0f6f2400292d.zip
|
|
|
|
[env:heltec-mesh-pocket-5000-inkhud]
|
|
extends = nrf52840_base, inkhud
|
|
board = heltec_mesh_pocket
|
|
custom_meshtastic_hw_model = 94
|
|
custom_meshtastic_hw_model_slug = HELTEC_MESH_POCKET
|
|
custom_meshtastic_architecture = nrf52840
|
|
custom_meshtastic_display_name = Heltec Mesh Pocket
|
|
custom_meshtastic_actively_supported = true
|
|
custom_meshtastic_variant = 5000mAh InkHUD
|
|
custom_meshtastic_key = heltec_mesh_pocket
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/heltec_mesh_pocket> ${inkhud.build_src_filter}
|
|
build_flags =
|
|
${inkhud.build_flags}
|
|
${nrf52840_base.build_flags}
|
|
-I variants/nrf52840/heltec_mesh_pocket
|
|
-D HELTEC_MESH_POCKET
|
|
-D HELTEC_MESH_POCKET_BATTERY_5000
|
|
lib_deps =
|
|
${inkhud.lib_deps} ; InkHUD libs first, so we get GFXRoot instead of AdafruitGFX
|
|
${nrf52840_base.lib_deps}
|
|
|
|
|
|
; First prototype nrf52840/sx1262 device
|
|
[env:heltec-mesh-pocket-10000]
|
|
custom_meshtastic_support_level = 1
|
|
custom_meshtastic_images = heltec_mesh_pocket.svg
|
|
custom_meshtastic_tags = Heltec
|
|
|
|
extends = nrf52840_base
|
|
board = heltec_mesh_pocket
|
|
debug_tool = jlink
|
|
custom_meshtastic_hw_model = 94
|
|
custom_meshtastic_hw_model_slug = HELTEC_MESH_POCKET
|
|
custom_meshtastic_architecture = nrf52840
|
|
custom_meshtastic_display_name = Heltec Mesh Pocket
|
|
custom_meshtastic_actively_supported = true
|
|
custom_meshtastic_variant = 10000mAh
|
|
custom_meshtastic_key = heltec_mesh_pocket
|
|
|
|
# add -DCFG_SYSVIEW if you want to use the Segger systemview tool for OS profiling.
|
|
build_flags = ${nrf52840_base.build_flags}
|
|
-Ivariants/nrf52840/heltec_mesh_pocket
|
|
-DHELTEC_MESH_POCKET
|
|
-DHELTEC_MESH_POCKET_BATTERY_10000
|
|
-DUSE_EINK
|
|
-DEINK_DISPLAY_MODEL=GxEPD2_213_B74
|
|
-DEINK_WIDTH=250
|
|
-DEINK_HEIGHT=122
|
|
-DUSE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk
|
|
-DEINK_LIMIT_FASTREFRESH=10 ; How many consecutive fast-refreshes are permitted
|
|
-DEINK_LIMIT_RATE_BACKGROUND_SEC=30 ; Minimum interval between BACKGROUND updates
|
|
-DEINK_LIMIT_RATE_RESPONSIVE_SEC=1 ; Minimum interval between RESPONSIVE updates
|
|
; -D EINK_LIMIT_GHOSTING_PX=2000 ; (Optional) How much image ghosting is tolerated
|
|
-DEINK_BACKGROUND_USES_FAST ; (Optional) Use FAST refresh for both BACKGROUND and RESPONSIVE, until a limit is reached.
|
|
-DEINK_HASQUIRK_GHOSTING ; Display model is identified as "prone to ghosting"
|
|
-DEINK_HASQUIRK_WEAKFASTREFRESH ; Pixels set with fast-refresh are easy to clear, disrupted by sunlight
|
|
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/heltec_mesh_pocket>
|
|
lib_deps =
|
|
${nrf52840_base.lib_deps}
|
|
# renovate: datasource=git-refs depName=meshtastic-GxEPD2 packageName=https://github.com/meshtastic/GxEPD2 gitBranch=master
|
|
https://github.com/meshtastic/GxEPD2/archive/b202ebfec6a4821e098cf7a625ba0f6f2400292d.zip
|
|
|
|
[env:heltec-mesh-pocket-10000-inkhud]
|
|
extends = nrf52840_base, inkhud
|
|
board = heltec_mesh_pocket
|
|
custom_meshtastic_hw_model = 94
|
|
custom_meshtastic_hw_model_slug = HELTEC_MESH_POCKET
|
|
custom_meshtastic_architecture = nrf52840
|
|
custom_meshtastic_display_name = Heltec Mesh Pocket
|
|
custom_meshtastic_actively_supported = true
|
|
custom_meshtastic_variant = 10000mAh InkHUD
|
|
custom_meshtastic_key = heltec_mesh_pocket
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/heltec_mesh_pocket> ${inkhud.build_src_filter}
|
|
build_flags =
|
|
${inkhud.build_flags}
|
|
${nrf52840_base.build_flags}
|
|
-I variants/nrf52840/heltec_mesh_pocket
|
|
-D HELTEC_MESH_POCKET
|
|
-D HELTEC_MESH_POCKET_BATTERY_10000
|
|
lib_deps =
|
|
${inkhud.lib_deps} ; InkHUD libs first, so we get GFXRoot instead of AdafruitGFX
|
|
${nrf52840_base.lib_deps}
|