Skip to content

setToneChannel is declared but not implemented in v3.0.4 #10297

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
1 task done
vicatcu opened this issue Sep 5, 2024 · 2 comments · Fixed by #10305
Closed
1 task done

setToneChannel is declared but not implemented in v3.0.4 #10297

vicatcu opened this issue Sep 5, 2024 · 2 comments · Fixed by #10305
Assignees
Labels
Status: In Progress ⚠️ Issue is in progress
Milestone

Comments

@vicatcu
Copy link
Contributor

vicatcu commented Sep 5, 2024

Board

Heltec Wi-Fi LoRa 32

Device Description

Custom hardware

Hardware Configuration

Irrelevant

Version

v3.0.4

IDE Name

Arduino IDE

Operating System

Ubuntu 22.04

Flash frequency

Irrelevant

PSRAM enabled

no

Upload speed

Irrelevant

Description

Compiling a sketch that uses setToneChannel fails with a linker error like undefined reference to _Z14setToneChannelh'`.

grep -r setToneChannel . within the folder ~/.arduino15/packages/esp32/hardware/esp32/3.0.4 reveals a declaration for setToneChannel, but no imiplementation.

Sketch

void setup() {
  setToneChannel(0);  
}

void loop() {

}

Debug Message

Irrelevant, compile time issue.

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@vicatcu vicatcu added the Status: Awaiting triage Issue is waiting for triage label Sep 5, 2024
@SuGlider SuGlider self-assigned this Sep 6, 2024
@SuGlider
Copy link
Collaborator

SuGlider commented Sep 6, 2024

@vicatcu - Please try the PR #10305

@SuGlider SuGlider added Status: In Progress ⚠️ Issue is in progress and removed Status: Awaiting triage Issue is waiting for triage labels Sep 6, 2024
@SuGlider SuGlider moved this from Todo to In Progress in Arduino ESP32 Core Project Roadmap Sep 6, 2024
@SuGlider SuGlider added this to the 3.0.5 milestone Sep 6, 2024
@vicatcu
Copy link
Contributor Author

vicatcu commented Sep 6, 2024

I can confirm my sketch builds in v3.0.4 if I replace Tone.h with the one in this commit...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress ⚠️ Issue is in progress
Projects
Development

Successfully merging a pull request may close this issue.

2 participants