ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Пятница
29 ноября
922363 Топик полностью
klen (20.05.2019 15:16, просмотров: 340) ответил Сидоргек на "По приколу" скопировал libc.a в libc_nano.a, получил c:\Temp\ccac2AOd.s:58: Error: selected processor does not support `blx r3' in ARM mode
стало еще загадочнее..  пример выкачал и подзапустил на сборку: libc.a -> libc_nano.a arm-kgp-eabi-gcc build/main.o build/usb_device.o build/usbd_conf.o build/usbd_desc.o build/usbd_storage_if.o build/stm32f1xx_it.o build/stm32f1xx_hal_msp.o build/stm32f1xx_hal_gpio_ex.o build/stm32f1xx_hal_pcd.o build/stm32f1xx_hal_pcd_ex.o build/stm32f1xx_ll_usb.o build/stm32f1xx_hal_tim.o build/stm32f1xx_hal_tim_ex.o build/stm32f1xx_hal.o build/stm32f1xx_hal_rcc.o build/stm32f1xx_hal_rcc_ex.o build/stm32f1xx_hal_gpio.o build/stm32f1xx_hal_dma.o build/stm32f1xx_hal_cortex.o build/stm32f1xx_hal_pwr.o build/stm32f1xx_hal_flash.o build/stm32f1xx_hal_flash_ex.o build/system_stm32f1xx.o build/usbd_core.o build/usbd_ctlreq.o build/usbd_ioreq.o build/usbd_msc.o build/usbd_msc_bot.o build/usbd_msc_data.o build/usbd_msc_scsi.o build/startup_stm32f103xb.o -mcpu=cortex-m3 -mthumb -specs=nano.specs -TSTM32F103C8Tx_FLASH.ld -lc -lm -lnosys -Wl,-Map=build/stm32f103c8t_test.map,--cref -Wl,--gc-sections -o build/stm32f103c8t_test.elf arm-kgp-eabi-size build/stm32f103c8t_test.elf text data bss dec hex filename 13864 296 4376 18536 4868 build/stm32f103c8t_test.elf удаляем ключик -specs=nano.specs arm-kgp-eabi-gcc build/main.o build/usb_device.o build/usbd_conf.o build/usbd_desc.o build/usbd_storage_if.o build/stm32f1xx_it.o build/stm32f1xx_hal_msp.o build/stm32f1xx_hal_gpio_ex.o build/stm32f1xx_hal_pcd.o build/stm32f1xx_hal_pcd_ex.o build/stm32f1xx_ll_usb.o build/stm32f1xx_hal_tim.o build/stm32f1xx_hal_tim_ex.o build/stm32f1xx_hal.o build/stm32f1xx_hal_rcc.o build/stm32f1xx_hal_rcc_ex.o build/stm32f1xx_hal_gpio.o build/stm32f1xx_hal_dma.o build/stm32f1xx_hal_cortex.o build/stm32f1xx_hal_pwr.o build/stm32f1xx_hal_flash.o build/stm32f1xx_hal_flash_ex.o build/system_stm32f1xx.o build/usbd_core.o build/usbd_ctlreq.o build/usbd_ioreq.o build/usbd_msc.o build/usbd_msc_bot.o build/usbd_msc_data.o build/usbd_msc_scsi.o build/startup_stm32f103xb.o -mcpu=cortex-m3 -mthumb -TSTM32F103C8Tx_FLASH.ld -lc -lm -lnosys -Wl,-Map=build/stm32f103c8t_test.map,--cref -Wl,--gc-sections -o build/stm32f103c8t_test.elf arm-kgp-eabi-size build/stm32f103c8t_test.elf text data bss dec hex filename 13848 296 4376 18520 4858 build/stm32f103c8t_test.elf arm-kgp-eabi-objcopy -O ihex build/stm32f103c8t_test.elf build/stm32f103c8t_test.hex у меня на тестовой машине (не та на которой собирается KGP) работает...