• Stack and Heap in Scatter loading file
    Dear all, I use the new AT91Lib 1.5 that includes some Keil samples. These samples use a scatter loading file with the foloowing memory definitions: Load_region 0x100000 0x80000 { Fixed_region...
  • STM32F4 Stack & Heap using scatter file
    I have the following scatter file, LR_IROM1 0x08000000 0x00100000 { ; load region size_region ;ARM_LIB_HEAP 0x20000000 EMPTY 0x200{} ; Heap starts at 1MB ; and grows upwards ;ARM_LIB_STACK 0x20020000...
  • ARM startup file with scatter file heap/stack placement
    Hi, I am using: ARM Compiler/Assembler/Linker on Cortex-M0. Given the following template for startup.s: www.keil.com/.../startup_s_pg.html Stack_Size EQU 0x00000400 AREA STACK, NOINIT...
  • Heap region gets removed when scatter-loading
    I'm playing around with scatter-loading in Keil 5.25 with armcc compiler. Now I have a dummy project that allocates stack and heap in 'default' startup assembly file: Stack_Size EQU 0x00000400 ...
  • heap
    Simple question probably.. I have define my heap in the startup.s Heap_Size EQU 0x00001032 In a function I use: void SST25_EditEXTStr(...) { unsigned char *buffer; buffer = malloc(0x1000...