Skip to content

ESPnow not compiling under esp-idf-master (with possible fix) (IDFGH-15611) (IEP-1664) #1370

@CanHobby

Description

@CanHobby

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v6.0-dev-774-g68b583f30c

Operating System used.

Linux

How did you build your project?

Eclipse IDE

If you are using Windows, please specify command line type.

None

What is the expected behavior?

Example should compile with no ERRORs

Using the Espressif-IDE ver 3.4.0 trying to compile the wifi->espnow example many errors (25) result.


I may have found the problem.
I needed to edit the "...components/esp_wifi/include/esp_now.h" file..
specifically I added a line 84 to complete the typedef

0084 } esp_now_peer_num_t;

It then compiled fine -- I did need to give the task more stack to remove run-time errors on the ESP32-S3 which is common to most of the ESP examples.

I am using Linux Mint and trying to compile for the ESP32-S3

I have used many other example under the IDE with no problems..

What is the actual behavior?

Should compile with no errors
I think I have found the problem.. see above....

Steps to reproduce.

  1. Step
  2. Step
  3. Step
    ...

Build or installation Logs.


Diagnostic report archive.

No response

More Information.

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions