Sunday, May 20th 2018, 5:33pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

NICO102938

Beginner

Date of registration: May 17th 2018

Posts: 1

1

Thursday, May 17th 2018, 3:10pm

How to place whole library in specific memory segment

Hi all,
I'm a student and very new with the SEGGER Embedded Studio. I use a STM32L4 uC and the Version 3.34b of the Embedded Studio.
I'm working on a Project where I need to place a whole selfmade library (which contains a lot of object files) at a specific adress in flash.
I already found out how to place a function on a specific adress (with the __attribute__ ((section(".mydata")))) so I already worked with the memory-map-xml-file and the section-placement-xml-file.
Now: how is it possible to place whole libraries (.text, .data and .rodata) in an own memory Segment? Or at least place whole object files?
Many thanks in advance! :)
Nico