You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -333,7 +333,6 @@ jump to our boot function.
333
333
334
334
335
335
## Minimal firmware
336
-
Note: The startup code here is written in C, and included in the main.c file. Usually we have a startup.s file which is written in assembly language for initialization.
337
336
338
337
Let's create a file `main.c`, and specify our boot function that initially does
339
338
nothing (falls into infinite loop), and specify a vector table that contains 16
@@ -369,6 +368,9 @@ generated firmware - and consecutively, at the beginning of flash memory. The
369
368
first two entries are: the value of the stack pointer register, and the
370
369
firmware's entry point. We leave the rest of vector table filled with zeroes.
371
370
371
+
NOTE: The startup code here is written in C, and included in the main.c file.
372
+
Oftentimes, device SDKs have a startup.s file written in assembly.
373
+
372
374
### Compilation
373
375
374
376
Let's compile our code. Start a terminal (or a command prompt on Windows) and execute:
0 commit comments