mbed-ce / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
85 stars 16 forks source link

cannot find -lmbed-events: No such file or directory #223

Closed lefebvresam closed 9 months ago

lefebvresam commented 9 months ago

At the end of the linking:

... source/dmaflash/libdmaflash.a  RA8875/libRA8875.a  mbed-os/storage/libmbed-storage.a  mbed-os/storage/filesystem/fat/libmbed-storage-fat.a  mbed-os/storage/filesystem/littlefs/libmbed-storage-littlefs.a  mbed-os/storage/filesystem/littlefsv2/libmbed-storage-littlefs-v2.a  mbed-os/storage/filesystem/libmbed-storage-filesystem.a  mbed-os/storage/blockdevice/COMPONENT_SD/libmbed-storage-sd.a  mbed-os/storage/blockdevice/COMPONENT_SPIF/libmbed-storage-spif.a  mbed-os/storage/blockdevice/libmbed-storage-blockdevice.a  mbed-os/connectivity/mbedtls/libmbed-mbedtls.a  -lmbed-events && :
/usr/local/gcc-arm/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: cannot find -lmbed-events: No such file or directory
/usr/local/gcc-arm/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: cannot find -lmbed-events: No such file or directory
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Compiling failed

In the file build.ninja there is a line LINK_LIBRARIES for source/hmc20.elf the starts with -lmbed-events and also ends with -lmbed-events

#############################################
# Link the executable source/hmc20.elf

build source/hmc20.elf: CXX_EXECUTABLE_LINKER__hmc20_develop mbed-os/CMakeFiles/mbed-os.dir/__/HMC20/PeripheralPins.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/TARGET_STM32U575xG/TOOLCHAIN_GCC_ARM/startup_stm32u575xx.S.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/TARGET_STM32U575xG/system_clock.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/analogin_device.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/analogout_device.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/flash_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/gpio_irq_device.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/pwmout_device.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/i2c_device.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/serial_device.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/spi_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/USBPhy_STM32.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/analogin_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/analogout_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/can_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/gpio_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/gpio_irq_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/hal_tick_overrides.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/i2c_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/lp_ticker.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/mbed_crc_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/mbed_overrides.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/ospi_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/pinmap.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/port_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/pwmout_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/qspi_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/reset_reason.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/rtc_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/serial_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/sleep.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/stm_spi_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/trng_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/us_ticker.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/watchdog_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/stm_dma_utils.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/TARGET_CORTEX_M/Source/mbed_tz_context.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_adc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_adc_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_comp.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_cordic.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_cortex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_crc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_crc_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_cryp.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_cryp_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_dac.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_dac_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_dcache.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_dcmi.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_dma.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_dma2d.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_dma_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_dsi.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_exti.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_fdcan.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_flash.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_flash_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_fmac.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_gfxmmu.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_gpio.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_gpu2d.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_gtzc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_hash.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_hash_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_hcd.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_i2c.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_i2c_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_icache.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_irda.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_iwdg.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_lptim.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_ltdc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_ltdc_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_mdf.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_mmc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_mmc_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_nand.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_nor.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_opamp.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_opamp_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_ospi.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_otfdec.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_pcd.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_pcd_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_pka.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_pssi.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_pwr.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_pwr_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_ramcfg.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_rcc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_rcc_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_rng.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_rng_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_rtc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_rtc_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_sai.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_sai_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_sd.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_sd_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_smartcard.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_smartcard_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_smbus.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_smbus_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_spi.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_spi_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_sram.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_tim.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_tim_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_tsc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_uart.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_uart_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_usart.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_usart_ex.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_wwdg.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_hal_xspi.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_adc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_comp.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_cordic.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_crc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_crs.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_dac.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_dlyb.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_dma.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_dma2d.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_exti.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_fmac.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_fmc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_gpio.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_i2c.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_icache.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_lpgpio.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_lptim.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_lpuart.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_opamp.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_pka.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_pwr.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_rcc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_rng.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_rtc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_sdmmc.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_spi.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_tim.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_ucpd.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_usart.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_usb.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/STM32U5xx_HAL_Driver/stm32u5xx_ll_utils.c.obj mbed-os/CMakeFiles/mbed-os.dir/targets/TARGET_STM/TARGET_STM32U5/STM32Cube_FW/system_stm32u5xx.c.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/AnalogIn.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/AnalogOut.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/BufferedSerial.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/BusIn.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/BusInOut.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/BusOut.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/CAN.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/DigitalIn.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/DigitalInOut.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/DigitalOut.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/FlashIAP.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/I2C.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/I2CSlave.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/InterruptIn.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/MbedCRC.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/OSPI.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/PortIn.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/PortInOut.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/PortOut.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/PwmOut.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/QSPI.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/ResetReason.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/SPI.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/SPISlave.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/SerialBase.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/SerialWireOutput.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/Ticker.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/Timeout.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/Timer.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/TimerEvent.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/UnbufferedSerial.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/drivers/source/Watchdog.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/hal/usb/source/mbed_usb_phy.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/LowPowerTickerWrapper.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_compat.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_critical_section_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_flash_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_gpio.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_gpio_irq.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_itm_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_lp_ticker_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_lp_ticker_wrapper.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_pinmap_common.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_pinmap_default.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_ticker_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mbed_us_ticker_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/static_pinmap.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mpu/mbed_mpu_v7m.c.obj mbed-os/CMakeFiles/mbed-os.dir/hal/source/mpu/mbed_mpu_v8m.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/cxxsupport/mstd_mutex.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/mbed-trace/source/mbed_trace.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/TARGET_CORTEX_M/TOOLCHAIN_GCC/except.S.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/TARGET_CORTEX_M/mbed_fault_handler.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/minimal-printf/mbed_printf_armlink_overrides.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/minimal-printf/mbed_printf_implementation.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/minimal-printf/mbed_printf_wrapper.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/ATCmdParser.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/CThunkBase.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/CriticalSectionLock.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/DeepSleepLock.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/FileBase.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/FileHandle.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/FilePath.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/FileSystemHandle.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/LocalFileSystem.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/SingletonPtr.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/Stream.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/SysTimer.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_alloc_wrappers.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_application.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_assert.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_atomic_impl.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_board.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_critical.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_error.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_error_hist.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_interface.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_mem_trace.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_mktime.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_mpu_mgmt.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_os_timer.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_poll.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_power_mgmt.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_retarget.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_rtc_time.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_sdk_boot.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_semihost_api.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_stats.c.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_thread.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_wait_api_no_rtos.c.obj mbed-os/CMakeFiles/mbed-os.dir/rtos/source/EventFlags.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/rtos/source/Kernel.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/rtos/source/Mutex.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/rtos/source/Semaphore.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/rtos/source/ThisThread.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/rtos/source/ConditionVariable.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/rtos/source/Thread.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/events/source/EventQueue.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/events/source/equeue.c.obj mbed-os/CMakeFiles/mbed-os.dir/events/source/equeue_mbed.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/events/source/equeue_posix.c.obj mbed-os/CMakeFiles/mbed-os.dir/events/source/mbed_shared_queues.cpp.obj mbed-os/CMakeFiles/mbed-os.dir/connectivity/libraries/nanostack-libservice/source/libBits/common_functions.c.obj mbed-os/CMakeFiles/mbed-os.dir/connectivity/libraries/nanostack-libservice/source/libip6string/ip6tos.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/TOOLCHAIN_GCC/TARGET_M33/irq_armv8mml.S.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Config/RTX_Config.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Library/cmsis_os1.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_delay.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_evflags.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_evr.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_kernel.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_lib.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_memory.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_mempool.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_msgqueue.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_mutex.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_semaphore.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_system.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_thread.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/rtx_timer.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/Source/os_systick.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/CMSIS_5/CMSIS/RTOS2/Source/os_tick_ptim.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/device/rtos/TOOLCHAIN_GCC_ARM/mbed_boot_gcc_arm.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/device/rtos/source/mbed_boot.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/device/rtos/source/mbed_rtos_rtx.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/device/rtos/source/mbed_rtx_handlers.c.obj mbed-os/CMakeFiles/mbed-os.dir/cmsis/device/rtos/source/mbed_rtx_idle.cpp.obj source/CMakeFiles/hmc20.dir/main.cpp.obj source/CMakeFiles/hmc20.dir/display.cpp.obj | RA8875/libRA8875.a source/dmaflash/libdmaflash.a source/widgets/libwidgets.a source/interpreter/libinterpreter.a source/demoapps/apprunlight/libapprunlight.a source/demoapps/appbutton/libappbutton.a source/commandinterface/libcommandinterface.a source/interpreter/libinterpreter.a source/widgets/libwidgets.a source/dmaflash/libdmaflash.a RA8875/libRA8875.a mbed-os/storage/libmbed-storage.a mbed-os/storage/filesystem/fat/libmbed-storage-fat.a mbed-os/storage/filesystem/littlefs/libmbed-storage-littlefs.a mbed-os/storage/filesystem/littlefsv2/libmbed-storage-littlefs-v2.a mbed-os/storage/filesystem/libmbed-storage-filesystem.a mbed-os/storage/blockdevice/COMPONENT_SD/libmbed-storage-sd.a mbed-os/storage/blockdevice/COMPONENT_SPIF/libmbed-storage-spif.a mbed-os/storage/blockdevice/libmbed-storage-blockdevice.a mbed-os/connectivity/mbedtls/libmbed-mbedtls.a || RA8875/libRA8875.a mbed-os/connectivity/mbedtls/libmbed-mbedtls.a mbed-os/mbed-os mbed-os/storage/blockdevice/COMPONENT_SD/libmbed-storage-sd.a mbed-os/storage/blockdevice/COMPONENT_SPIF/libmbed-storage-spif.a mbed-os/storage/blockdevice/libmbed-storage-blockdevice.a mbed-os/storage/filesystem/fat/libmbed-storage-fat.a mbed-os/storage/filesystem/libmbed-storage-filesystem.a mbed-os/storage/filesystem/littlefs/libmbed-storage-littlefs.a mbed-os/storage/filesystem/littlefsv2/libmbed-storage-littlefs-v2.a mbed-os/storage/libmbed-storage.a source/commandinterface/libcommandinterface.a source/demoapps/appbutton/libappbutton.a source/demoapps/apprunlight/libapprunlight.a source/dmaflash/libdmaflash.a source/interpreter/libinterpreter.a source/widgets/libwidgets.a
  FLAGS = -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fmessage-length=0 -fno-exceptions -ffunction-sections -fdata-sections -funsigned-char -fomit-frame-pointer -g3 -mthumb -mfpu=fpv5-sp-d16 -mfloat-abi=softfp -mcpu=cortex-m33 -Wno-register
  LINK_FLAGS = -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group -specs=nosys.specs -Wl,--cref    -Wl,--gc-sections -Wl,--wrap,main -Wl,--wrap,_malloc_r -Wl,--wrap,_free_r -Wl,--wrap,_realloc_r -Wl,--wrap,_memalign_r -Wl,--wrap,_calloc_r -Wl,--wrap,exit -Wl,--wrap,atexit -Wl,-n -Wl,--wrap,printf -Wl,--wrap,sprintf -Wl,--wrap,snprintf -Wl,--wrap,vprintf -Wl,--wrap,vsprintf -Wl,--wrap,vsnprintf -Wl,--wrap,fprintf -Wl,--wrap,vfprintf
  LINK_LIBRARIES = -lmbed-events  RA8875/libRA8875.a  source/dmaflash/libdmaflash.a  source/widgets/libwidgets.a  source/interpreter/libinterpreter.a  source/demoapps/apprunlight/libapprunlight.a  source/demoapps/appbutton/libappbutton.a  source/commandinterface/libcommandinterface.a  source/interpreter/libinterpreter.a  source/widgets/libwidgets.a  source/dmaflash/libdmaflash.a  RA8875/libRA8875.a  mbed-os/storage/libmbed-storage.a  mbed-os/storage/filesystem/fat/libmbed-storage-fat.a  mbed-os/storage/filesystem/littlefs/libmbed-storage-littlefs.a  mbed-os/storage/filesystem/littlefsv2/libmbed-storage-littlefs-v2.a  mbed-os/storage/filesystem/libmbed-storage-filesystem.a  mbed-os/storage/blockdevice/COMPONENT_SD/libmbed-storage-sd.a  mbed-os/storage/blockdevice/COMPONENT_SPIF/libmbed-storage-spif.a  mbed-os/storage/blockdevice/libmbed-storage-blockdevice.a  mbed-os/connectivity/mbedtls/libmbed-mbedtls.a  -lmbed-events
  OBJECT_DIR = source/CMakeFiles/hmc20.dir
  POST_BUILD = :
  PRE_LINK = :
  TARGET_FILE = source/hmc20.elf
  TARGET_PDB = hmc20.elf.dbg
lefebvresam commented 9 months ago

If I remove mbed-events in Target_link_libraries I get the same message but once instead of twice.

target_link_libraries(${APP_TARGET} PRIVATE
    mbed-os
    #mbed-events   
    RA8875
    dmaflash
    widgets
    interpreter
    apprunlight
    appbutton
    commandinterface
)
ibmbed-storage-sd.a  mbed-os/storage/blockdevice/COMPONENT_SPIF/libmbed-storage-spif.a  mbed-os/storage/blockdevice/libmbed-storage-blockdevice.a  mbed-os/connectivity/mbedtls/libmbed-mbedtls.a  -lmbed-events && :
/usr/local/gcc-arm/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: cannot find -lmbed-events: No such file or directory
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Building failed
lefebvresam commented 9 months ago

At several places in the code, I use EventQueue* _queue; To make this possible, I have to add


target_link_libraries(${APP_TARGET} PRIVATE
    mbed-os
    mbed-events
..
)

In the CMakeLists.txt file. And this is not recognized anymore.

lefebvresam commented 9 months ago

If I ommit mbed-events in my CMakeLists.txt files, I get:

...
wcrtomb                                           /usr/local/gcc-arm/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/lib/thumb/v8-m.main+fp/softfp/libc.a(libc_a-wcrtomb.o)
wcsnrtombs                                        /usr/local/gcc-arm/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/lib/thumb/v8-m.main+fp/softfp/libc.a(libc_a-wcsnrtombs.o)
wcsrtombs                                         /usr/local/gcc-arm/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/lib/thumb/v8-m.main+fp/softfp/libc.a(libc_a-wcsrtombs.o)
write                                             mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_retarget.cpp.obj
                                                  mbed-os/CMakeFiles/mbed-os.dir/platform/source/mbed_board.c.obj
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Building failed
lefebvresam commented 9 months ago

It looks like this is not necessary anymore:

target_link_libraries(${APP_TARGET} PRIVATE
    mbed-events
JohnK1987 commented 9 months ago

I tested few sec ago and yes. The mbed-events is part of mbed-os and will be necessary only with mbed-baremetal not with mbed-os.

lefebvresam commented 9 months ago

So in fact if you don't use the baremetal everything is already linked with mbed-os and you don't need to link other modules again? Is there any overview of all mbed modules that can be linked and when to link them?

JohnK1987 commented 9 months ago

That is very good question but I do not have exact answer for you :D The .json configuration was more clear for me. This case is probably because other parts of Mbed OS also need mbed-events for their functionality. So mbed-events have to be already included or part of mbed-os (if i remember same state was in original Mbed with pure .json system). On another hand, for example mbed-usb have to be added manually when you need it and it is not part of mbed-os.

I create a wiki page where we can place useful info about MbedOS configuration

lefebvresam commented 9 months ago

I still find it a weird error. Can not find should not happen.

lefebvresam commented 9 months ago

There are other libs that you have to link before you can use them, like:

target_link_libraries(dmaflash PUBLIC
    mbed-os
    RA8875
    mbed-storage
    mbed-mbedtls
)
multiplemonomials commented 9 months ago

Ah yeah, sorry about that, because of annoying build system reasons I had to make mbed-events part of the main Mbed library. It is not available as a standalone library in Mbed CE under any configurations. @JohnK1987 could you update the wiki page if you have a chance?

JohnK1987 commented 9 months ago

@multiplemonomials as I wrote above I already create the wiki page. It is not final version but it will be slowly updated.

lefebvresam commented 9 months ago

Maybe the error 'cannot find' should change in 'does not exists'. This is more clear. And I suppose that 'do not find' means that it is not recognized anymore as a separate module because it is already adopted in mbed-os.

multiplemonomials commented 9 months ago

I have updated that wiki page to fix the mention of mbed-events and add more libraries (gotta start somewhere!). I think we're good to close this one now right?

lefebvresam commented 9 months ago

Ok for me