Giter Site home page Giter Site logo

Comments (10)

TrainzLuvr avatar TrainzLuvr commented on August 11, 2024 1

That did it, my sdkconfig still had ...=y

Compiled to completion now. Thanks!

from esp32commandstation.

atanisoft avatar atanisoft commented on August 11, 2024

Yeah, this one is a nasty one, I worked around it locally in generation.py to avoid the None case. I'll submit a PR to upstream to fix it.

from esp32commandstation.

TrainzLuvr avatar TrainzLuvr commented on August 11, 2024

Sorry to re-open this but the error still persist. I pulled the latest master few minutes ago.

Running ESP-IDF v4.1.

from esp32commandstation.

atanisoft avatar atanisoft commented on August 11, 2024

Did you remove the sdkconfig file? If not you will need to comment out CONFIG_LWIP_IRAM_OPTIMIZATION which is disabled here.

from esp32commandstation.

karlp avatar karlp commented on August 11, 2024

I'm still getting this on 4.2 release, with LWIP_IRAM_OPTIMIZATION unchecked in menuconfig?

from esp32commandstation.

atanisoft avatar atanisoft commented on August 11, 2024

I'm still getting this on 4.2 release, with LWIP_IRAM_OPTIMIZATION unchecked in menuconfig?

@karlp Can you send me your sdkconfig and I'll compare it to the one I'm using and see if I can find which option is causing the issue.

from esp32commandstation.

karlp avatar karlp commented on August 11, 2024

Sure, I've attached it here. I suspect it might be wonky toolchains though. I get this if I run cmake directly inside netbeans, from a plain project (no prior build, ie akin to a clean checkout of the project from git)

If I run "idf.py build" once, it works, so... "unsupported tooling" I guess?
sdkconfig.txt

also.... I'm sorry, I missed that I wason't on the repo I thought I was on, so this isn't really your issue at all, I just got here from a bug report on esp-idf, sorry!

from esp32commandstation.

atanisoft avatar atanisoft commented on August 11, 2024

also.... I'm sorry, I missed that I wason't on the repo I thought I was on, so this isn't really your issue at all, I just got here from a bug report on esp-idf, sorry!

No worries. Try disabling the following options:

CONFIG_ESP32_WIFI_IRAM_OPT=y
CONFIG_ESP32_WIFI_RX_IRAM_OPT=y

from esp32commandstation.

karlp avatar karlp commented on August 11, 2024

hrm, that didn't help, but it still works with "idf.py build" so something's going odd with how cmake runs from inside netbeans. Once it's built once, even a clean/build with netbeans works.

thanks for looking at this, but i'm not going to follow it up further at this point, building once from the commandline is ok for me rightnow.

from esp32commandstation.

atanisoft avatar atanisoft commented on August 11, 2024

Once it's built once, even a clean/build with netbeans works.

The problem is very likely how netbeans is executing the ld generation then. There was a valid bug in ldgen.py but only if it encountered a file that did not have the type in it that was expected. It was a very specific pattern and it is entirely possible that netbeans is using an older copy of the files that did not have the fix included.

from esp32commandstation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.