No OMF file created when using bank switching

2012-02-29
2013-03-12
  • Jeffrey Bonk

    Jeffrey Bonk - 2012-02-29

    Hello,

    I am using v3.1.0 #7066 (Nov 22 2011( (MINGW32) of the sdcc compiler.

    My code size has grown larger than 64k and I therefore require the use of bank switching.  I updated my link options with: -Wl-bBANK1=0x18000 -Wl-r and added #pragma codeseg BANK1 to one of the source files.  (Note: I have the -debug flag in both the compiler and linker calls.)

    Before adding the bank switching flags to the linker the OMF file was being generated on each build.  However, after adding those flags, the OMF file is no longer generated.  Am I missing something?  Is there a fix for this?

    Thank you in advance!

     
  • Maarten Brock

    Maarten Brock - 2012-03-06

    Unfortunately the OMF specification only supports 64k of memory and no bankswitching.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks