Skip to content

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

Closed
wants to merge 1 commit into from

Conversation

codeadventure20
Copy link

@codeadventure20 codeadventure20 commented Jul 27, 2023

By completing this PR sufficiently, you help us to review this Pull Request quicker and also help improve the quality of Release Notes

Checklist

  1. Please provide specific title of the PR describing the change, including the component name (eg. „Update of Documentation link on Readme.md“)
  2. Please provide related links (eg. Issue which will be closed by this Pull Request)
  3. Please update relevant Documentation if applicable
  4. Please check Contributing guide

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

@CLAassistant
Copy link

CLAassistant commented Jul 27, 2023

CLA assistant check
All committers have signed the CLA.

@lyusupov
Copy link
Contributor

lyusupov commented Aug 6, 2023

@codeadventure20
this pins_arduino.h pins definition does not match to the one used in the actual schematic file(s) for the Heltec Wireless Tracker product:

Comment on lines +74 to +78
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;
Copy link
Member

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?

Copy link
Member

@P-R-O-C-H-Y P-R-O-C-H-Y left a 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

@P-R-O-C-H-Y P-R-O-C-H-Y added the Resolution: Awaiting response Waiting for response of author label Aug 29, 2023
@VojtechBartoska
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

5 participants