Improve code style and comments

This commit is contained in:
2021-05-22 12:44:43 +02:00
parent 0b1ce8b614
commit 4ed2203b35
4 changed files with 106 additions and 14 deletions

View File

@@ -274,15 +274,12 @@ void Reset_Handler()
*/
CPACR |= (0xF << 20);
/* Fill bss with zero */
__fill_zero(&__ld_sbss, &__ld_ebss);
/* Reset the stack pointer to top of stack. SP is not required to be inside the clobber list! */
__asm__ __volatile__ ("mov sp, %0\n\t" :: "r"(&__ld_top_of_stack) :);
ram_code_main();
/* Catch return from main() */