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
Can't build with Cmake. Is it not supported? #128
Comments
I'm using 3.3.1 in both cases. The code is the same. using msys32, size is 27,696 I've accepted defaults and changed the same 3 things in each case.
I thought about that, but I'd really like to understand why they're different..
No the actual flash process is about the same, once it finally gets there. Thanks for your reply! -Matt |
I've gone into this a bit deeper. I no longer suspect the sdkconfig file difference. They're arranged differently, but funcitonally they seem to be identical, except for the documented differences (no flash port defined in the Cmake variant). So, I suspect something else is making the bootloader larger, but don't have details yet. Will report them here when I do. Meanwhile, if anyone else has run into this, please share your findings! |
I wonder is cmake is building with slightly different flags and that to be causing the size difference. Have you seen size difference in the firmware bin also? |
The main .bin file is slightly different, but by less than 1K. I'm not sure why. I did notice that some of the error messages incorporate the source path, which would account for minor differences in size. I'm more concerned about the boot loader, but interested in both. I plan to dig through the map files & see if I can narrow it down.. but have had other fish to fry the last few days. Will post my findings here! |
I've successfully built the camera_web_server example using the msys32 environment, but that's miserably slow under Windows.
When I try the Cmake (preview, since we need 3.3.1) I get build failure, since bootloader.bin ends up too large:
I suspect this has to do with configuration, as the resulting sdkconfig is quite different when using 'idf.py menuconfig' vs the old 'make menuconfig'
Any thoughts?
The text was updated successfully, but these errors were encountered: