/* This is the code that gets called on processor reset. To initialize the device, and call the main() routine.  */
void app_entry(void)
/* This is the code that gets called on processor reset. To initialize the device, and call the main() routine.  */
void app_entry(void)
{
    uint32_t *pSrc, *pDest;
    pSrc = &_etext;
    pDest = &_srelocate;
    if (pSrc != pDest) {
        for (; pDest < &_erelocate;) {
            *pDest++ = *pSrc++;
        }
    }
    for (pDest = &_szero; pDest < &_ezero;) {
        *pDest++ = 0;
    }
    __libc_init_array();
    main();
    return;
}