STM32CubeIDE za STM32

programski jeziki in programiranje

Moderator: tilz0R

STM32CubeIDE za STM32

OdgovorNapisal/-a tilz0R » 24 Apr 2019, 18:08

Knowledge sharing is people' caring., T. MAJERLE
Uporabniški avatar
tilz0R
 
Prispevkov: 1672
Pridružen: 18 Jan 2015, 00:12
Kraj: Črnomelj
Zahvalil se je: 218 krat
Prejel zahvalo: 433 krat
Uporabnika povabil: s56rga
Število neizkoriščenih povabil: 255

Re: STM32CubeIDE za STM32

OdgovorNapisal/-a s54mtb » 24 Apr 2019, 19:28

Preden nainšaliram: a je kaj hitrejše od STMstudio (ki je tudi na eclipse)? Ker tisto je neuporabno, saj en navaden blinky prevaja in nalaga pol ure. Mogoče sem "razvajen" z res hitrim uVisionom in "10MHz clk" ulinkom.... ampak močno upam, da niso le zlepili skupaj studio in cube.
Namesto "Zahvali se" sprejemam tudi šalco kofeta: https://www.buymeacoffee.com/s54mtb
Uporabniški avatar
s54mtb
 
Prispevkov: 9674
Pridružen: 15 Jan 2015, 01:10
Zahvalil se je: 1320 krat
Prejel zahvalo: 3260 krat
Uporabnika povabil: Vrtni palček
Število neizkoriščenih povabil: 190

Re: STM32CubeIDE za STM32

OdgovorNapisal/-a tilz0R » 24 Apr 2019, 21:11

s54mtb je napisal/-a:Preden nainšaliram: a je kaj hitrejše od STMstudio (ki je tudi na eclipse)? Ker tisto je neuporabno, saj en navaden blinky prevaja in nalaga pol ure. Mogoče sem "razvajen" z res hitrim uVisionom in "10MHz clk" ulinkom.... ampak močno upam, da niso le zlepili skupaj studio in cube.


Izvoli dejstva. Osredotoči se na "build time" v obeh primerih, zadnja vrstica.

Keil v5.26
Koda: Izberi vse
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'f412_nucleo_test'
assembling startup_stm32f412zx.s...
compiling main.c...
compiling stm32f4xx_it.c...
compiling stm32f4xx_hal_tim.c...
compiling stm32f4xx_hal_msp.c...
compiling stm32f4xx_hal_tim_ex.c...
compiling stm32f4xx_hal_uart.c...
compiling stm32f4xx_hal_pcd_ex.c...
compiling stm32f4xx_hal_pcd.c...
compiling stm32f4xx_hal_rcc.c...
compiling stm32f4xx_ll_usb.c...
compiling stm32f4xx_hal_flash.c...
compiling stm32f4xx_hal_rcc_ex.c...
compiling stm32f4xx_hal_flash_ex.c...
compiling stm32f4xx_hal_flash_ramfunc.c...
compiling stm32f4xx_hal_gpio.c...
compiling stm32f4xx_hal_dma_ex.c...
compiling stm32f4xx_hal_dma.c...
compiling stm32f4xx_hal_pwr.c...
compiling stm32f4xx_hal_cortex.c...
compiling stm32f4xx_hal_pwr_ex.c...
compiling stm32f4xx_hal_exti.c...
compiling stm32f4xx_hal.c...
compiling system_stm32f4xx.c...
linking...
Program Size: Code=5716 RO-data=508 RW-data=16 ZI-data=2120 
FromELF: creating hex file...
"f412_nucleo_test\f412_nucleo_test.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed:  00:01:03


TrueSTUDIO v9.3 (CubeIDE ima isti prevajalnik):
Koda: Izberi vse
21:05:24 **** Rebuild of configuration Debug for project f412_nucleo_test ****
Info: Internal Builder is used for build
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\CMSIS\system_stm32f4xx.o ..\..\..\Core\Src\system_stm32f4xx.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_flash.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Application\TrueSTUDIO\syscalls.o ..\..\syscalls.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -Wa,--no-warn -x assembler-with-cpp -specs=nano.specs -o Application\TrueSTUDIO\startup_stm32f412zx.o ..\..\startup_stm32f412zx.s
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_gpio.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Application\User\Core\stm32f4xx_hal_msp.o ..\..\..\Core\Src\stm32f4xx_hal_msp.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_tim.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_rcc.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_flash_ex.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_dma.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_exti.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Application\User\Core\stm32f4xx_it.o ..\..\..\Core\Src\stm32f4xx_it.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_tim_ex.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_pcd.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_rcc_ex.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Application\User\Core\main.o ..\..\..\Core\Src\main.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_pcd_ex.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_cortex.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_ll_usb.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_pwr_ex.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_pwr.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_uart.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_dma_ex.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=gnu11 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F412Zx -I../../../Core/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -specs=nano.specs -o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_flash_ramfunc.o ..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
arm-atollic-eabi-gcc -o f412_nucleo_test.elf Application\TrueSTUDIO\startup_stm32f412zx.o Application\TrueSTUDIO\syscalls.o Application\User\Core\main.o Application\User\Core\stm32f4xx_hal_msp.o Application\User\Core\stm32f4xx_it.o Drivers\CMSIS\system_stm32f4xx.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_cortex.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_dma.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_dma_ex.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_exti.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_flash.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_flash_ex.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_flash_ramfunc.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_gpio.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_pcd.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_pcd_ex.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_pwr.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_pwr_ex.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_rcc.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_rcc_ex.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_tim.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_tim_ex.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_hal_uart.o Drivers\STM32F4xx_HAL_Driver\stm32f4xx_ll_usb.o -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T../STM32F412ZG_FLASH.ld -specs=nosys.specs -static -Wl,-Map=f412_nucleo_test.map -Wl,--gc-sections -Wl,--defsym=malloc_getpagesize_P=0x80 -Wl,--start-group -lc -lm -Wl,--end-group -specs=nano.specs
C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.3.0\ide\jre\bin\java -jar C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.3.0\Tools\arm-atollic-reports.jar sizeinfo list f412_nucleo_test.elf
Generate build reports...
Print size information
   text      data       bss       dec       hex   filename
   6856        20      2664      9540      2544   f412_nucleo_test.elf
Print size information done
Generate listing file
Output sent to: f412_nucleo_test.list
Generate listing file done
Generate build reports done
arm-atollic-eabi-objcopy.exe -O ihex f412_nucleo_test.elf f412_nucleo_test.hex

21:05:38 Build Finished (took 13s.772ms)
Knowledge sharing is people' caring., T. MAJERLE
Uporabniški avatar
tilz0R
 
Prispevkov: 1672
Pridružen: 18 Jan 2015, 00:12
Kraj: Črnomelj
Zahvalil se je: 218 krat
Prejel zahvalo: 433 krat
Uporabnika povabil: s56rga
Število neizkoriščenih povabil: 255

Re: STM32CubeIDE za STM32

OdgovorNapisal/-a s54mtb » 24 Apr 2019, 23:33

Hm, jaz sem nekaj preizkušal stm studio (to, kar so uporabljali na ŠCNM), pa je trajaloooo, da je IDE prišel od build do prvega brekpointa. Ko sem stisnil Ctrl-B se najprej kakih 30 sekund sploh nič ni zgodilo, potem je začel počasi prevajati, potem je spet trajalo, da je naložil in startal GDB, ... saj lahko da je bil kriv star prenosnik, samo nekako sem izgubil voljo, da bi to inštaliral še pri sebi.

Bom poskusil in da vidim. Ni pa build time vse (si pri keilu imel vključeno opcijo za generiranje browse info - ponovi še s tem izključlenim, pa še kakšen nivo optimizacije si imel v obeh primerih ?). Velikost kode tudi ni zanemarljiva razlika. Saj na F4 je placa dovolj, za manjše mlinčke pa je včasih dobro tudi to upoštevat (pri 20 picih TSSOP hitro zmanjka za kodo, če imaš kakšen LCD font...).

Kot sem napisal, build time ni vse. V praksi je pomemben čas od pričetka build-a do ustavljenega debuga v main(). Če imaš možnost (ulink pro?), bi te prosil, da poskusiš še to.
Namesto "Zahvali se" sprejemam tudi šalco kofeta: https://www.buymeacoffee.com/s54mtb
Uporabniški avatar
s54mtb
 
Prispevkov: 9674
Pridružen: 15 Jan 2015, 01:10
Zahvalil se je: 1320 krat
Prejel zahvalo: 3260 krat
Uporabnika povabil: Vrtni palček
Število neizkoriščenih povabil: 190

Re: STM32CubeIDE za STM32

OdgovorNapisal/-a tilz0R » 24 Apr 2019, 23:36

s54mtb je napisal/-a:Hm, jaz sem nekaj preizkušal stm studio (to, kar so uporabljali na ŠCNM), pa je trajaloooo, da je IDE prišel od build do prvega brekpointa. Ko sem stisnil Ctrl-B se najprej kakih 30 sekund sploh nič ni zgodilo, potem je začel počasi prevajati, potem je spet trajalo, da je naložil in startal GDB, ... saj lahko da je bil kriv star prenosnik, samo nekako sem izgubil voljo, da bi to inštaliral še pri sebi.

Bom poskusil in da vidim. Ni pa build time vse (si pri keilu imel vključeno opcijo za generiranje browse info - ponovi še s tem izključlenim, pa še kakšen nivo optimizacije si imel v obeh primerih ?). Velikost kode tudi ni zanemarljiva razlika. Saj na F4 je placa dovolj, za manjše mlinčke pa je včasih dobro tudi to upoštevat (pri 20 picih TSSOP hitro zmanjka za kodo, če imaš kakšen LCD font...).

Kot sem napisal, build time ni vse. V praksi je pomemben čas od pričetka build-a do ustavljenega debuga v main(). Če imaš možnost (ulink pro?), bi te prosil, da poskusiš še to.


CubeIDE zaenkrat ne podpira ULINK-a. Le stlink in jlink. V obeh primerih sem imel iste nastavitve, default iz CubeMX. Izklipljen browse je hitrejši, a kdo hoče brez browse?
Knowledge sharing is people' caring., T. MAJERLE
Uporabniški avatar
tilz0R
 
Prispevkov: 1672
Pridružen: 18 Jan 2015, 00:12
Kraj: Črnomelj
Zahvalil se je: 218 krat
Prejel zahvalo: 433 krat
Uporabnika povabil: s56rga
Število neizkoriščenih povabil: 255


Vrni se na Software

Kdo je na strani

Po forumu brska: 0 registriranih uporabnikov in 0 gostov