自从用CUBE以来就发现这个软件反应慢,虽然我的笔记本很老了,但是运行其它例如DXP什么的一点也不卡,以为是电脑老了。还有就是生成MDK代码后,用笔记本得编译两分钟以上,实在痛苦。后来用家里的台式机,CPU是i5-4570,内存8G依然还是反应很慢。编译一遍也得将近1分钟。虽然比笔记本好不少但还是不行。问问大家需要什么样的CPU才能运行比较流畅呢?
关键是硬盘要换SSD。
内核多编译速度会快很多。
评分
查看全部评分
也是呀,忘记这回事了。多谢
回头换个AMD R5估计会好很多
我的13年的台式机,i5-3350p,8G内存,win8 64位,跑得好好的。编译一下应该不超过30秒。
也跟你用的器件有关系,器件带的外设多,而且你在STM32CubeMX生成的时候选择了复制所有外设库,那编译时间是会长一点。
评分
查看全部评分
评分
查看全部评分
不夸张,我是09年的笔记本,1代I5。台式机40多秒。我选择的是F334,外设也不算多吧。生成的时候就算只选择必要的外设库跟复制所有库是一样一样的呀,不知道怎么回事
不太会用IAR ...
那笔记本配置不行了,得更新换代。
买个能吃鸡的本本就差不多了。
唉,穷苦人呀!拖家带口的,买个笔记本5000元呀。唉!
电脑配置 AMD FX-6300 8G DDR3 SSD128G Win10-64bit KEIL 5.17
*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'lcd_class_test'
assembling startup_stm32f103xb.s...
compiling stm32f1xx_hal.c...
compiling stm32f1xx_hal_gpio.c...
compiling stm32f1xx_hal_flash_ex.c...
compiling stm32f1xx_hal_cortex.c...
compiling stm32f1xx_hal_spi.c...
compiling stm32f1xx_hal_spi_ex.c...
compiling stm32f1xx_hal_dma.c...
compiling stm32f1xx_hal_rcc.c...
compiling stm32f1xx_hal_rcc_ex.c...
compiling stm32f1xx_hal_tim_ex.c...
compiling stm32f1xx_hal_gpio_ex.c...
compiling stm32f1xx_hal_pwr.c...
compiling stm32f1xx_hal_uart.c...
compiling stm32f1xx_hal_adc.c...
compiling stm32f1xx_hal_adc_ex.c...
compiling gpio.c...
compiling stm32f1xx_hal_flash.c...
compiling adc.c...
compiling stm32f1xx_hal_i2c.c...
compiling stm32f1xx_hal_tim.c...
compiling stm32f1xx_hal_msp.c...
compiling spi.c...
compiling dma.c...
compiling usart.c...
compiling stm32f1xx_it.c...
compiling main.c...
compiling tim.c...
compiling i2c.c...
compiling user_action.cpp...
compiling user_main.cpp...
compiling my_bmp.c...
compiling user_redirection.cpp...
compiling my_font.c...
..\Src\my_font.c(603): warning: #177-D: variable "font_hdop_img" was declared but never referenced
const uint8_t font_hdop_img[] =
..\Src\my_font.c: 1 warning, 0 errors
compiling user_global.cpp...
compiling system_stm32f1xx.c...
compiling disp_item.cpp...
compiling ds3231_i2c.cpp...
compiling servo_pwm.cpp...
compiling lcd_spi.cpp...
linking...
Program Size: Code=22104 RO-data=5460 RW-data=28 ZI-data=4676
"lcd_class_test\lcd_class_test.axf" - 0 Error(s), 1 Warning(s).
Build Time Elapsed: 00:00:17
评分
查看全部评分
F1系列的可能是快一点。我记得之前我用F1的时候也没现在这么慢。再加上现在用老笔记本。。。唉
IAR和SW4STM32都用GUN的编译器,编译后的代码比KEIL要大很多。