Define the variable at the specified address in the IAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-11 12:12 AM
Hello friends
how can Define the const variable at the specified address in the IAR
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-11 12:45 AM
You can use the 'location' pragma as in this example:
#pragma location=0x08004000
const uint32_t x=1;- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-11 02:10 AM
,
,
Thanks , ,Does the following code properly occupy Sectors 2 and 3? , STM32F407ZE
♯ pragma location=0x08008000
,
const uint32_t fake[32768],- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-11 02:31 AM
I want to define a big variable on Sectors 2 and 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-11 11:25 PM
up