-
Notifications
You must be signed in to change notification settings - Fork 3
/
boards.txt
84 lines (74 loc) · 3.05 KB
/
boards.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
menu.softdevice=SoftDevice
menu.debug=Debug Level
menu.debug_output=Debug Port
menu.RGB=LoRa State RGB
menu.LoRa_debug=LoRa Debug Enable
menu.lora_debug_port=LoRa Debug Port
# -----------------------------------
#HT-n5262
# -----------------------------------
HT-n5262.name=Mesh Node T114(HT-n5262)
# VID/PID for Bootloader, Arduino & CircuitPython
HT-n5262.vid.0=0x239A
HT-n5262.pid.0=0x8071
HT-n5262.vid.1=0x239A
HT-n5262.pid.1=0x0071
HT-n5262.vid.2=0x239A
HT-n5262.pid.2=0x8072
# Upload
HT-n5262.bootloader.tool=bootburn
HT-n5262.upload.tool=nrfutil
HT-n5262.upload.protocol=nrfutil
HT-n5262.upload.use_1200bps_touch=true
HT-n5262.upload.wait_for_upload_port=true
HT-n5262.upload.maximum_size=815104
HT-n5262.upload.maximum_data_size=237568
# Build
HT-n5262.build.mcu=cortex-m4
HT-n5262.build.f_cpu=64000000
HT-n5262.build.board=HT_N5262
HT-n5262.build.core=nRF5
HT-n5262.build.variant=HT-n5262
HT-n5262.build.usb_manufacturer="Heltec"
HT-n5262.build.usb_product="HT-n5262"
HT-n5262.build.extra_flags=-DNRF52840_XXAA {build.flags.usb}
HT-n5262.build.ldscript=nrf52840_s140_v6.ld
HT-n5262.build.openocdscript=scripts/openocd/daplink_nrf52.cfg
HT-n5262.build.vid=0x239A
HT-n5262.build.pid=0x8071
# Menu: SoftDevice
HT-n5262.menu.softdevice.s140v6=S140 6.1.1
HT-n5262.menu.softdevice.s140v6.build.sd_name=s140
HT-n5262.menu.softdevice.s140v6.build.sd_version=6.1.1
HT-n5262.menu.softdevice.s140v6.build.sd_fwid=0x00B6
# Menu: Debug Level
#HT-n5262.menu.debug.l0=Level 0 (Release)
#HT-n5262.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0
#HT-n5262.menu.debug.l1=Level 1 (Error Message)
#HT-n5262.menu.debug.l1.build.debug_flags=-DCFG_DEBUG=1
#HT-n5262.menu.debug.l2=Level 2 (Full Debug)
#HT-n5262.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2
#HT-n5262.menu.debug.l3=Level 3 (Segger SystemView)
#HT-n5262.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3
#HT-n5262.menu.debug.l3.build.sysview_flags=-DCFG_SYSVIEW=1
# Menu: Debug Port
#HT-n5262.menu.debug_output.serial=Serial
#HT-n5262.menu.debug_output.serial.build.logger_flags=-DCFG_LOGGER=0
#HT-n5262.menu.debug_output.serial1=Serial1
#HT-n5262.menu.debug_output.serial1.build.logger_flags=-DCFG_LOGGER=1 -DCFG_TUSB_DEBUG=CFG_DEBUG
#HT-n5262.menu.debug_output.rtt=Segger RTT
#HT-n5262.menu.debug_output.rtt.build.logger_flags=-DCFG_LOGGER=2 -DCFG_TUSB_DEBUG=CFG_DEBUG -DSEGGER_RTT_MODE_DEFAULT=SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL
HT-n5262.menu.RGB.enable=Enable
HT-n5262.menu.RGB.enable.build.rgb_enable=1
HT-n5262.menu.RGB.disable=Disable
HT-n5262.menu.RGB.disable.build.rgb_enable=0
HT-n5262.menu.LoRa_debug.enable=Enable
HT-n5262.menu.LoRa_debug.enable.build.LoRa_debug=1
HT-n5262.menu.LoRa_debug.disable=Disable
HT-n5262.menu.LoRa_debug.disable.build.LoRa_debug=0
HT-n5262.menu.lora_debug_port.serial=Serial(USB CDC)
HT-n5262.menu.lora_debug_port.serial.build.lora_debug=0
HT-n5262.menu.lora_debug_port.serial1=Serial1(UART0)
HT-n5262.menu.lora_debug_port.serial1.build.lora_debug=1
HT-n5262.build.defines=-DLoraWan_RGB={build.rgb_enable} -DLORA_DEBUG_SERIAL_NUM={build.lora_debug} -DLORA_DEBUG_ENABLE={build.LoRa_debug}
HT-n5262.build.debug_flags=-DCFG_DEBUG=0