オリジナルファームを作る

  • 2008年08月17日(日)

付属CD-ROMのソースから作ろうとしたが、作れん…

Build target 'BOOT_FLASH'
compiling hw_config.c...
compiling main.c...
..\..\source\main.c(104): warning:  #951-D: return type of function "main" must be "int"
compiling stm32f10x_it.c...
compiling usb_desc.c...
compiling usb_istr.c...
compiling usb_prop.c...
compiling usb_pwr.c...
compiling usb_endp.c...
assembling stm32f10x_vector.s...
assembling cortexm3_macro.s...
compiling usb_regs.c...
compiling usb_core.c...
compiling usb_init.c...
compiling usb_int.c...
compiling usb_mem.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_lib.c...
compiling stm32f10x_nvic.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_usart.c...
linking...
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol ADC_Cmd (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol ADC_DMACmd (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol ADC_GetCalibrationStatus (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol ADC_GetResetCalibrationStatus (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol ADC_Init (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol ADC_RegularChannelConfig (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol ADC_ResetCalibration (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol ADC_SoftwareStartConvCmd (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol ADC_StartCalibration (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol DMA_Cmd (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol DMA_DeInit (referred from hw_config.o).
.\Obj\VirtualCOMPort.axf: Error: L6218E: Undefined symbol DMA_Init (referred from hw_config.o).
Target not created

以下を足したら、buildだけはできた。

  • st32f10x_adc.c
  • st32f10x_dma.c
Last modified: 2009-04-08
Post-it: New Post-it (help)

Text color: [_][_][_][_]

Background: [_][_][_][_][_][_]

Draw Line:

x: y: