Quantcast
Viewing all articles
Browse latest Browse all 116964

Forum Post: BEM Linker script error

I have been porting my code to BLE-STACK 1.3. As part of that process I want to move to using BEM for signed OAD. When compiling the version included with 1.3 I am seeing a link error trying to compile the stock project:

Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment BANKED_CODE. Unable to place 1 block(s) (0x8bf byte(s) total) in 0xb33 byte(s) of memory. The problem occurred while processing the segment placement command "-P(CODE)BANKED_CODE=_CODE_BEG-_CODE_END,_BANK7_BEG-_BANK7_END", where at the moment of placement the available memory ranges were "CODE:42b-7ff,CODE:7f838-7ffe7"

I am able to compile BIM without issue. I see that the two projects use different code models and calling conventions. Before I start hacking up the linker scripts and build options I wanted to know if this was a known issue and if there was any preferred solution. I am using IAR 8.20.1 if that makes a difference.


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>