Umnik je napisal/a: |
Počakaj še, da aly izlije svoj gnev na CubeMX |
Citiram: |
Build target 'Target 1'
compiling main.c... Src\main.c(181): warning: #1134-D: literal treated as "long long" htim2.Init.Period = 4294967295; Src\main.c: 1 warning, 0 errors compiling stm32f3xx_hal_msp.c... compiling stm32f3xx_it.c... compiling usb_device.c... ... compiling stm32f3xx_hal_rcc.c... compiling stm32f3xx_hal_rcc_ex.c... compiling stm32f3xx_hal_tim.c... compiling stm32f3xx_hal_tim_ex.c... linking... .\Objects\TEST.axf: Error: L6320W: Ignoring --entry command. Cannot find argument 'Reset_Handler'. .\Objects\TEST.axf: Warning: L6320W: Ignoring --first command. Cannot find argument '__Vectors'. Not enough information to list image symbols. Not enough information to list the image map. Finished: 2 information, 1 warning and 1 error messages. ".\Objects\TEST.axf" - 1 Error(s), 2 Warning(s). Target not created. |
Citiram: |
Build target 'Target 1'
assembling startup_stm32f30x.s... linking... .\Objects\TEST.axf: error: L6050U: The code size of this image (42808 bytes) exceeds the maximum allowed for this version of the linker. Finished: 0 information, 0 warning, 0 error and 1 fatal error messages. ".\Objects\TEST.axf" - 1 Error(s), 0 Warning(s). Target not created |
Citiram: |
.\Objects\TEST.axf: error: L6047U: The size of this image (32876 bytes) exceeds the maximum allowed for this version of the linker |
Citiram: |
Build target 'Cube project Configuration'
linking... Cube project Configuration\Cube project Configuration.axf: Error: L6406E: No space in execution regions with .ANY selector matching usbd_cdc_if.o(.bss). ... Cube project Configuration\Cube project Configuration.axf: Error: L6407E: Sections of aggregate size 0xa20 bytes could not fit into .ANY selector(s). Not enough information to list image symbols. Not enough information to list the image map. Finished: 2 information, 0 warning and 15 error messages. "Cube project Configuration\Cube project Configuration.axf" - 15 Error(s), 0 Warning(s). Target not created. |
Koda: |
void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim)
{ if (htim == &htim5) { if (htim->Channel == HAL_TIM_ACTIVE_CHANNEL_3) IRQ_handler_Encoder_Ri(); // Referencna znacka if (htim->Channel == HAL_TIM_ACTIVE_CHANNEL_4) IRQ_handler_Encoder_Trigger(); // Zunanji latch } } |