CommonPIC32

docs/wiki/Library--payload

154:c8a37eb47211
2021-12-14 Paul Boddie Fixed pin labels: RB10/PGEC3 should be RB10/PGED2.
     1 = Payload Initialisation =     2      3 The `lib/payload.c` file contains routines for completing the basic     4 initialisation of a payload before any application main program can be     5 invoked. These routines are called by the [[../start|start-up]] routine but     6 are implemented in C for convenience.     7      8  `init_bss` :: Initialises the `.bss` section of the payload so that     9                uninitialised global and static variables have a well-defined    10                initial value of zero.    11     12  `relocate_data` :: Copies the contents of the payload's `.data` section to    13                     writable memory so that mutable data structures can be    14                     modified.