* fix(esp32): skip RTC timer wake on user shutdown Do not arm esp_sleep_enable_timer_wakeup when msecToWake is portMAX_DELAY (UI shutdown), matching nRF52 system_off semantics. fix(rak_wismesh_tap_v2): Tag OCV curve and 16MB partition Add OCV_ARRAY matching WisMesh Tag for accurate SOC. Use 16MB flash partition scheme for TAP V2 hardware. Co-authored-by: Cursor <cursoragent@cursor.com> * Trunkt * Add RAK WisMesh Repeater Mini V2 and HP variants Introduce rak_wismesh_repeater_mini (RAK4631) and rak_wismesh_repeater_mini_hp (RAK3401) with low-VDD System OFF. Skip LPCOMP battery wake on user-initiated shutdown to avoid immediate reboot near the LPCOMP threshold; keep LPCOMP for brownout-driven shutdown via variant_enableBatteryLpcompWake. * docs(variants): update RAK BOM numbers for Repeater Mini V2 & HP * chore: run trunk fmt --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
60 lines
2.8 KiB
INI
60 lines
2.8 KiB
INI
; The very slick RAK wireless RAK 4631 / 4630 board - Unified firmware for 5005/19003, with or without OLED RAK 1921
|
|
[env:rak3401-1watt]
|
|
custom_meshtastic_hw_model = 117
|
|
custom_meshtastic_hw_model_slug = RAK3401
|
|
custom_meshtastic_architecture = nrf52840
|
|
custom_meshtastic_actively_supported = true
|
|
custom_meshtastic_support_level = 1
|
|
custom_meshtastic_display_name = RAK3401 1W
|
|
custom_meshtastic_images = rak3401.svg
|
|
custom_meshtastic_tags = RAK
|
|
custom_meshtastic_requires_dfu = true
|
|
|
|
extends = nrf52840_base
|
|
board = wiscore_rak4631
|
|
board_check = true
|
|
build_flags = ${nrf52840_base.build_flags}
|
|
-Ivariants/nrf52840/rak3401_1watt
|
|
-D RAK_4631
|
|
; -DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
|
|
-D RAK3401
|
|
-D RAK13302 ; RAK 1Watt Power Amplifier
|
|
-DRADIOLIB_EXCLUDE_SX128X=1
|
|
-DRADIOLIB_EXCLUDE_SX127X=1
|
|
-DRADIOLIB_EXCLUDE_LR11X0=1
|
|
-DRADIOLIB_EXCLUDE_LR2021=1
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/rak3401_1watt> +<mesh/api/>
|
|
lib_deps =
|
|
${nrf52840_base.lib_deps}
|
|
${networking_base.lib_deps}
|
|
# renovate: datasource=custom.pio depName=Melopero RV3028 packageName=melopero/library/Melopero RV3028
|
|
melopero/Melopero RV3028@1.2.0
|
|
# renovate: datasource=custom.pio depName=RAK NCP5623 RGB LED packageName=rakwireless/library/RAKwireless NCP5623 RGB LED library
|
|
rakwireless/RAKwireless NCP5623 RGB LED library@1.0.3
|
|
# renovate: datasource=custom.pio depName=RAK12035_SoilMoisture packageName=beegee-tokyo/library/RAK12035_SoilMoisture
|
|
beegee-tokyo/RAK12035_SoilMoisture@1.0.4
|
|
# renovate: datasource=git-refs depName=RAK12034-BMX160 packageName=https://github.com/RAKWireless/RAK12034-BMX160 gitBranch=main
|
|
https://github.com/RAKWireless/RAK12034-BMX160/archive/dcead07ffa267d3c906e9ca4a1330ab989e957e2.zip
|
|
|
|
; RAK10729 WisMesh Repeater Mini V2 HP (RAK3401 + RAK19007 + RAK13302 + solar battery)
|
|
[env:rak_wismesh_repeater_mini_hp]
|
|
extends = env:rak3401-1watt
|
|
custom_meshtastic_display_name = RAK WisMesh Repeater Mini V2 HP
|
|
custom_meshtastic_images = rak3401.svg
|
|
build_flags =
|
|
${env:rak3401-1watt.build_flags}
|
|
-D WISMESH_REPEATER_MINI_HP
|
|
-DMESHTASTIC_EXCLUDE_GPS=1
|
|
-DLOW_VDD_SYSTEMOFF_DELAY_MS=5000
|
|
-DSAFE_VDD_VOLTAGE_THRESHOLD_MV=2900
|
|
-DSAFE_VDD_VOLTAGE_THRESHOLD_HYST_MV=100
|
|
|
|
; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm)
|
|
; Note: as of 6/2013 the serial/bootloader based programming takes approximately 30 seconds
|
|
;upload_protocol = jlink
|
|
|
|
; Allows programming and debug via the RAK NanoDAP as the default debugger tool for the RAK4631 (it is only $10!)
|
|
; programming time is about the same as the bootloader version.
|
|
; For information on this see the meshtastic developers documentation for "Development on the NRF52"
|
|
|