I can get rid of this error if I decrease my heap size by 1 in the assembly startup file. The linker then reports: Program Size: Code=2928 RO-data=96 RW-data=12 ZI-data=13356
But during a debug session uVision reports: *** Restricted Version with 16384 Byte Code Size Limit *** Currently used: 3036 Bytes (18%)
My concern is the linker is adding up the total program size including ZI-data which too restrictive. Is there an eval version of the linker or linker option that just looks at Code size? I bought this eval kit because I believed I could actually get 16K Code size (not total program size).
My concern is the linker is adding up the total program size including ZI-data which too restrictive.
On an ARM, nothing stops you from putting code in your "data" memory and running it there. If the linker didn't add this up, you could, without too much trouble, build an application with a code size larger than 16 kB.
On the other hand, a creative thief can find any number of ways to avoid paying. The most creative must still be to post on this forum to ask if soneone has any cracks...
On the other hand, a creative thief can find any number of ways to avoid paying.
Of course. That doesn't mean that you need to leave an easily-prevented method available for use.
I could also get another eval board that comes with software that allows larger code:
www.st.com/.../contentid-54-101-STR91X_SK__IAR.html
Then I could ship code with every ARM processor that I steal:)
Have you checked that it doesn't make the same interpretation (or "misinterpretation") of "code size"...?
;-)