STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hello everyone, I used a bootloader for Stm32f1xx, but if I use hal_delay after the jump function, the microcontroller stops working. I'm waiting for your help.

if (HAL_GPIO_ReadPin(button_GPIO_Port,button_Pin)==1) //mypushbutton==1 {   /* If Key is pressed */  /* Execute the IAP driver in order to re-program the Flash */  printf("\r\n\r\n");  Main_Menu(); }// /* Keep the user application running */ else { ...

section `.bss' will not fit in region `RAM1'

I have this attribute in my code:#define PHY_ETHTORAM_ATTRIBUTE __attribute__ ((section(".sram2"), aligned(4)))And for example, in my code:// Ethernet Rx MA Descriptor volatile __attribute__((aligned(32))) PHY_ETHTORAM_ATTRIBUTE ETH_DMADescTypeDef ...