Changing the heap size in XMC4000 in DAVE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
noureldin3010
Employee
Employee
5 sign-ins First reply posted First question asked

Hi,

I'm currently programming the XMC4400 MCU using DAVE ... how can I change the size allocated for the stack and heap memories?

Thanks,

0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi ,

Kindly check linker_script.ld file in the file structure. This has both heap and stack information of the project which you can edit according to the requirement.

Best Regards,
Vasanth

View solution in original post

0 Likes
2 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi ,

Kindly check linker_script.ld file in the file structure. This has both heap and stack information of the project which you can edit according to the requirement.

Best Regards,
Vasanth

0 Likes
sujatapatil
Moderator
Moderator
Moderator
50 solutions authored 10 likes received 100 sign-ins

Hi ,

Dave project properties does not have settings/configuration for memory start address , end address , stack/heap size similar to Keil IDE or any other IDE you are referring  in project properties .   Instead it is defined in separate file which is linker_script.ld . So to  have heap size alone as part of project properties  also does not make sense. 

Each  IDE can have it's own appearance and properties.

Thanks

Sujata

0 Likes