Closed maciek252 closed 8 years ago
OK, I adjusted the memory sizes in Linker.ld, and it works :)
ENTRY(Reset_Handler)
/* End of 8Kb SRAM */ _estack = 0x20001000;
/* Generate a link error if heap and stack don't fit into RAM */
_Min_HeapSize = 0; /* required amount of heap / _Min_StackSize = 0x400; / required amount of stack */
/* Specify the memory areas */
MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 16K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 4K MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K }
Hi Andy,
thanks for the excellent work! I've just started learning how to use the lib. I can run the blink example on STM32F103 demo board, and on STM32F407 Discovery, but not on a STM32F030 board, the most popular (and cheap) version sold on ebay:
http://www.ebay.com/itm/Mini-System-Development-Board-ARM-STM32-F030F4P6-CORTEX-M0-Core-32bit-48-MHz-/331978736223?hash=item4d4b79825f:g:7U0AAOSwLF1X49yy
I can run the blink program written directly, without any helper lib. Could you please explain which F030 board do you have, and what the params should be for the board from the link.
I've tried several compilation options, such as:
scons mode=debug mcu=f030 hse=8000000 scons mode=small mcu=f030 hsi=8000000
Thanks!