mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 19:20:51 +00:00
add PROGMEM attributes for AVR architecture
This commit is contained in:
parent
b9fe9818fd
commit
e3344418be
@ -21,6 +21,9 @@ fartext = '''
|
||||
#if defined(__GNUC__) && (__MSP430X__ > 0)
|
||||
__attribute__((section (".fartext")))
|
||||
#endif
|
||||
#ifdef __AVR__
|
||||
__attribute__((__progmem__))
|
||||
#endif
|
||||
'''
|
||||
|
||||
data_indent = ' '
|
||||
|
@ -24,6 +24,9 @@ def extract_script(fin, patch_name, chipset, array_name):
|
||||
#if defined(__GNUC__) && (__MSP430X__ > 0)
|
||||
__attribute__((section (".fartext")))
|
||||
#endif
|
||||
#ifdef __AVR__
|
||||
__attribute__((__progmem__))
|
||||
#endif
|
||||
'''
|
||||
|
||||
filename = '{0}_init_script.c'.format(chipset)
|
||||
|
Loading…
x
Reference in New Issue
Block a user