diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-08 21:10:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-08 21:10:47 +0000 |
commit | fe2959c7e6d314cc44cf5472d20b8ac6d5806b51 (patch) | |
tree | 45399264e3dd854c8236e96a9930e40b3083ce28 /nuttx/arch/avr/src/at90usb/at90usb_head.S | |
parent | c626aec4434149e17e4cd98174e59095a3a06e05 (diff) | |
download | px4-nuttx-fe2959c7e6d314cc44cf5472d20b8ac6d5806b51.tar.gz px4-nuttx-fe2959c7e6d314cc44cf5472d20b8ac6d5806b51.tar.bz2 px4-nuttx-fe2959c7e6d314cc44cf5472d20b8ac6d5806b51.zip |
More logic for the AVR port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3684 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/at90usb/at90usb_head.S')
-rwxr-xr-x | nuttx/arch/avr/src/at90usb/at90usb_head.S | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/arch/avr/src/at90usb/at90usb_head.S b/nuttx/arch/avr/src/at90usb/at90usb_head.S index f951bac1d..608595f90 100755 --- a/nuttx/arch/avr/src/at90usb/at90usb_head.S +++ b/nuttx/arch/avr/src/at90usb/at90usb_head.S @@ -66,6 +66,7 @@ ****************************************************************************/
.file "up_nommuhead.S"
+ .global __start /* Entry point */
.global _sbss /* Start of .bss. Defined by ld.script */
.global _ebss /* End of .bss. Defined by ld.script */
.global _sdata /* Start of .data section in RAM */
@@ -248,9 +249,13 @@ __do_clear_bss: cpc r27, r17
brne .Lclearloop
+ /* Perform any low-level initialization */
+
+ call up_lowinit
+
/* Now start NuttX */
- call os_start /* Start NuttX */
+ call os_start
jmp exit
.endfunc
|