-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootloader uploading at 0x2000 and certificates not generating #78
Comments
@Szybet No idea why the bootloader for an esp32 is placed at 0x2000. Have to investigate. EDIT: Probably missing this, when using default IDF and Arduino
|
Interesting platformio.ini setup part
conflicts with the Platformio IDF cmake/Ninja build script. May end in unexpected results/issues. |
I needed different sdkconfigs for different envs, this was the best solution? I think the main reason was I didn't wanted those sdkconfigs to be at default in the main directory, but placed somewhere else. Can't remember really How to do it properly? As for the certificates, I'm gonna test it, thanks |
I think you can safe work of doing forks. Use this variant (it is from me too ;-)) For sdkconfig.defaults files it is best to leave it where the are. The are correctly fetched. No settings needed. See here https://github.com/pioarduino/platform-espressif32/blob/develop/examples/espidf-arduino-littlefs/sdkconfig.defaults |
Bug with flash offset verified. Will revert, since IDF 5.1 does not support p4.... |
When trying the
What is the difference between this https://github.com/pioarduino/platform-espressif32 and the current repo we are in? In practical words? Well yes, but how do I specify many sdkconfig.defaults? Would be best if they could be at a custom path too |
Change of NVS partition size is not supported with Platformio. You can add a second NVS partition. But do not touch the existing. |
It was just my ques that's what I need to do, well |
Idk what's wrong in your setup. The other fork I mentioned does include Rainmaker, Insights, mbedtls with all cryptos. This fork has removed this and changed a lot of sdkconfig settings! |
Hello Jason
First, I appreciate your work, I see you everywhere in platformio issues, you also helped me a lot, I use this repo as a fork for my small project inkWatchy. I have 2 small issues, one after recently updating everything to the newer esp idf v5.1 branch
Also, don't bother with this if you don't have time, I found worked around those issues anyway
First, for the target esp32 (I checked if the mcu variable was esp32, it was) it gives me the bootloader offset for the p4, so 0x2000
platform-espressif32/builder/frameworks/espidf.py
Line 1666 in 1b989b0
I have no explanation for that, to my python knowledge everything seems fine
secondly, Compilation for me stops on certificates not generating, the work around is this:
https://github.com/Szybet/InkWatchy/blob/984dbd73a9166b8da3f0ebc2fbd120b1d0a90779/resources/tools/buildTime/preBuild.sh#L12-L28
How to do it properly? I see the function generate_mbedtls_bundle which uses MBEDTLS_CERTIFICATE_BUNDLE, should I set it to false? I want https to work.
Thanks!
The text was updated successfully, but these errors were encountered: