Skip to content

Instantly share code, notes, and snippets.

@Tiryoh
Created November 8, 2015 17:02
Show Gist options
  • Save Tiryoh/7108d5df818dc171b0fc to your computer and use it in GitHub Desktop.
Save Tiryoh/7108d5df818dc171b0fc to your computer and use it in GitHub Desktop.
building NUCLEO_F042K6 uVision Project
$ python workspace_tools/build.py -m NUCLEO_F042K6 -t uARM
[WARNING] Using default settings. Define your settings in the file "workspace_tools/private_settings.py" or in "./mbed_settings.py"
Building library CMSIS (NUCLEO_F042K6, uARM)
Copy: core_ca9.h
Copy: core_caFunc.h
Copy: core_caInstr.h
Copy: core_ca_mmu.h
Copy: core_cm0.h
Copy: core_cm0plus.h
Copy: core_cm3.h
Copy: core_cm4.h
Copy: core_cm4_simd.h
Copy: core_cm7.h
Copy: core_cmFunc.h
Copy: core_cmInstr.h
Copy: core_cmSimd.h
Copy: stm32f0xx_hal.h
Copy: stm32f0xx_hal_adc.h
Copy: stm32f0xx_hal_adc_ex.h
Copy: stm32f0xx_hal_can.h
Copy: stm32f0xx_hal_cec.h
Copy: stm32f0xx_hal_comp.h
Copy: stm32f0xx_hal_conf.h
Copy: stm32f0xx_hal_cortex.h
Copy: stm32f0xx_hal_crc.h
Copy: stm32f0xx_hal_crc_ex.h
Copy: stm32f0xx_hal_dac.h
Copy: stm32f0xx_hal_dac_ex.h
Copy: stm32f0xx_hal_def.h
Copy: stm32f0xx_hal_dma.h
Copy: stm32f0xx_hal_dma_ex.h
Copy: stm32f0xx_hal_flash.h
Copy: stm32f0xx_hal_flash_ex.h
Copy: stm32f0xx_hal_gpio.h
Copy: stm32f0xx_hal_gpio_ex.h
Copy: stm32f0xx_hal_i2c.h
Copy: stm32f0xx_hal_i2c_ex.h
Copy: stm32f0xx_hal_i2s.h
Copy: stm32f0xx_hal_irda.h
Copy: stm32f0xx_hal_irda_ex.h
Copy: stm32f0xx_hal_iwdg.h
Copy: stm32f0xx_hal_pcd.h
Copy: stm32f0xx_hal_pcd_ex.h
Copy: stm32f0xx_hal_pwr.h
Copy: stm32f0xx_hal_pwr_ex.h
Copy: stm32f0xx_hal_rcc.h
Copy: stm32f0xx_hal_rcc_ex.h
Copy: stm32f0xx_hal_rtc.h
Copy: stm32f0xx_hal_rtc_ex.h
Copy: stm32f0xx_hal_smartcard.h
Copy: stm32f0xx_hal_smartcard_ex.h
Copy: stm32f0xx_hal_smbus.h
Copy: stm32f0xx_hal_spi.h
Copy: stm32f0xx_hal_spi_ex.h
Copy: stm32f0xx_hal_tim.h
Copy: stm32f0xx_hal_tim_ex.h
Copy: stm32f0xx_hal_tsc.h
Copy: stm32f0xx_hal_uart.h
Copy: stm32f0xx_hal_uart_ex.h
Copy: stm32f0xx_hal_usart.h
Copy: stm32f0xx_hal_usart_ex.h
Copy: stm32f0xx_hal_wwdg.h
Copy: stm32_hal_legacy.h
Copy: cmsis.h
Copy: cmsis_nvic.h
Copy: hal_tick.h
Copy: stm32f042x6.h
Copy: stm32f0xx.h
Copy: system_stm32f0xx.h
Copy: stm32f0xx.sct
Compile: startup_stm32f042x6.s
Compile: sys.cpp
Compile: cmsis_nvic.c
Compile: hal_tick.c
Compile: system_stm32f0xx.c
Compile: stm32f0xx_hal.c
Compile: stm32f0xx_hal_adc.c
Compile: stm32f0xx_hal_adc_ex.c
Compile: stm32f0xx_hal_can.c
Compile: stm32f0xx_hal_cec.c
Compile: stm32f0xx_hal_comp.c
Compile: stm32f0xx_hal_cortex.c
Compile: stm32f0xx_hal_crc.c
Compile: stm32f0xx_hal_crc_ex.c
Compile: stm32f0xx_hal_dac.c
Compile: stm32f0xx_hal_dac_ex.c
Compile: stm32f0xx_hal_dma.c
Compile: stm32f0xx_hal_flash.c
Compile: stm32f0xx_hal_flash_ex.c
Compile: stm32f0xx_hal_gpio.c
Compile: stm32f0xx_hal_i2c.c
Compile: stm32f0xx_hal_i2c_ex.c
Compile: stm32f0xx_hal_i2s.c
Compile: stm32f0xx_hal_irda.c
Compile: stm32f0xx_hal_iwdg.c
Compile: stm32f0xx_hal_pcd.c
Compile: stm32f0xx_hal_pcd_ex.c
Compile: stm32f0xx_hal_pwr.c
Compile: stm32f0xx_hal_pwr_ex.c
Compile: stm32f0xx_hal_rcc.c
Compile: stm32f0xx_hal_rcc_ex.c
Compile: stm32f0xx_hal_rtc.c
Compile: stm32f0xx_hal_rtc_ex.c
Compile: stm32f0xx_hal_smartcard.c
Compile: stm32f0xx_hal_smartcard_ex.c
Compile: stm32f0xx_hal_smbus.c
Compile: stm32f0xx_hal_spi.c
Compile: stm32f0xx_hal_spi_ex.c
Compile: stm32f0xx_hal_tim.c
Compile: stm32f0xx_hal_tim_ex.c
Compile: stm32f0xx_hal_tsc.c
Compile: stm32f0xx_hal_uart.c
Compile: stm32f0xx_hal_uart_ex.c
Compile: stm32f0xx_hal_usart.c
Compile: stm32f0xx_hal_wwdg.c
Copy: startup_stm32f042x6.o
Copy: sys.o
Copy: cmsis_nvic.o
Copy: hal_tick.o
Copy: system_stm32f0xx.o
Copy: stm32f0xx_hal.o
Copy: stm32f0xx_hal_adc.o
Copy: stm32f0xx_hal_adc_ex.o
Copy: stm32f0xx_hal_can.o
Copy: stm32f0xx_hal_cec.o
Copy: stm32f0xx_hal_comp.o
Copy: stm32f0xx_hal_cortex.o
Copy: stm32f0xx_hal_crc.o
Copy: stm32f0xx_hal_crc_ex.o
Copy: stm32f0xx_hal_dac.o
Copy: stm32f0xx_hal_dac_ex.o
Copy: stm32f0xx_hal_dma.o
Copy: stm32f0xx_hal_flash.o
Copy: stm32f0xx_hal_flash_ex.o
Copy: stm32f0xx_hal_gpio.o
Copy: stm32f0xx_hal_i2c.o
Copy: stm32f0xx_hal_i2c_ex.o
Copy: stm32f0xx_hal_i2s.o
Copy: stm32f0xx_hal_irda.o
Copy: stm32f0xx_hal_iwdg.o
Copy: stm32f0xx_hal_pcd.o
Copy: stm32f0xx_hal_pcd_ex.o
Copy: stm32f0xx_hal_pwr.o
Copy: stm32f0xx_hal_pwr_ex.o
Copy: stm32f0xx_hal_rcc.o
Copy: stm32f0xx_hal_rcc_ex.o
Copy: stm32f0xx_hal_rtc.o
Copy: stm32f0xx_hal_rtc_ex.o
Copy: stm32f0xx_hal_smartcard.o
Copy: stm32f0xx_hal_smartcard_ex.o
Copy: stm32f0xx_hal_smbus.o
Copy: stm32f0xx_hal_spi.o
Copy: stm32f0xx_hal_spi_ex.o
Copy: stm32f0xx_hal_tim.o
Copy: stm32f0xx_hal_tim_ex.o
Copy: stm32f0xx_hal_tsc.o
Copy: stm32f0xx_hal_uart.o
Copy: stm32f0xx_hal_uart_ex.o
Copy: stm32f0xx_hal_usart.o
Copy: stm32f0xx_hal_wwdg.o
Building library MBED (NUCLEO_F042K6, uARM)
Copy: gpio_object.h
Copy: PeripheralPins.h
Copy: device.h
Copy: objects.h
Copy: PeripheralNames.h
Copy: PinNames.h
Copy: PortNames.h
Compile: PeripheralPins.c
Compile: analogin_api.c
Compile: analogout_api.c
Compile: gpio_api.c
Compile: gpio_irq_api.c
Compile: i2c_api.c
Compile: mbed_overrides.c
Compile: pinmap.c
Compile: port_api.c
Compile: pwmout_api.c
Compile: rtc_api.c
Compile: serial_api.c
Compile: sleep.c
Compile: spi_api.c
Compile: us_ticker.c
Compile: BusIn.cpp
Compile: BusInOut.cpp
Compile: BusOut.cpp
Compile: CAN.cpp
Compile: CallChain.cpp
Compile: Ethernet.cpp
Compile: FileBase.cpp
Compile: FileLike.cpp
Compile: FilePath.cpp
Compile: FileSystemLike.cpp
Compile: I2C.cpp
Compile: I2CSlave.cpp
Compile: InterruptIn.cpp
Compile: InterruptManager.cpp
Compile: LocalFileSystem.cpp
Compile: RawSerial.cpp
Compile: SPI.cpp
Compile: SPISlave.cpp
Compile: Serial.cpp
Compile: SerialBase.cpp
Compile: Stream.cpp
Compile: Ticker.cpp
Compile: Timeout.cpp
Compile: Timer.cpp
Compile: TimerEvent.cpp
Compile: assert.c
Compile: board.c
Compile: error.c
Compile: gpio.c
Compile: lp_ticker_api.c
Compile: mbed_interface.c
Compile: pinmap_common.c
Compile: retarget.cpp
Compile: rtc_time.c
Compile: semihost_api.c
Compile: ticker_api.c
Compile: us_ticker_api.c
Compile: wait_api.c
Library: mbed.ar
Creating archive 'D:/Users/Tiryoh/Documents/GitHub/mbed/build/mbed/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_MICRO/mbed.ar'
Copy: mbed_overrides.o
Copy: board.o
Copy: retarget.o
Completed in: (42.21)s
Build successes:
* uARM::NUCLEO_F042K6
$ python workspace_tools/project.py -m NUCLEO_F042K6 -i uvision -p 0
[WARNING] Using default settings. Define your settings in the file "workspace_tools/private_settings.py" or in "./mbed_settings.py"
Copy: test_env.h
Copy: AnalogIn.h
Copy: AnalogOut.h
Copy: BusIn.h
Copy: BusInOut.h
Copy: BusOut.h
Copy: CallChain.h
Copy: CAN.h
Copy: can_helper.h
Copy: CircularBuffer.h
Copy: CThunk.h
Copy: DigitalIn.h
Copy: DigitalInOut.h
Copy: DigitalOut.h
Copy: DirHandle.h
Copy: Ethernet.h
Copy: FileBase.h
Copy: FileHandle.h
Copy: FileLike.h
Copy: FilePath.h
Copy: FileSystemLike.h
Copy: FunctionPointer.h
Copy: I2C.h
Copy: I2CSlave.h
Copy: InterruptIn.h
Copy: InterruptManager.h
Copy: LocalFileSystem.h
Copy: LowPowerTicker.h
Copy: LowPowerTimeout.h
Copy: LowPowerTimer.h
Copy: mbed.h
Copy: mbed_assert.h
Copy: mbed_debug.h
Copy: mbed_error.h
Copy: mbed_interface.h
Copy: platform.h
Copy: PortIn.h
Copy: PortInOut.h
Copy: PortOut.h
Copy: PwmOut.h
Copy: RawSerial.h
Copy: rtc_time.h
Copy: semihost_api.h
Copy: Serial.h
Copy: SerialBase.h
Copy: SPI.h
Copy: SPISlave.h
Copy: Stream.h
Copy: Ticker.h
Copy: Timeout.h
Copy: Timer.h
Copy: TimerEvent.h
Copy: toolchain.h
Copy: Transaction.h
Copy: wait_api.h
Copy: analogin_api.h
Copy: analogout_api.h
Copy: buffer.h
Copy: can_api.h
Copy: dma_api.h
Copy: ethernet_api.h
Copy: gpio_api.h
Copy: gpio_irq_api.h
Copy: i2c_api.h
Copy: lp_ticker_api.h
Copy: pinmap.h
Copy: port_api.h
Copy: pwmout_api.h
Copy: rtc_api.h
Copy: serial_api.h
Copy: sleep_api.h
Copy: spi_api.h
Copy: ticker_api.h
Copy: us_ticker_api.h
Copy: core_ca9.h
Copy: core_caFunc.h
Copy: core_caInstr.h
Copy: core_ca_mmu.h
Copy: core_cm0.h
Copy: core_cm0plus.h
Copy: core_cm3.h
Copy: core_cm4.h
Copy: core_cm4_simd.h
Copy: core_cm7.h
Copy: core_cmFunc.h
Copy: core_cmInstr.h
Copy: core_cmSimd.h
Copy: stm32f0xx_hal.h
Copy: stm32f0xx_hal_adc.h
Copy: stm32f0xx_hal_adc_ex.h
Copy: stm32f0xx_hal_can.h
Copy: stm32f0xx_hal_cec.h
Copy: stm32f0xx_hal_comp.h
Copy: stm32f0xx_hal_conf.h
Copy: stm32f0xx_hal_cortex.h
Copy: stm32f0xx_hal_crc.h
Copy: stm32f0xx_hal_crc_ex.h
Copy: stm32f0xx_hal_dac.h
Copy: stm32f0xx_hal_dac_ex.h
Copy: stm32f0xx_hal_def.h
Copy: stm32f0xx_hal_dma.h
Copy: stm32f0xx_hal_dma_ex.h
Copy: stm32f0xx_hal_flash.h
Copy: stm32f0xx_hal_flash_ex.h
Copy: stm32f0xx_hal_gpio.h
Copy: stm32f0xx_hal_gpio_ex.h
Copy: stm32f0xx_hal_i2c.h
Copy: stm32f0xx_hal_i2c_ex.h
Copy: stm32f0xx_hal_i2s.h
Copy: stm32f0xx_hal_irda.h
Copy: stm32f0xx_hal_irda_ex.h
Copy: stm32f0xx_hal_iwdg.h
Copy: stm32f0xx_hal_pcd.h
Copy: stm32f0xx_hal_pcd_ex.h
Copy: stm32f0xx_hal_pwr.h
Copy: stm32f0xx_hal_pwr_ex.h
Copy: stm32f0xx_hal_rcc.h
Copy: stm32f0xx_hal_rcc_ex.h
Copy: stm32f0xx_hal_rtc.h
Copy: stm32f0xx_hal_rtc_ex.h
Copy: stm32f0xx_hal_smartcard.h
Copy: stm32f0xx_hal_smartcard_ex.h
Copy: stm32f0xx_hal_smbus.h
Copy: stm32f0xx_hal_spi.h
Copy: stm32f0xx_hal_spi_ex.h
Copy: stm32f0xx_hal_tim.h
Copy: stm32f0xx_hal_tim_ex.h
Copy: stm32f0xx_hal_tsc.h
Copy: stm32f0xx_hal_uart.h
Copy: stm32f0xx_hal_uart_ex.h
Copy: stm32f0xx_hal_usart.h
Copy: stm32f0xx_hal_usart_ex.h
Copy: stm32f0xx_hal_wwdg.h
Copy: stm32_hal_legacy.h
Copy: cmsis.h
Copy: cmsis_nvic.h
Copy: hal_tick.h
Copy: stm32f042x6.h
Copy: stm32f0xx.h
Copy: system_stm32f0xx.h
Copy: gpio_object.h
Copy: PeripheralPins.h
Copy: device.h
Copy: objects.h
Copy: PeripheralNames.h
Copy: PinNames.h
Copy: PortNames.h
Copy: startup_stm32f042x6.s
Copy: assert.c
Copy: board.c
Copy: error.c
Copy: gpio.c
Copy: lp_ticker_api.c
Copy: mbed_interface.c
Copy: pinmap_common.c
Copy: rtc_time.c
Copy: semihost_api.c
Copy: ticker_api.c
Copy: us_ticker_api.c
Copy: wait_api.c
Copy: stm32f0xx_hal.c
Copy: stm32f0xx_hal_adc.c
Copy: stm32f0xx_hal_adc_ex.c
Copy: stm32f0xx_hal_can.c
Copy: stm32f0xx_hal_cec.c
Copy: stm32f0xx_hal_comp.c
Copy: stm32f0xx_hal_cortex.c
Copy: stm32f0xx_hal_crc.c
Copy: stm32f0xx_hal_crc_ex.c
Copy: stm32f0xx_hal_dac.c
Copy: stm32f0xx_hal_dac_ex.c
Copy: stm32f0xx_hal_dma.c
Copy: stm32f0xx_hal_flash.c
Copy: stm32f0xx_hal_flash_ex.c
Copy: stm32f0xx_hal_gpio.c
Copy: stm32f0xx_hal_i2c.c
Copy: stm32f0xx_hal_i2c_ex.c
Copy: stm32f0xx_hal_i2s.c
Copy: stm32f0xx_hal_irda.c
Copy: stm32f0xx_hal_iwdg.c
Copy: stm32f0xx_hal_pcd.c
Copy: stm32f0xx_hal_pcd_ex.c
Copy: stm32f0xx_hal_pwr.c
Copy: stm32f0xx_hal_pwr_ex.c
Copy: stm32f0xx_hal_rcc.c
Copy: stm32f0xx_hal_rcc_ex.c
Copy: stm32f0xx_hal_rtc.c
Copy: stm32f0xx_hal_rtc_ex.c
Copy: stm32f0xx_hal_smartcard.c
Copy: stm32f0xx_hal_smartcard_ex.c
Copy: stm32f0xx_hal_smbus.c
Copy: stm32f0xx_hal_spi.c
Copy: stm32f0xx_hal_spi_ex.c
Copy: stm32f0xx_hal_tim.c
Copy: stm32f0xx_hal_tim_ex.c
Copy: stm32f0xx_hal_tsc.c
Copy: stm32f0xx_hal_uart.c
Copy: stm32f0xx_hal_uart_ex.c
Copy: stm32f0xx_hal_usart.c
Copy: stm32f0xx_hal_wwdg.c
Copy: cmsis_nvic.c
Copy: hal_tick.c
Copy: system_stm32f0xx.c
Copy: analogin_api.c
Copy: analogout_api.c
Copy: gpio_api.c
Copy: gpio_irq_api.c
Copy: i2c_api.c
Copy: mbed_overrides.c
Copy: pinmap.c
Copy: port_api.c
Copy: pwmout_api.c
Copy: rtc_api.c
Copy: serial_api.c
Copy: sleep.c
Copy: spi_api.c
Copy: us_ticker.c
Copy: PeripheralPins.c
Copy: test_env.cpp
Copy: BusIn.cpp
Copy: BusInOut.cpp
Copy: BusOut.cpp
Copy: CallChain.cpp
Copy: CAN.cpp
Copy: Ethernet.cpp
Copy: FileBase.cpp
Copy: FileLike.cpp
Copy: FilePath.cpp
Copy: FileSystemLike.cpp
Copy: I2C.cpp
Copy: I2CSlave.cpp
Copy: InterruptIn.cpp
Copy: InterruptManager.cpp
Copy: LocalFileSystem.cpp
Copy: RawSerial.cpp
Copy: retarget.cpp
Copy: Serial.cpp
Copy: SerialBase.cpp
Copy: SPI.cpp
Copy: SPISlave.cpp
Copy: Stream.cpp
Copy: Ticker.cpp
Copy: Timeout.cpp
Copy: Timer.cpp
Copy: TimerEvent.cpp
Copy: sys.cpp
Copy: stm32f0xx.sct
Copy: main.cpp
Successful exports:
* NUCLEO_F042K6::uvision D:/Users/Tiryoh/Documents/GitHub/mbed/build/export/MBED_A1_uvision_NUCLEO_F042K6.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment