rp2/mphalport.h has "static inline mp_uint_t mp_hal_ticks_ms(void)" so I guess its just many copies of it.
Sounds plausible. Thanks.sounds to me, like the compiler isnt respecting that inline statement
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
I'll have to check the rest to see if also inline but suspect they may be, look like likely candidates, and perhaps not as bad as I first feared it was ...
Code:
Duplicate 'mp_hal_ticks_ms' 9 timesDuplicate 'mp_hal_delay_us_fast' 2 timesDuplicate 'pwm_set_chan_level' 2 timesDuplicate 'machine_spi_init' 2 timesDuplicate 'att_packet_handler' 2 timesDuplicate 'dma_channel_get_default_config' 2 timesDuplicate 'ph_add_child_node' 2 times
Statistics: Posted by hippy — Fri Jan 26, 2024 5:01 pm