Skip to content

mini_epaper_s3 doesn't build #3

Description

@skiphansen

I was trying to build the IDF example in esp_idf, but it fails with undefined references to pgm_read_*().

skip@Dell-5510:~/esl/bb_epaper/esp_idf/mini_epaper_s3/main$ git log -1
commit 129dd178f4bed2d4d9dba02b2ed4cacf9436f3e9 (HEAD -> main, origin/main, origin/HEAD)
Author: Laurence Bank <laurencebank@Laurences-Air.home>
Date:   Fri Feb 21 10:56:53 2025 +0000

    Enhanced image convert tool to accept all bit depths as input
skip@Dell-5510:~/esl/bb_epaper/esp_idf/mini_epaper_s3/main$ idf.py --version
ESP-IDF v5.4-dev-1030-g0479494e7a

build.log attached.

I got around that problem by adding defines for pgm_read_byte(), pgm_read_word() and pgm_read_dword() to .../esp_idf/mini_epaper_s3/main/main.c
but then I got undefined reference to `bbepWriteIT8951CmdArgs' which only seems to be defined for Arduino.

build1.log attached.

What am I doing wrong?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions