https://github.com/adamgreen/gcc4mbed/blob/master/notes/new_devices.creole#adding-new-devices-to-gcc4mbed cd C:\Ac6\workspace\mbed-micro\mbed-master\workspace_tools build.py -h build.py -m NUCLEO_F446RE -t GCC_ARM -v | more ========================================================= Compile: hal_tick.c [DEBUG] Command: arm-none-eabi-gcc -std=gnu99 -c -Wall -Wextra -Wno-unused-param eter -Wno-missing-field-initializers -fmessage-length=0 -fno-exceptions -fno-bui ltin -ffunction-sections -fdata-sections -MMD -fno-delete-null-pointer-checks -f omit-frame-pointer -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -O2 -DTARGET_M4 -DTARGET_FF_ARDUINO -DTOOLCHAIN_GCC_ARM -DTOOLCHAIN_GCC -DTARGET _RTOS_M4_M7 -DMBED_BUILD_TIMESTAMP=1455582277.11 -DTARGET_FF_MORPHO -DTARGET_COR TEX_M -D__FPU_PRESENT=1 -DTARGET_STM32F446RE -DTARGET_NUCLEO_F446RE -D__MBED__=1 -DTARGET_STM -DTARGET_STM32F4 -D__CORTEX_M4 -DARM_MATH_CM4 -IC:\Ac6\workspace\m bed-micro\mbed-master\libraries\mbed\targets\cmsis -IC:\Ac6\workspace\mbed-micro \mbed-master\libraries\mbed\targets\cmsis\TARGET_STM -IC:\Ac6\workspace\mbed-mic ro\mbed-master\libraries\mbed\targets\cmsis\TARGET_STM\TARGET_STM32F4 -IC:\Ac6\w orkspace\mbed-micro\mbed-master\libraries\mbed\targets\cmsis\TARGET_STM\TARGET_S TM32F4\TARGET_NUCLEO_F446RE -IC:\Ac6\workspace\mbed-micro\mbed-master\libraries\ mbed\targets\cmsis\TARGET_STM\TARGET_STM32F4\TARGET_NUCLEO_F446RE\TOOLCHAIN_GCC_ ARM -IC:\Ac6\workspace\mbed-micro\mbed-master\libraries\mbed\targets\cmsis\TOOLC HAIN_GCC -o C:\Ac6\workspace\mbed-micro\mbed-master\build\mbed\.temp\TARGET_NUCL EO_F446RE\TOOLCHAIN_GCC_ARM\TARGET_STM\TARGET_STM32F4\TARGET_NUCLEO_F446RE\hal_t ick.o C:\Ac6\workspace\mbed-micro\mbed-master\libraries\mbed\targets\cmsis\TARGE T_STM\TARGET_STM32F4\TARGET_NUCLEO_F446RE\hal_tick.c [DEBUG] Return: 0 =========================================================== -DTARGET_M4 -DTARGET_FF_ARDUINO -DTARGET_RTOS_M4_M7 -DTARGET_FF_MORPHO -DTARGET_CORTEX_M -D__FPU_PRESENT=1 -DTARGET_STM32F446RE -DTARGET_NUCLEO_F446RE -D__MBED__=1 -DTARGET_STM -DTARGET_STM32F4 -D__CORTEX_M4 -DARM_MATH_CM4 =========================================================== # Copyright 2015 weyoui (https://github.com/weyoui) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Vendor/device for which the library should be built. MBED_DEVICE := NUCLEO_F446RE MBED_CLEAN := $(MBED_DEVICE)-MBED-clean # Compiler flags which are specifc to this device. TARGETS_FOR_DEVICE := TARGET_NUCLEO_F446RE TARGET_M4 TARGET_RTOS_M4_M7 TARGET_CORTEX_M TARGET_STM TARGET_STM32F4 TARGETS_FOR_DEVICE += TARGET_STM32F446RE TARGET_FF_ARDUINO TARGET_FF_MORPHO GCC_DEFINES := $(patsubst %,-D%,$(TARGETS_FOR_DEVICE)) GCC_DEFINES += -D__CORTEX_M4 -DARM_MATH_CM4 -D__FPU_PRESENT=1 C_FLAGS := -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb-interwork ASM_FLAGS := -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp LD_FLAGS := -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp # Extra platform specific object files to link into file binary. DEVICE_OBJECTS := # Version of MRI library to use for this device. DEVICE_MRI_LIB := # Linker script to be used. Indicates what code should be placed where in memory. NUCLEO_F446RE_LSCRIPT ?= $(GCC4MBED_DIR)/external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld LSCRIPT = $(NUCLEO_F446RE_LSCRIPT) include $(GCC4MBED_DIR)/build/device-common.mk ========================================================== # Copyright 2015 Adam Green (http://mbed.org/users/AdamGreen/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. PROJECT := HelloWorld DEVICES := DISCO_F407VG \ DISCO_F429ZI \ KL25Z \ LPC1768 \ LPC11C24 \ LPC11U24 \ LPC4330_M4 \ NRF51822 \ NUCLEO_F401RE \ NUCLEO_F411RE \ NUCLEO_F446RE \ NUCLEO_F072RB \ NUCLEO_F103RB \ NUCLEO_L053R8 GCC4MBED_DIR := ../.. NO_FLOAT_SCANF := 1 NO_FLOAT_PRINTF := 1 include $(GCC4MBED_DIR)/build/gcc4mbed.mk ================================================================ Ran C:\eclipse\gcc4mbed-master\gcc4mbed-master\BuildShellDebug.cmd (presented with command prompt: C:\WINDOWS\system32> Command: cd C:\eclipse\gcc4mbed-master\gcc4mbed-master\samples\HelloWorld Command: make -v (GNU Make 3.81) Command: make NUCLEO_F446RE ======================================================================= C:\eclipse\gcc4mbed-master\gcc4mbed-master\samples\HelloWorld>make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-pc-mingw32 C:\eclipse\gcc4mbed-master\gcc4mbed-master\samples\HelloWorld>make NUCLEO_F446RE Compiling main.cpp Compiling ../../src/gcc4mbed.c Compiling ../../external/mbed/libraries/mbed/common/assert.c Compiling ../../external/mbed/libraries/mbed/common/board.c Compiling ../../external/mbed/libraries/mbed/common/error.c Compiling ../../external/mbed/libraries/mbed/common/gpio.c Compiling ../../external/mbed/libraries/mbed/common/lp_ticker_api.c Compiling ../../external/mbed/libraries/mbed/common/mbed_interface.c Compiling ../../external/mbed/libraries/mbed/common/pinmap_common.c Compiling ../../external/mbed/libraries/mbed/common/rtc_time.c Compiling ../../external/mbed/libraries/mbed/common/semihost_api.c Compiling ../../external/mbed/libraries/mbed/common/ticker_api.c Compiling ../../external/mbed/libraries/mbed/common/us_ticker_api.c Compiling ../../external/mbed/libraries/mbed/common/wait_api.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_adc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_adc_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_can.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_cec.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_cortex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_crc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_cryp.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_cryp_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_dac.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_dac_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_dcmi.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_dcmi_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_dma.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_dma_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_dma2d.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_dsi.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_eth.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_flash.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_flash_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_flash_ramfunc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_fmpi2c.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_fmpi2c_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_gpio.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_hash.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_hash_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_hcd.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_i2c.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_i2c_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_i2s.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_i2s_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_irda.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_iwdg.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_lptim.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_ltdc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_ltdc_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_msp_template.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_nand.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_nor.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_pccard.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_pcd.c ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32 f4xx_hal_pcd.c: In function 'PCD_WriteEmptyTxFifo': ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32 f4xx_hal_pcd.c:1169:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > ep->maxpacket) ^ ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32 f4xx_hal_pcd.c:1184:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > ep->maxpacket) ^ Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_pcd_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_pwr.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_pwr_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_qspi.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_rcc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_rcc_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_rng.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_rtc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_rtc_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_sai.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_sai_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_sd.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_sdram.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_smartcard.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_spdifrx.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_spi.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_sram.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_tim.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_tim_ex.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_uart.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_usart.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_hal_wwdg.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_ll_fmc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_ll_fsmc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_ll_sdmmc.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/stm32f4xx_ll_usb.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/TARGET_NUCLEO_F446RE/cmsis_nvic.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/TARGET_NUCLEO_F446RE/hal_tick.c Compiling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM 32F4/TARGET_NUCLEO_F446RE/system_stm32f4xx.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/analogin_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/analogout_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/gpio_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/gpio_irq_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/i2c_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/mbed_overrides.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/pinmap.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/port_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/pwmout_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/rtc_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/serial_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/sleep.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/spi_api.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/us_ticker.c Compiling ../../external/mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32 F4/TARGET_NUCLEO_F446RE/PeripheralPins.c Compiling ../../external/mbed/libraries/mbed/common/BusIn.cpp Compiling ../../external/mbed/libraries/mbed/common/BusInOut.cpp Compiling ../../external/mbed/libraries/mbed/common/BusOut.cpp Compiling ../../external/mbed/libraries/mbed/common/CallChain.cpp Compiling ../../external/mbed/libraries/mbed/common/CAN.cpp Compiling ../../external/mbed/libraries/mbed/common/Ethernet.cpp Compiling ../../external/mbed/libraries/mbed/common/FileBase.cpp Compiling ../../external/mbed/libraries/mbed/common/FileLike.cpp Compiling ../../external/mbed/libraries/mbed/common/FilePath.cpp Compiling ../../external/mbed/libraries/mbed/common/FileSystemLike.cpp Compiling ../../external/mbed/libraries/mbed/common/I2C.cpp Compiling ../../external/mbed/libraries/mbed/common/I2CSlave.cpp Compiling ../../external/mbed/libraries/mbed/common/InterruptIn.cpp Compiling ../../external/mbed/libraries/mbed/common/InterruptManager.cpp Compiling ../../external/mbed/libraries/mbed/common/LocalFileSystem.cpp Compiling ../../external/mbed/libraries/mbed/common/RawSerial.cpp Compiling ../../external/mbed/libraries/mbed/common/retarget.cpp Compiling ../../external/mbed/libraries/mbed/common/Serial.cpp Compiling ../../external/mbed/libraries/mbed/common/SerialBase.cpp Compiling ../../external/mbed/libraries/mbed/common/SPI.cpp Compiling ../../external/mbed/libraries/mbed/common/SPISlave.cpp Compiling ../../external/mbed/libraries/mbed/common/Stream.cpp Compiling ../../external/mbed/libraries/mbed/common/Ticker.cpp Compiling ../../external/mbed/libraries/mbed/common/Timeout.cpp Compiling ../../external/mbed/libraries/mbed/common/Timer.cpp Compiling ../../external/mbed/libraries/mbed/common/TimerEvent.cpp Assembling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_ST M32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.s Linking debug library ../../external/mbed/Debug/NUCLEO_F446RE/mbed.a Linking NUCLEO_F446RE/HelloWorld.elf Extracting NUCLEO_F446RE/HelloWorld.bin Extracting NUCLEO_F446RE/HelloWorld.hex Extracting disassembly to NUCLEO_F446RE/HelloWorld.disasm text data bss dec hex filename 27356 132 784 28272 6e70 NUCLEO_F446RE/HelloWorld.elf - C:\eclipse\gcc4mbed-master\gcc4mbed-master\samples\HelloWorld> ============================================================== cd NUCLEO_F446RE dir ============================================================== C:\eclipse\gcc4mbed-master\gcc4mbed-master\samples\HelloWorld\NUCLEO_F446RE>dir Volume in drive C is Windows 8.1 Volume Serial Number is 16E1-FA81 Directory of C:\eclipse\gcc4mbed-master\gcc4mbed-master\samples\HelloWorld\NUCL EO_F446RE 16/02/2016 02:17 p.m. . 16/02/2016 02:17 p.m. .. 16/02/2016 02:16 p.m. 15,092 gcc4mbed.d 16/02/2016 02:16 p.m. 890,496 gcc4mbed.o 16/02/2016 02:17 p.m. 27,488 HelloWorld.bin 16/02/2016 02:17 p.m. 470,471 HelloWorld.disasm 16/02/2016 02:17 p.m. 1,290,892 HelloWorld.elf 16/02/2016 02:17 p.m. 77,374 HelloWorld.hex 16/02/2016 02:17 p.m. 3,557,130 HelloWorld.map 16/02/2016 02:16 p.m. 23,238 main.d 16/02/2016 02:16 p.m. 937,908 main.o 9 File(s) 7,290,089 bytes 2 Dir(s) 29,185,224,704 bytes free ============================================================== Command: Copy C:\eclipse\gcc4mbed-master\gcc4mbed-master\samples\HelloWorld\NUCLEO_F446RE\HelloWorld.bin H:\ (1 file(s) copied.) Reset Command: arm-none-eabi-gdb HelloWorld.elf --baud 460800 -ex "set target-charset ASCII" -ex "set print pretty on" -ex "set remotelogfile mri.log" -ex "target remote com5" ============================================================== C:\eclipse\gcc4mbed-master\gcc4mbed-master\samples\HelloWorld\NUCLEO_F446RE>arm- none-eabi-gdb HelloWorld.elf --baud 460800 -ex "set target-charset ASCII" -ex "s et print pretty on" -ex "set remotelogfile mri.log" -ex "target remote com5" GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20151217-cvs Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from HelloWorld.elf...done. Remote debugging using com5 Ignoring packet error, continuing... warning: unrecognized item "timeout" in "qSupported" response Ignoring packet error, continuing... Ignoring packet error, continuing... Bogus trace status reply from target: timeout (gdb) (gdb) list 1 /* Test which brings default HelloWorld project from mbed online compile r 2 to be built under GCC. 3 */ 4 #include "mbed.h" 5 6 DigitalOut myled(LED1); 7 Serial pc(USBTX, USBRX); // tx, rx 8 9 int main() 10 { (gdb) next The program is not being run. (gdb) q ======================================================================= 14:53:03 : ST-LINK SN : 0669FF575256867067024210 14:53:03 : ST-LINK Firmware version : V2J25M13 14:53:03 : Connected via SWD. 14:53:03 : SWD Frequency = 1,8 MHz. 14:53:03 : Connection mode : Normal. 14:53:03 : Debug in Low Power mode enabled. 14:53:03 : Device ID:0x421 14:53:03 : Device flash Size : 512KBytes 14:53:03 : Device family :STM32F446xx 14:55:43 : [HelloWorld.bin] opened successfully. 14:55:43 : [HelloWorld.bin] checksum : 0xC26B89C5 ======================================================================= H Drive: DETAILS.TXT Version: 0221 Build: Nov 4 2015 15:25:25 =======================================================================