Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    LoPy link error

    Scheduled Pinned Locked Moved Discussion
    lopyfirmware
    3 Posts 2 Posters 508 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O Offline
      oldGuyDave
      last edited by

      I am building the latest firmware for LoPy (rev 1.18.1.r1) and I am getting the following error:
      LINK build/LOPY/release/application.elf
      lib/libfreertos.a(port.o):(.literal.pxPortInitialiseStack+0x0): undefined reference to _thread_local_end' lib/libfreertos.a(port.o):(.literal.pxPortInitialiseStack+0x4): undefined reference to _thread_local_start'
      collect2: error: ld returned 1 exit status
      application.mk:582: recipe for target 'build/LOPY/release/application.elf' failed
      make: *** [build/LOPY/release/application.elf] Error 1

      Can anyone tell me what I may have missed?

      “Life is trying things to see if they work.” ~Ray Bradbury

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @oldGuyDave
        last edited by robert-hh

        @oldguydave
        I just tried buidling for LoPy here and ti worked fine.

        • Did you use the proper pycom-esp-idf library, which a git submodule update --init --recursive after cloning?
        • can you try a "make clean" in the esp32 directory and then a new build?
        1 Reply Last reply Reply Quote 0
        • O Offline
          oldGuyDave
          last edited by

          @robert-hh said in LoPy link error:

          pycom-esp-idf

          That was the problem. Thanks - everything works and firmware flahses fine.

          “Life is trying things to see if they work.” ~Ray Bradbury

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom