ARMmbed / mbed-os

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

uvision export doesn't include rtos & rtx source files #1177

Closed mfiore02 closed 8 years ago

mfiore02 commented 9 years ago

The exporter doesn't include the rtos source files when exporting a program using rtos to uvision. I tested this with the RTOS_1 program and NUCLEO_F411RE. The export succeeded, but the build in uvision4 failed:

linking... .\build\RTOS_1.axf: Error: L6218E: Undefined symbol rtos::Thread::wait(unsigned) (referred from main.o). .\build\RTOS1.axf: Error: L6218E: Undefined symbol rtos::Thread::Thread(void()(const void), void, osPriority, unsigned, unsigned char_) (referred from main.o). Not enough information to list image symbols. Finished: 1 information, 0 warning and 2 error messages. ".\build\RTOS_1.axf" - 2 Error(s), 2 Warning(s). Target not created

The rtos and rtx source files were nowhere to be found.

ohagendorf commented 9 years ago

Did you make a build.py ... -r before?

0xc0170 commented 9 years ago

As @ohagendorf pointed out above. The script does not build required libraries, you have to do it prior exporting. Does that help ?

mfiore02 commented 9 years ago

Maybe I'm confused. I thought the exporter (project.py) exported source code for the mbed and other libraries unless the -b option was used. If the source code is getting exported by default, why would I have to build first?

I've done the following:

python workspace_tools/build.py -m NUCLEO_F411RE -t GCC_ARM -c -j 0 --rtos ............ Build successes:

python workspace_tools/project.py -m NUCLEO_F411RE -i uvision -c -n RTOS_1 ............. Successful exports:

cp /home/mfiore/work/mbed_devel/mbed/build/export/RTOS_1_uvision_NUCLEO_F411RE.zip . unzip RTOS_1_uvision_NUCLEO_F411RE.zip find RTOS1/ -name ".c" -o -name "_.cpp" RTOS_1/env/test_env.cpp RTOS_1/main.cpp RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/port_api.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/rtc_api.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/spi_api.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/mbed_overrides.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/analogout_api.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/pwmout_api.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/gpio_api.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/analogin_api.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/us_ticker.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/i2c_api.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PeripheralPins.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/pinmap.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/sleep.c RTOS_1/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/gpio_irq_api.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_iwdg.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_eth.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cec.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sd.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ramfunc.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_smartcard.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fsmc.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spi.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spdifrx.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nor.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_sdmmc.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_usart.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rng.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fmc.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pccard.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_uart.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hcd.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sram.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_irda.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_msp_template.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cortex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sdram.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c_ex.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_MICRO/sys.cpp RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/system_stm32f4xx.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis_nvic.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/hal_tick.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_crc.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_qspi.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nand.c RTOS_1/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_wwdg.c RTOS_1/mbed/common/ticker_api.c RTOS_1/mbed/common/Timer.cpp RTOS_1/mbed/common/FileSystemLike.cpp RTOS_1/mbed/common/I2C.cpp RTOS_1/mbed/common/SPISlave.cpp RTOS_1/mbed/common/SerialBase.cpp RTOS_1/mbed/common/BusIn.cpp RTOS_1/mbed/common/RawSerial.cpp RTOS_1/mbed/common/FileBase.cpp RTOS_1/mbed/common/CallChain.cpp RTOS_1/mbed/common/gpio.c RTOS_1/mbed/common/lp_ticker_api.c RTOS_1/mbed/common/retarget.cpp RTOS_1/mbed/common/pinmap_common.c RTOS_1/mbed/common/I2CSlave.cpp RTOS_1/mbed/common/InterruptManager.cpp RTOS_1/mbed/common/Timeout.cpp RTOS_1/mbed/common/LocalFileSystem.cpp RTOS_1/mbed/common/Ethernet.cpp RTOS_1/mbed/common/Stream.cpp RTOS_1/mbed/common/Ticker.cpp RTOS_1/mbed/common/FilePath.cpp RTOS_1/mbed/common/us_ticker_api.c RTOS_1/mbed/common/FileLike.cpp RTOS_1/mbed/common/SPI.cpp RTOS_1/mbed/common/wait_api.c RTOS_1/mbed/common/assert.c RTOS_1/mbed/common/BusOut.cpp RTOS_1/mbed/common/CAN.cpp RTOS_1/mbed/common/mbed_interface.c RTOS_1/mbed/common/error.c RTOS_1/mbed/common/BusInOut.cpp RTOS_1/mbed/common/semihost_api.c RTOS_1/mbed/common/Serial.cpp RTOS_1/mbed/common/TimerEvent.cpp RTOS_1/mbed/common/InterruptIn.cpp RTOS_1/mbed/common/rtc_time.c RTOS_1/mbed/common/board.c

find RTOS_1/rtos/ RTOS_1/rtos/ RTOS_1/rtos/Mutex.h RTOS_1/rtos/Semaphore.h RTOS_1/rtos/MemoryPool.h RTOS_1/rtos/Mail.h RTOS_1/rtos/Queue.h RTOS_1/rtos/rtos.h RTOS_1/rtos/RtosTimer.h RTOS_1/rtos/TARGET_CORTEX_M RTOS_1/rtos/TARGET_CORTEX_M/rt_Event.h RTOS_1/rtos/TARGET_CORTEX_M/rt_List.h RTOS_1/rtos/TARGET_CORTEX_M/RTX_CM_lib.h RTOS_1/rtos/TARGET_CORTEX_M/rt_Mailbox.h RTOS_1/rtos/TARGET_CORTEX_M/rt_Time.h RTOS_1/rtos/TARGET_CORTEX_M/cmsis_os.h RTOS_1/rtos/TARGET_CORTEX_M/rt_Robin.h RTOS_1/rtos/TARGET_CORTEX_M/rt_System.h RTOS_1/rtos/TARGET_CORTEX_M/rt_MemBox.h RTOS_1/rtos/TARGET_CORTEX_M/RTX_Conf.h RTOS_1/rtos/TARGET_CORTEX_M/rt_Semaphore.h RTOS_1/rtos/TARGET_CORTEX_M/rt_Mutex.h RTOS_1/rtos/TARGET_CORTEX_M/rt_TypeDef.h RTOS_1/rtos/TARGET_CORTEX_M/rt_Task.h RTOS_1/rtos/TARGET_CORTEX_M/rt_HAL_CM.h RTOS_1/rtos/TARGET_CORTEX_M/os_tcb.h RTOS_1/rtos/Thread.h

All of the rtos & rtx headers got pulled in, but not the source files...

ohagendorf commented 9 years ago

The libraries (rtos, dsp, ethernet, ...) are included only in binary form by project.py. Somewhere in the Python code you would find a comment, that there is some work to do to include also libraries in source code. But this part is not yet done.

mfiore02 commented 9 years ago

Ah, I see. If that's the case, then I should be finding librtos.a or something similar in the export directory, yes? I can't seem to find anything that looks like a binary version of the rtos library.

ciarmcom commented 8 years ago

ARM Internal Ref: IOTMORF-257

0xc0170 commented 8 years ago

@mfiore02 Is this still relevant?

mfiore02 commented 8 years ago

@0xc0170 I will retest against the latest 5.x revision and get back to you.

mfiore02 commented 8 years ago

@0xc0170 Export seemed OK. The build failed miserably, however. I exported for UVISION5 and NUCLEO_F411RE. The app built fine with GCC_ARM and ran properly on the target.

mbed-os-5.1.0-164-gf3d652b

*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'Unnamed_Project' compiling test_env.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/frameworks/greentea-client/source/test_env.cpp(577): warning: #111-D: statement is unreachable ../../mbed-os/features/frameworks/greentea-client/source/test_env.cpp: 1 warning, 9 errors compiling unity.c... compiling mbed-utest-shim.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/frameworks/utest/mbed-utest-shim.cpp: 0 warnings, 9 errors compiling unity_handler.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/frameworks/utest/source/unity_handler.cpp: 0 warnings, 9 errors compiling utest_case.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/frameworks/utest/source/utest_case.cpp: 0 warnings, 9 errors compiling utest_default_handlers.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/frameworks/utest/source/utest_default_handlers.cpp: 0 warnings, 9 errors compiling utest_greentea_handlers.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/frameworks/utest/source/utest_greentea_handlers.cpp: 0 warnings, 9 errors compiling utest_harness.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/frameworks/utest/source/utest_harness.cpp: 0 warnings, 9 errors compiling utest_serial.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/frameworks/utest/source/utest_serial.cpp: 0 warnings, 9 errors compiling utest_shim.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/frameworks/utest/source/utest_shim.cpp(124): warning: #111-D: statement is unreachable ../../mbed-os/features/frameworks/utest/source/utest_shim.cpp: 1 warning, 9 errors compiling utest_stack_trace.cpp... compiling utest_types.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/frameworks/utest/source/utest_types.cpp: 0 warnings, 9 errors compiling aes.c... compiling aesni.c... compiling arc4.c... compiling asn1parse.c... compiling asn1write.c... compiling base64.c... compiling bignum.c... compiling blowfish.c... compiling camellia.c... compiling ccm.c... compiling certs.c... compiling cipher.c... compiling cipher_wrap.c... compiling ctr_drbg.c... compiling debug.c... compiling des.c... compiling dhm.c... compiling ecdh.c... compiling ecdsa.c... compiling ecjpake.c... compiling ecp.c... compiling ecp_curves.c... compiling entropy.c... compiling entropy_poll.c... compiling error.c... compiling gcm.c... compiling havege.c... compiling hmac_drbg.c... compiling md.c... compiling md2.c... compiling md4.c... compiling md5.c... compiling md_wrap.c... compiling memory_buffer_alloc.c... compiling net.c... compiling oid.c... compiling padlock.c... compiling pem.c... compiling pk.c... compiling pk_wrap.c... compiling pkcs11.c... compiling pkcs12.c... compiling pkcs5.c... compiling pkparse.c... compiling pkwrite.c... compiling platform.c... compiling ripemd160.c... compiling rsa.c... compiling sha1.c... compiling sha256.c... compiling sha512.c... compiling ssl_cache.c... compiling ssl_ciphersuites.c... compiling ssl_cli.c... compiling ssl_cookie.c... compiling ssl_srv.c... compiling ssl_ticket.c... compiling ssl_tls.c... compiling threading.c... compiling timing.c... compiling version.c... compiling version_features.c... compiling x509.c... compiling x509_create.c... compiling x509_crl.c... compiling x509_crt.c... compiling x509_csr.c... compiling x509write_crt.c... compiling x509write_csr.c... compiling xtea.c... compiling NetworkStack.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/net/network-socket/NetworkStack.cpp: 0 warnings, 9 errors compiling Socket.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/net/network-socket/Socket.cpp: 0 warnings, 9 errors compiling SocketAddress.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/net/network-socket/SocketAddress.cpp: 0 warnings, 9 errors compiling TCPServer.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/features/net/network-socket/TCPServer.cpp: 0 warnings, 9 errors compiling TCPSocket.cpp... compiling UDPSocket.cpp... compiling DnsQuery.cpp... compiling AnalogIn.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/common/AnalogIn.cpp: 0 warnings, 9 errors compiling BusIn.cpp... compiling BusInOut.cpp... compiling BusOut.cpp... compiling CallChain.cpp... compiling CAN.cpp... compiling Ethernet.cpp... compiling FileBase.cpp... compiling FileLike.cpp... compiling FilePath.cpp... compiling FileSystemLike.cpp... compiling I2C.cpp... compiling I2CSlave.cpp... compiling InterruptIn.cpp... compiling InterruptManager.cpp... compiling LocalFileSystem.cpp... compiling mbed_assert.c... compiling mbed_board.c... compiling mbed_critical.c... compiling mbed_error.c... compiling mbed_gpio.c... compiling mbed_interface.c... compiling mbed_lp_ticker_api.c... compiling mbed_pinmap_common.c... compiling mbed_rtc_time.cpp... compiling mbed_semihost_api.c... compiling mbed_ticker_api.c... compiling mbed_us_ticker_api.c... compiling mbed_wait_api_no_rtos.c... compiling mbed_wait_api_rtos.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/common/mbed_wait_api_rtos.cpp: 0 warnings, 9 errors compiling RawSerial.cpp... compiling retarget.cpp... "no source": Warning: #541-D: allowing all exceptions is incompatible with previous function "operator new(std::size_t)" (declared at line 78 of "C:\Keil_v5\ARM\ARMCC\Bin..\include\new") "no source": Warning: #541-D: allowing all exceptions is incompatible with previous function "operator new" (declared at line 97 of "C:\Keil_v5\ARM\ARMCC\Bin..\include\new") "no source": Warning: #541-D: allowing all exceptions is incompatible with previous function "operator delete(void )" (declared at line 81 of "C:\Keil_v5\ARM\ARMCC\Bin..\include\new") "no source": Warning: #541-D: allowing all exceptions is incompatible with previous function "operator delete[](void )" (declared at line 100 of "C:\Keil_v5\ARM\ARMCC\Bin..\include\new") ../../mbed-os/hal/common/retarget.cpp: 4 warnings, 0 errors compiling Serial.cpp... compiling SerialBase.cpp... compiling SPI.cpp... compiling SPISlave.cpp... compiling Stream.cpp... compiling Ticker.cpp... ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/common/Ticker.cpp: 0 warnings, 4 errors compiling Timeout.cpp... compiling Timer.cpp... compiling TimerEvent.cpp... compiling stm32f4xx_hal.c... compiling stm32f4xx_hal_adc.c... compiling stm32f4xx_hal_adc_ex.c... compiling stm32f4xx_hal_can.c... ../../mbed-os/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.c(1424): warning: #1565-D: white space between backslash and newline in line splice ignored ../../mbed-os/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.c: 1 warning, 0 errors compiling stm32f4xx_hal_cec.c... compiling stm32f4xx_hal_cortex.c... compiling stm32f4xx_hal_crc.c... compiling stm32f4xx_hal_cryp.c... compiling stm32f4xx_hal_cryp_ex.c... compiling stm32f4xx_hal_dac.c... compiling stm32f4xx_hal_dac_ex.c... compiling stm32f4xx_hal_dcmi.c... compiling stm32f4xx_hal_dcmi_ex.c... compiling stm32f4xx_hal_dfsdm.c... compiling stm32f4xx_hal_dma.c... compiling stm32f4xx_hal_dma2d.c... compiling stm32f4xx_hal_dma_ex.c... compiling stm32f4xx_hal_dsi.c... compiling stm32f4xx_hal_eth.c... compiling stm32f4xx_hal_flash.c... compiling stm32f4xx_hal_flash_ex.c... compiling stm32f4xx_hal_flash_ramfunc.c... compiling stm32f4xx_hal_fmpi2c.c... compiling stm32f4xx_hal_fmpi2c_ex.c... compiling stm32f4xx_hal_gpio.c... compiling stm32f4xx_hal_hash.c... compiling stm32f4xx_hal_hash_ex.c... compiling stm32f4xx_hal_hcd.c... compiling stm32f4xx_hal_i2c.c... compiling stm32f4xx_hal_i2c_ex.c... compiling stm32f4xx_hal_i2s.c... compiling stm32f4xx_hal_i2s_ex.c... compiling stm32f4xx_hal_irda.c... compiling stm32f4xx_hal_iwdg.c... compiling stm32f4xx_hal_lptim.c... compiling stm32f4xx_hal_ltdc.c... compiling stm32f4xx_hal_ltdc_ex.c... compiling stm32f4xx_hal_msp_template.c... compiling stm32f4xx_hal_nand.c... compiling stm32f4xx_hal_nor.c... compiling stm32f4xx_hal_pccard.c... compiling stm32f4xx_hal_pcd.c... compiling stm32f4xx_hal_pcd_ex.c... compiling stm32f4xx_hal_pwr.c... compiling stm32f4xx_hal_pwr_ex.c... compiling stm32f4xx_hal_qspi.c... compiling stm32f4xx_hal_rcc.c... compiling stm32f4xx_hal_rcc_ex.c... compiling stm32f4xx_hal_rng.c... compiling stm32f4xx_hal_rtc.c... compiling stm32f4xx_hal_rtc_ex.c... compiling stm32f4xx_hal_sai.c... compiling stm32f4xx_hal_sai_ex.c... compiling stm32f4xx_hal_sd.c... compiling stm32f4xx_hal_sdram.c... compiling stm32f4xx_hal_smartcard.c... compiling stm32f4xx_hal_spdifrx.c... compiling stm32f4xx_hal_spi.c... compiling stm32f4xx_hal_sram.c... compiling stm32f4xx_hal_tim.c... compiling stm32f4xx_hal_tim_ex.c... compiling stm32f4xx_hal_uart.c... compiling stm32f4xx_hal_usart.c... compiling stm32f4xx_hal_wwdg.c... compiling stm32f4xx_ll_fmc.c... compiling stm32f4xx_ll_fsmc.c... compiling stm32f4xx_ll_sdmmc.c... compiling stm32f4xx_ll_usb.c... ../../mbed-os/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.c(786): warning: #3108-D: attribute "packed" does not apply here ../../mbed-os/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.c(812): warning: #3108-D: attribute "packed" does not apply here ../../mbed-os/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.c: 2 warnings, 0 errors compiling cmsis_nvic.c... compiling hal_tick.c... compiling system_stm32f4xx.c... assembling startup_stm32f411xe.S... compiling sys.cpp... compiling analogin_api.c... compiling analogout_api.c... compiling can_api.c... compiling gpio_api.c... compiling gpio_irq_api.c... compiling i2c_api.c... compiling mbed_overrides.c... compiling pinmap.c... compiling port_api.c... compiling pwmout_api.c... compiling rtc_api.c... compiling serial_api.c... compiling sleep.c... compiling spi_api.c... compiling us_ticker.c... compiling PeripheralPins.c... compiling Mutex.cpp... compiling rtos_idle.c... compiling RtosTimer.cpp... ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.cpp: 0 warnings, 9 errors compiling Semaphore.cpp... compiling Thread.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.cpp: 0 warnings, 9 errors compiling HAL_CM.c... compiling rt_CMSIS.c... Internal fault: [0xc43ed8:5050169] in osMailGet Please contact your supplier. compiling rt_Event.c... compiling rt_List.c... compiling rt_Mailbox.c... compiling rt_MemBox.c... compiling rt_Memory.c... compiling rt_Mutex.c... compiling rt_OsEventObserver.c... compiling rt_Robin.c... compiling rt_Semaphore.c... compiling rt_System.c... compiling rt_Task.c... compiling rt_Time.c... compiling rt_Timer.c... compiling RTX_Conf_CM.c... compiling HAL_CM4.c... assembling SVC_Table.S... compiling main.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../projectfiles/uvision5_NUCLEO_F411RE/main.cpp: 0 warnings, 9 errors compiling main.cpp... ../../mbed-os/rtos/rtos/Thread.h(61): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(86): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(112): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/Thread.h(137): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/rtos/rtos/RtosTimer.h(47): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(32): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(38): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(51): error: #1209: invalid argument to attribute "deprecated" ../../mbed-os/hal/api/FunctionPointer.h(57): error: #1209: invalid argument to attribute "deprecated" ../../src/main.cpp: 0 warnings, 9 errors "..build\uvision5\Unnamed_Project.axf" - 184 Error(s), 5 Warning(s). Target not created. Build Time Elapsed: 00:04:42

0xc0170 commented 8 years ago

I suspect thats because of old armcc version. The newer one (not certain now the exact version) does compile ok

mfiore02 commented 8 years ago

Ok, I'll close the issue then.