File tree 2 files changed +3
-8
lines changed
variants/heltec_wireless_tracker
2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -16063,7 +16063,10 @@ heltec_wireless_tracker.menu.FlashMode.opi.build.flash_mode=dout
16063
16063
heltec_wireless_tracker.menu.FlashMode.opi.build.boot=opi
16064
16064
heltec_wireless_tracker.menu.FlashMode.opi.build.boot_freq=80m
16065
16065
heltec_wireless_tracker.menu.FlashMode.opi.build.flash_freq=80m
16066
+ heltec_wireless_tracker.build.defines=-D{build.band} {build.psram_val} -DLoRaWAN_DEBUG_LEVEL={build.LoRaWanDebugLevel} -DACTIVE_REGION=LORAMAC_{build.band} -DLORAWAN_PREAMBLE_LENGTH={build.LORAWAN_PREAMBLE_LENGTH} -DLORAWAN_DEVEUI_AUTO={build.LORAWAN_DEVEUI_AUTO} -D{build.board}
16067
+ heltec_wireless_tracker.build.extra_libs=-lheltec_{build.cdc_on_boot}
16066
16068
16069
+ heltec_wireless_tracker.menu.EraseFlash.none=Disabled
16067
16070
heltec_wireless_tracker.menu.FlashSize.4M=4MB (32Mb)
16068
16071
heltec_wireless_tracker.menu.FlashSize.4M.build.flash_size=4MB
16069
16072
heltec_wireless_tracker.menu.FlashSize.8M=8MB (64Mb)
Original file line number Diff line number Diff line change 7
7
#define USB_VID 0x303a
8
8
#define USB_PID 0x1001
9
9
10
- #define EXTERNAL_NUM_INTERRUPTS 46
11
- #define NUM_DIGITAL_PINS 48
12
- #define NUM_ANALOG_INPUTS 20
13
-
14
10
// Some boards have too low voltage on this pin (board design bug)
15
11
// Use different pin with 3V and connect with 48
16
12
// and change this setup for the chosen pin (for example 38)
@@ -20,10 +16,6 @@ static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+48;
20
16
#define RGB_BUILTIN LED_BUILTIN
21
17
#define RGB_BRIGHTNESS 64
22
18
23
- #define analogInputToDigitalPin (p ) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
24
- #define digitalPinToInterrupt (p ) (((p)<48)?(p):-1)
25
- #define digitalPinHasPWM (p ) (p < 46)
26
-
27
19
static const uint8_t TX = 43 ;
28
20
static const uint8_t RX = 44 ;
29
21
You can’t perform that action at this time.
0 commit comments