Thank you, I'll give that a try.As of SDK 2.0.0 you don't need a custom linker script
DoCode:
// pico_cmake_set_default PICO_FLASH_SIZE_BYTES = (4 * 1024 * 1024)#ifndef PICO_FLASH_SIZE_BYTES#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)#endif
A magical comment sounds like a recipe for lots of future problems. I've worked on a lot of large, complex systems over the years and that sounds like a slow-burning fuse on a very nasty poison bomb. Just an opinion to consider.Note the comment is important as the CMake build looks for that
Indeed! It was a boneheaded misunderstanding of the flash I was using (128 M-bit), and it caused me another problem which prompted me to open the datasheet and see how dumb it was. Image may be NSFW.Also why do you have yours set at 128M - that is impossible!
Clik here to view.

Statistics: Posted by mstrat — Thu Aug 15, 2024 4:53 pm