ssbc / ssbc/tinySSB

Compilation error: 'esp_efuse_mac_get_default' was not declared in this scope

Open
#15 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
93
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Trying to compile on Arduino IDE 2.3.4

I added in lora.h, button2.h & hardware.h
to get to...

In file included from /Users/greghall/Documents/GitHub/ssbc/tinySSB/esp32/loramesh-TBeam/loramesh-TBeam.h:9,
from /Users/greghall/Documents/GitHub/ssbc/tinySSB/esp32/loramesh-TBeam/loramesh-TBeam.ino:3:
/Users/greghall/Documents/GitHub/ssbc/tinySSB/esp32/loramesh-TBeam/hw_setup.h: In function 'void hw_setup()':
/Users/greghall/Documents/GitHub/ssbc/tinySSB/esp32/loramesh-TBeam/hw_setup.h:169:3: error: 'esp_efuse_mac_get_default' was not declared in this scope
169 | esp_efuse_mac_get_default(my_mac);
| ^~~~~~~~~~~~~~~~~~~~~~~~~

exit status 1

Compilation error: 'esp_efuse_mac_get_default' was not declared in this scope

What am I doing wrong?
Maybe a platformio so that library management is handled by the system?

Love your work, keen to try it out.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with hw_setup.h at line 169 and inspect how esp_efuse_mac_get_default is declared or included when building loramesh-TBeam. Reproduce the compilation in Arduino IDE 2.3.4 using the included lora.h, button2.h, and hardware.h context. Done means the project compiles without the undeclared-function error.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, c
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.