Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “A single configuration file must be provided from the command-line invocation, with several platforms and development board configurations provided under the /
scripts
directory.”
A block of code is set as follows:
/* Jump to non secure app_entry */ asm volatile("mov r12, %0" ::"r" ((uint32_t)app_entry - 1)); asm volatile("blxns r12" );
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
Secure Area 1: SECWM1_PSTRT : 0x0 (0x8000000) SECWM1_PEND : 0x39 (0x8039000)
Any command-line input or output is written as follows:
$ renode /opt/renode/scripts/single-node/stm32f4_discovery.resc
Commands for the debugger console are written as follows:
> add-symbol-file app.elf 0x1000 > bt full
Tips or important notes
Appear like this.