diff --git a/nucleo-wb55-dongle-ble/STM32WB55CGUX_FLASH.ld b/nucleo-wb55-dongle-ble/STM32WB55CGUX_FLASH.ld index a041fac..f42bc6f 100644 --- a/nucleo-wb55-dongle-ble/STM32WB55CGUX_FLASH.ld +++ b/nucleo-wb55-dongle-ble/STM32WB55CGUX_FLASH.ld @@ -39,8 +39,8 @@ ENTRY(Reset_Handler) /* Highest address of the user mode stack */ _estack = 0x20030000; /* end of RAM */ /* Generate a link error if heap and stack don't fit into RAM */ -_Min_Heap_Size = 0x200 ; /* required amount of heap */ -_Min_Stack_Size = 0x400 ; /* required amount of stack */ +_Min_Heap_Size = 0x2000 ; /* required amount of heap */ +_Min_Stack_Size = 0x4000 ; /* required amount of stack */ /* Specify the memory areas */ MEMORY diff --git a/nucleo-wb55-dongle-ble/STM32WB55CGUX_RAM.ld b/nucleo-wb55-dongle-ble/STM32WB55CGUX_RAM.ld index ddd7efb..ab6f5b2 100644 --- a/nucleo-wb55-dongle-ble/STM32WB55CGUX_RAM.ld +++ b/nucleo-wb55-dongle-ble/STM32WB55CGUX_RAM.ld @@ -39,8 +39,8 @@ ENTRY(Reset_Handler) /* Highest address of the user mode stack */ _estack = 0x20030000; /* end of RAM */ /* Generate a link error if heap and stack don't fit into RAM */ -_Min_Heap_Size = 0x200 ; /* required amount of heap */ -_Min_Stack_Size = 0x400 ; /* required amount of stack */ +_Min_Heap_Size = 0x2000 ; /* required amount of heap */ +_Min_Stack_Size = 0x4000 ; /* required amount of stack */ /* Specify the memory areas */ MEMORY diff --git a/nucleo-wb55-dongle-ble/nucleo-wb55-dongle-ble.ioc b/nucleo-wb55-dongle-ble/nucleo-wb55-dongle-ble.ioc index 0151a38..d4ae0d7 100644 --- a/nucleo-wb55-dongle-ble/nucleo-wb55-dongle-ble.ioc +++ b/nucleo-wb55-dongle-ble/nucleo-wb55-dongle-ble.ioc @@ -17,7 +17,7 @@ USB_DEVICE.VirtualModeFS=Cdc_FS RCC.RFWKPFreq_Value=976.5625 RCC.HCLK3Freq_Value=32000000 RCC.PLLSAI1RoutputFreq_Value=48000000 -ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false +ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_USB_Device_Init-USB_DEVICE-false-HAL-false PA11.Mode=Device ProjectManager.DefaultFWLocation=true PB0.GPIO_Label=LED_GREEN @@ -30,7 +30,7 @@ PinOutPanel.RotationAngle=0 RCC.FamilyName=M RCC.MCO1PinFreq_Value=32000000 RCC.SYSCLKSource=RCC_SYSCLKSOURCE_HSE -ProjectManager.StackSize=0x400 +ProjectManager.StackSize=0x4000 RCC.I2C3Freq_Value=32000000 RCC.LPTIM1Freq_Value=32000000 Mcu.IP4=USB_DEVICE @@ -131,7 +131,7 @@ RCC.LSI_VALUE=32000 VP_SYS_VS_Systick.Signal=SYS_VS_Systick PA11.Signal=USB_DM RCC.LSCOPinFreq_Value=32000 -ProjectManager.HeapSize=0x200 +ProjectManager.HeapSize=0x2000 NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS.Signal=USB_DEVICE_VS_USB_DEVICE_CDC_FS NVIC.USB_LP_IRQn=true\:0\:0\:false\:false\:true\:false\:true