summaryrefslogtreecommitdiff
path: root/tests/basics/iter1.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-03-29 16:15:57 +1100
committerDamien George <damien.p.george@gmail.com>2018-03-29 16:15:57 +1100
commit7856a416bd4718dd2f63e3adcd8a595fb4fbb9e9 (patch)
treec30833e050391964014f57b4a88e411a10167c6a /tests/basics/iter1.py
parentd9e69681f5c100076aec5fb9a9ec00add3aa22b0 (diff)
stm32/main: Rename main to stm32_main and pass through first argument.
The main() function has a predefined type in C which is not so useful for embedded contexts. This patch renames main() to stm32_main() so we can define our own type signature for this function. The type signature is defined to have a single argument which is the "reset_mode" and is passed through as r0 from Reset_Handler. This allows, for example, a bootloader to pass through information into the main application.
Diffstat (limited to 'tests/basics/iter1.py')
0 files changed, 0 insertions, 0 deletions