sounds to me, like the compiler isnt respecting that inline statementrp2/mphalport.h has "static inline mp_uint_t mp_hal_ticks_ms(void)" so I guess its just many copies of it.
and because the function is tagged static, its not able to link to a copy from another .o file
so each .o gets its own copy of the function
forcing it to inline would get rid of the extra symbols
moving it to a .c file instead would reduce the code-size by merging all of the duplicates
Statistics: Posted by cleverca22 — Fri Jan 26, 2024 4:14 pm