-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Create pins_arduino.h for heltek wireless tracker #8464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@codeadventure20 |
static const uint8_t Vext = 36; | ||
static const uint8_t LED = 18; | ||
static const uint8_t RST_OLED = 21; | ||
static const uint8_t SCL_OLED = 18; | ||
static const uint8_t SDA_OLED = 17; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about these constants if they are right.
I was checking the pin map by this image.
Can you please check it @codeadventure20?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@codeadventure20 The board does not exist in boards.txt file and without that is useless.
Please add define the board in the board.txt file to make this PR able to be merged.
Also please check the pins as I found some are wrong and same did @lyusupov. Thanks
Closing this PR as it's missing some info. If you want to add support for this board please open the new Pull Request. Thanks @codeadventure20 |
By completing this PR sufficiently, you help us to review this Pull Request quicker and also help improve the quality of Release Notes
Checklist
This entire section above can be deleted if all items are checked.
Description of Change
Create pins_arduino.h for heltek wireless tracker
Tests scenarios
Please note that I'm not 100% sure of what I'm doing.
I used it in PlatformIO on the Heltek Wireless Tracker and works ok. but I didn't used the espressif directly and I'm not sure how to do so.
I've been advised by PlatformIO developer to submit this file first: platformio/platform-espressif32#1148
Also, we might need the latest release of the WIFI kit series (https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series)
PlatformIO also requires this file:
boards\heltec_wireless_tracker.json
{
"build": {
"arduino": {
"ldscript": "esp32s3_out.ld",
"partitions": "default.csv"
},
"core": "esp32",
"extra_flags": [
"-DWireless_Track",
"-DARDUINO_USB_MODE=1",
"-DARDUINO_RUNNING_CORE=1",
"-DARDUINO_EVENT_RUNNING_CORE=1"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"hwids": [
[
"0x303A",
"0x1001"
]
],
"mcu": "esp32s3",
"variant": "heltec_wireless_tracker"
},
"connectivity": [
"wifi",
"bluetooth",
"lora",
"gps"
],
"debug": {
"openocd_target": "esp32s3.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "Heltec Wireless Tracker",
"upload": {
"flash_size": "8MB",
"maximum_ram_size": 327680,
"maximum_size": 8388608,
"require_upload_port": true,
"speed": 1036800
},
"url": "https://heltec.org/project/wireless-tracker/",
"vendor": "Heltec"
}
Related links
platformio/platform-espressif32#1148
Heltec-Aaron-Lee/WiFi_Kit_series#193