Posted on August 15, 2012 at 20:30
I am reading the STM32 startup code right now, got a question about stack section, hope you guys can help me.
1.
AREA STACK, NOINIT, READWRITE, ALIGN=3
2.
Stack_Mem SPACE Stack_Size
3.
__initial_sp
...
Posted on May 02, 2012 at 03:04
#ifdef __GNUC__
/* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf
set to 'Yes') calls __io_putchar() */
#define PUTCHAR_PROTOTYPE int __io_putchar(int ch)
#else
#define PUTCHAR_PROTOTY...
Posted on April 24, 2012 at 15:57Recently migrate from 8bit MCU to 32bit STM32, I like the FW library, but there is a learning curve required. So I am trying to do a printf with USART, after i compiled the program, i cant receive anything. At this p...
Posted on August 16, 2012 at 17:42I just had one final question, Is there anyway to debug this startup code? i wanna step by step go through the code and check the memory update. I searched the internet, seems like running the code in RAM is simila...
Posted on August 15, 2012 at 22:06
Thanks for ur replay, hope you don't mind I ask some more questions.
1. for the heap:
__heap_base
Heap_Mem SPACE Heap_Size
__heap_limit
heap_base will have the address before memory allocat...