abcminiuser / lufa

LUFA - the Lightweight USB Framework for AVRs.
http://www.lufa-lib.org
1.04k stars 325 forks source link

Compile option for far-flash pointer descriptors #40

Open abcminiuser opened 10 years ago

abcminiuser commented 10 years ago

User request:

New config directive USE_FLASH_FAR_DESCRIPTORS to enable FLASH descriptors anywhere, i.e. read memory pgm_*_far fuctions. It's not needed for main program but for large chip bootloaders when RAMPZ register is needed to access bootloader's FLASH. Currently USE_RAM_DESCRIPTORS must be used which allocates sligtly more RAM for consts. It's rather minor problem but I got it when developing bootloader for AT90USB1286.