How can I direct a const variable to be linked to a specific flash address?

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

cross mob
MiHo_2283311
Level 1
Level 1

Hi,

I'm developing a C project on a PSoC 4200M using Creator v4.2 with the ARM GCC 5.4-2016-q2-update toolchain.

I have some const variables that need to be linked to specific flash addresses, so my question is: how do I declare the variables in my source files?

Thanks,

Mike Holmes

MPE Design, Inc.

0 Likes
1 Solution
1 Reply
MiHo_2283311
Level 1
Level 1

Never mind.

The answer is in this data sheet:

https://www.cypress.com/documentation/application-notes/an89610-psoc-4-and-psoc-5lp-arm-cortex-code-...

Thanks, Cypress!

Mike Holmes

MPE Design, Inc.

0 Likes