Skip to content

Commit 267cae2

Browse files
committed
"Addressed feedback from the review"
1 parent 5077029 commit 267cae2

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

boards.txt

+3
Original file line numberDiff line numberDiff line change
@@ -16063,7 +16063,10 @@ heltec_wireless_tracker.menu.FlashMode.opi.build.flash_mode=dout
1606316063
heltec_wireless_tracker.menu.FlashMode.opi.build.boot=opi
1606416064
heltec_wireless_tracker.menu.FlashMode.opi.build.boot_freq=80m
1606516065
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}
1606616068

16069+
heltec_wireless_tracker.menu.EraseFlash.none=Disabled
1606716070
heltec_wireless_tracker.menu.FlashSize.4M=4MB (32Mb)
1606816071
heltec_wireless_tracker.menu.FlashSize.4M.build.flash_size=4MB
1606916072
heltec_wireless_tracker.menu.FlashSize.8M=8MB (64Mb)

variants/heltec_wireless_tracker/pins_arduino.h

-8
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
#define USB_VID 0x303a
88
#define USB_PID 0x1001
99

10-
#define EXTERNAL_NUM_INTERRUPTS 46
11-
#define NUM_DIGITAL_PINS 48
12-
#define NUM_ANALOG_INPUTS 20
13-
1410
// Some boards have too low voltage on this pin (board design bug)
1511
// Use different pin with 3V and connect with 48
1612
// 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;
2016
#define RGB_BUILTIN LED_BUILTIN
2117
#define RGB_BRIGHTNESS 64
2218

23-
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
24-
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
25-
#define digitalPinHasPWM(p) (p < 46)
26-
2719
static const uint8_t TX = 43;
2820
static const uint8_t RX = 44;
2921

0 commit comments

Comments
 (0)