Toyomasa Watarai
/
test_big-size_program
Test program to generate big ROM size bin file
Diff: main.cpp
- Revision:
- 2:4262f7e2aa9e
- Parent:
- 1:d1898c185d3c
- Child:
- 3:3eae9fc3effb
--- a/main.cpp Mon Apr 27 14:12:39 2015 +0000 +++ b/main.cpp Tue Apr 28 01:49:03 2015 +0000 @@ -12,6 +12,18 @@ int foo1(int x) __attribute__((section(".ARM.__at_0x1A010000"))); int foo2(int x) __attribute__((section(".ARM.__at_0x1A020000"))); int foo3(int x) __attribute__((section(".ARM.__at_0x1A012000"))); +#elif defined(TARGET_LPC11U68) +int foo1(int x) __attribute__((section(".ARM.__at_0x00018000"))); +int foo2(int x) __attribute__((section(".ARM.__at_0x00020000"))); +int foo3(int x) __attribute__((section(".ARM.__at_0x00011000"))); +#elif defined(TARGET_LPC1549) +int foo1(int x) __attribute__((section(".ARM.__at_0x00020000"))); +int foo2(int x) __attribute__((section(".ARM.__at_0x00030000"))); +int foo3(int x) __attribute__((section(".ARM.__at_0x0003B000"))); +#else +int foo1(int x); +int foo2(int x); +int foo3(int x); #endif int main() {