xi
Appendix A: Using Central Build .......................................129
Overview ................................................................................130
Design.............................................................................130
Structure .........................................................................130
Building with ns9360_a.gpj ..........................................................134
Building a single application ..................................................134
Adding a new application......................................................135
Adding a custom BSP ...........................................................137
Setting options .........................................................................139
Platform..........................................................................140
CPU type .........................................................................140
Endianness .......................................................................140
Warnings .........................................................................140
Optimization.....................................................................140
Debug .............................................................................141
Define flags ......................................................................141
Build option macros ............................................................141
Adding paths.....................................................................142
Directory path...................................................................142
File hooks ........................................................................143
Appendix B: Customizing the SPI Bootloade
r ....................... 145
Overview ................................................................................146
SPI bootloader application images ..................................................147
ROM image .......................................................................147
RAM image .......................................................................147
Application image structure .........................................................148
Application image header .....................................................148
boothdr utility...................................................................150
spibootldr utility ................................................................151
Generating an image ..................................................................152
Configuration file ...............................................................152
General bootloader limitations ...............................................153
Customizing the SPI bootloader utility .............................................154
Customization hooks ...........................................................154