Header file path issue
Problem phenomenon
fatal error: pico/platform/common.h: No such file or directory
The fundamental reason: PICO-SDK 2.2.0 reorganized the file structure. The pico/platform/common.h file is from:
src/rp2040/pico_platform/include/pico/platform/common.h
src/rp2350/pico_platform/include/pico/platform/common.h
Moved to a unified location
src/rp2_common/pico_platform_common/include/pico/platform/common.h
However, the #include "pico/platform/common.h" path in the platform.h file has not been updated accordingly.
Solution:
Create symbolic links to link the missing header files to a new location
Result: The pico-sdk version 2.2.0 was successfully used in micropython
