Skip to content

Missing dependency from librtc.a #5

Description

@emlynmac

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I have a linker error, which appears to be from a missing implementation in rtc.a/

/home/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20251107/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: /home/esp/esp-idf/components/esp_phy/lib/esp32/librtc.a(rtc.o): in function `rtc_soc_clk_ck12m':
/home/cff/gittree/chip_rtc/chip7.1_rtc/board_code/app_test/pp/rtc/rtc.c:230:(.text.rtc_init_full+0x1c): undefined reference to `rtc_init_clk'
/home/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20251107/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: /home/esp/esp-idf/components/esp_phy/lib/esp32/librtc.a(rtc.o): in function `rtc_init_full':
/home/cff/gittree/chip_rtc/chip7.1_rtc/board_code/app_test/pp/rtc/rtc.c:316:(.text.rtc_init_full+0x3b2): undefined reference to `rtc_init_clk'
/home/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20251107/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: /home/esp/esp-idf/components/esp_phy/lib/esp32/librtc.a(rtc.o): in function `rtc_sdreg_off':
/home/cff/gittree/chip_rtc/chip7.1_rtc/board_code/app_test/pp/rtc/rtc.c:438:(.text.rtc_slp_prep_lite_12M+0x0): undefined reference to `rtc_slp_prep'
/home/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20251107/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: /home/esp/esp-idf/components/esp_phy/lib/esp32/librtc.a(rtc.o): in function `rtc_slp_prep_lite_12M':
/home/cff/gittree/chip_rtc/chip7.1_rtc/board_code/app_test/pp/rtc/rtc.c:448:(.text.rtc_slp_prep_lite_12M+0x2b): undefined reference to `rtc_slp_prep'

Actual behavior (suspected bug)

Should have all the necessary binary implementation in the library

Error logs or terminal output

Steps to reproduce the behavior

Use wifi in an esp-idf 5.5

Project release version

v5.5.2

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

WSL2 Unbuntu

Shell

Bash

Additional context

No response

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions