/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Wrong Circle_App.ld in Primer2

Username:     
Password:     
             

Forum

# 1   2010-07-20 13:10:53 Wrong Circle_App.ld in Primer2

Limba
Member
Registered: 2010-02-11
Posts: 20

Wrong Circle_App.ld in Primer2

Hi,

It seems that Cirle_App.ld is still using Primer1 memorymap in Primer2 projects.
"
MEMORY
{
  RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 16K
  FLASHB1 (r) : ORIGIN = 0x8000000, LENGTH = 0x0006000
"
There was note of 60kB RAM for Application data in Primer2 User Manual page 16

Offline

 

# 2   2010-08-11 13:45:49 Wrong Circle_App.ld in Primer2

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Wrong Circle_App.ld in Primer2

Primer 1 and Primer 2 applications use the same linker script, and the same memory map by default. But you can modify the Circle_App.ld, if your application needs more memory, in the limit of 54KB of RAM, because 10KB are reserved for CircleOS and stack.

Offline

 

Board footer