Skip to content

Commit aa1e7eb

Browse files
committed
added a note to the reset handler
1 parent e594351 commit aa1e7eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

entry/entry.c

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ int main();
1818
* attribute "__constructor__". When marked the function will be added to
1919
* the ".init_array" segment and called before main is called.
2020
*
21+
* @note When running this program in the debugger this will not be called.
22+
* This means the constructors and other items are not called during startup
23+
*
2124
*/
2225
void __attribute__((__noreturn__, __naked__)) __reset_handler() {
2326
// initialize the stack pointer. As we are running from ram

0 commit comments

Comments
 (0)