Keil Logo

BANKAREA Linker Directive

Abbreviation

BA

Arguments

BANKAREA (start_address, end_address)

Default

None.

µVision

Options — Target — Code Banking — Bank Area.

Description

The BANKAREA directive specifies the starting and ending address of the code bank area. The addresses specified should reflect the actual address space where the code bank ROMs are physically mapped. All segments assigned to code banks are located within this address range unless they are defined differently using the SEGMENTS directive.

Note

  • If you use 64K code banks and you wish the linker to automatically size the common area, use of the BANKAREA directive is not required.
Example
LX51 COMMON{C_ROOT.OBJ}, BANK0{C_BANK0.OBJ},
     BANK0{C_BANK0.OBJ}, BANK1{C_BANK1.OBJ},
     BANK2{C_BANK2.OBJ} TO MYPROG.ABS &
     BANKAREA(8000H,0FFFFH)
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.