Thanks! I think that was where I needed to be looking.
Pulled up my linker file and found the rom section to be smaller than 1MB. Looks like about 500KB.
vectorrom (RX): ORIGIN = 0x00000000, LENGTH = 0x00000400
cfmprotrom (R): ORIGIN = 0x00000400, LENGTH = 0x00000020
rom (RX): ORIGIN = 0x00000420, LENGTH = 0x0007FBE0 /* Code + Const data*/
I tried changing the rom section to 0xFFBE0. I got that by subtracting the 0x420 taken up by vectorrom and cfmprotrom from 1MB. (0x100000 – 0x420 = 0xFFBE0). Once I rebuilt this seemed to fixed the issue. I can build/link and load my webpage from internal flash now.
Here are the sizes of things now:
| text | data | bss | dec | hex | filename |
| 324 | 64 | 0 | 388 | 184 | Sources\main.o |
| 2620 | 8 | 6 | 2634 | a4a | Sources\NetworkManager.o |
| 533512 | 0 | 0 | 533512 | 82408 | Sources\tfs_data.o |
| 0 | 0 | 12 | 12 | c | Sources\usb_classes.o |
| 751280 | 480 | 608 | 752368 | b7af0 | HW_Test_1MB.elf |
Thanks,
Sean