Documetation issues building with doxygen

Using tag
mbed-os-6.2.1 we build our doxygen (version 1.8.19) documentation and get quite a few warnings from mbed-os:

hal/gpio_api.h:32: warning: explicit link request to 'gpio_nc_test' could not be resolved
hal/gpio_api.h:33: warning: explicit link request to 'gpio_nc_test' could not be resolved
hal/gpio_api.h:41: warning: explicit link request to 'gpio_nc_test' could not be resolved
hal/gpio_api.h:42: warning: explicit link request to 'gpio_nc_test' could not be resolved
hal/rtc_api.h:105: warning: explicit link request to 'rtc_persist_test' could not be resolved
hal/rtc_api.h:144: warning: explicit link request to 'rtc_glitch_test' could not be resolved
hal/rtc_api.h:33: warning: explicit link request to 'rtc_init_test' could not be resolved
hal/rtc_api.h:34: warning: explicit link request to 'rtc_accuracy_test' could not be resolved
hal/rtc_api.h:35: warning: explicit link request to 'rtc_persist_test' could not be resolved
hal/rtc_api.h:36: warning: explicit link request to 'rtc_reset_test' could not be resolved
hal/rtc_api.h:37: warning: explicit link request to 'rtc_sleep_test' could not be resolved
hal/rtc_api.h:40: warning: explicit link request to 'rtc_write_read_test' could not be resolved
hal/rtc_api.h:42: warning: explicit link request to 'rtc_enabled_test' could not be resolved
hal/rtc_api.h:48: warning: explicit link request to 'rtc_range_test' could not be resolved
hal/rtc_api.h:49: warning: explicit link request to 'rtc_glitch_test' could not be resolved
hal/rtc_api.h:54: warning: explicit link request to 'rtc_init_test' could not be resolved
hal/rtc_api.h:55: warning: explicit link request to 'rtc_accuracy_test' could not be resolved
hal/rtc_api.h:56: warning: explicit link request to 'rtc_persist_test' could not be resolved
hal/rtc_api.h:57: warning: explicit link request to 'rtc_reset_test' could not be resolved
hal/rtc_api.h:58: warning: explicit link request to 'rtc_sleep_test' could not be resolved
hal/rtc_api.h:61: warning: explicit link request to 'rtc_write_read_test' could not be resolved
hal/rtc_api.h:63: warning: explicit link request to 'rtc_enabled_test' could not be resolved
hal/rtc_api.h:69: warning: explicit link request to 'rtc_range_test' could not be resolved
hal/rtc_api.h:70: warning: explicit link request to 'rtc_glitch_test' could not be resolved
hal/rtc_api.h:78: warning: explicit link request to 'rtc_init_test' could not be resolved
hal/us_ticker_api.h:100: warning: explicit link request to 'ticker_overflow_test' could not be resolved
hal/us_ticker_api.h:101: warning: explicit link request to 'ticker_interrupt_test' could not be resolved
hal/us_ticker_api.h:104: warning: explicit link request to 'ticker_init_test' could not be resolved
hal/us_ticker_api.h:105: warning: explicit link request to 'ticker_init_test' could not be resolved
hal/us_ticker_api.h:106: warning: explicit link request to 'ticker_info_test' could not be resolved
hal/us_ticker_api.h:107: warning: explicit link request to 'ticker_overflow_test' could not be resolved
hal/us_ticker_api.h:108: warning: explicit link request to 'ticker_frequency_test' could not be resolved
hal/us_ticker_api.h:109: warning: explicit link request to 'ticker_increment_test' could not be resolved
hal/us_ticker_api.h:111: warning: explicit link request to 'ticker_interrupt_test' could not be resolved
hal/us_ticker_api.h:111: warning: explicit link request to 'ticker_past_test' could not be resolved
hal/us_ticker_api.h:112: warning: explicit link request to 'ticker_repeat_reschedule_test' could not be resolved
hal/us_ticker_api.h:114: warning: explicit link request to 'ticker_fire_now_test' could not be resolved
hal/us_ticker_api.h:116: warning: explicit link request to 'ticker_speed_test' could not be resolved
hal/us_ticker_api.h:126: warning: explicit link request to 'ticker_repeat_reschedule_test' could not be resolved
hal/us_ticker_api.h:127: warning: explicit link request to 'ticker_overflow_test' could not be resolved
hal/us_ticker_api.h:128: warning: explicit link request to 'ticker_overflow_test' could not be resolved
hal/us_ticker_api.h:129: warning: explicit link request to 'ticker_interrupt_test' could not be resolved
hal/us_ticker_api.h:157: warning: explicit link request to 'ticker_init_test' could not be resolved
hal/us_ticker_api.h:230: warning: documented symbol 'uint32_t' was not declared or defined.
hal/us_ticker_api.h:31: warning: explicit link request to 'us_ticker_info_test' could not be resolved
hal/us_ticker_api.h:32: warning: explicit link request to 'us_ticker_info_test' could not be resolved
hal/us_ticker_api.h:53: warning: explicit link request to 'us_ticker_info_test' could not be resolved
hal/us_ticker_api.h:56: warning: explicit link request to 'us_ticker_info_test' could not be resolved
hal/us_ticker_api.h:57: warning: explicit link request to 'us_ticker_info_test' could not be resolved
hal/us_ticker_api.h:58: warning: explicit link request to 'us_ticker_info_test' could not be resolved
hal/us_ticker_api.h:76: warning: explicit link request to 'ticker_init_test' could not be resolved
hal/us_ticker_api.h:77: warning: explicit link request to 'ticker_init_test' could not be resolved
hal/us_ticker_api.h:78: warning: explicit link request to 'ticker_info_test' could not be resolved
hal/us_ticker_api.h:79: warning: explicit link request to 'ticker_overflow_test' could not be resolved
hal/us_ticker_api.h:79: warning: explicit link request to 'us_ticker_info_test' could not be resolved
hal/us_ticker_api.h:80: warning: explicit link request to 'ticker_frequency_test' could not be resolved
hal/us_ticker_api.h:81: warning: explicit link request to 'ticker_increment_test' could not be resolved
hal/us_ticker_api.h:83: warning: explicit link request to 'ticker_interrupt_test' could not be resolved
hal/us_ticker_api.h:83: warning: explicit link request to 'ticker_past_test' could not be resolved
hal/us_ticker_api.h:84: warning: explicit link request to 'ticker_repeat_reschedule_test' could not be resolved
hal/us_ticker_api.h:86: warning: explicit link request to 'ticker_fire_now_test' could not be resolved
hal/us_ticker_api.h:88: warning: explicit link request to 'ticker_speed_test' could not be resolved
hal/us_ticker_api.h:98: warning: explicit link request to 'ticker_repeat_reschedule_test' could not be resolved
hal/us_ticker_api.h:99: warning: explicit link request to 'ticker_overflow_test' could not be resolved

Is this a known issue or fixed in newer releases? I looked in master branch for a few of them and it looked the same.

Thanks