Merged nuttx/arch/master into atmega2560

This commit is contained in:
Dimitry Kloper 2015-12-29 21:54:06 +02:00
commit a7fea840be
15 changed files with 286 additions and 298 deletions

View File

@ -239,4 +239,3 @@ extern "C"
#endif
#endif /* __ARCH_AVR_INCLUDE_ATMEGA_IRQ_H */

View File

@ -204,4 +204,3 @@ extern "C"
#endif
#endif /* __ARCH_AVR_INCLUDE_AVR_IRQ_H */

View File

@ -183,4 +183,3 @@ endif
$(call DELFILE, .depend)
-include Make.dep

View File

@ -39,7 +39,6 @@ config AVR_USART1
endmenu # ATMega Peripheral Selections
menu "Low level UART driver options"
depends on AVR_USART0 || AVR_USART1
@ -54,4 +53,3 @@ config SERIAL_TERMIOS
endmenu
endif

View File

@ -155,5 +155,3 @@ void up_lowinit(void)
atmega_boardinitialize();
}

View File

@ -124,5 +124,3 @@ ifeq ($(CONFIG_AVR_TOOLCHAIN),WINAVR)
MAXOPTIMIZATION ?= -O2
LDFLAGS += -nostartfiles -nodefaultlibs
endif

View File

@ -401,6 +401,7 @@
adiw r26, 2 /* Two registers: r24-r25 */
/* Save the return address that we have saved in r18:19*/
#if ATMEGA_PC_SIZE > 16
st x+, r20
#endif /* ATMEGA_PC_SIZE */

View File

@ -158,9 +158,9 @@ static inline void up_registerdump(void)
current_regs[REG_SREG]);
#else
lldbg("PC: %02x%02x%02x SP: %02x%02x SREG: %02x\n",
current_regs[REG_PC0], current_regs[REG_PC1], current_regs[REG_PC2],
current_regs[REG_SPH], current_regs[REG_SPL],
current_regs[REG_SREG]);
current_regs[REG_PC0], current_regs[REG_PC1],
current_regs[REG_PC2], current_regs[REG_SPH],
current_regs[REG_SPL], current_regs[REG_SREG]);
#endif
}
}

View File

@ -113,4 +113,3 @@ void up_initial_state(struct tcb_s *tcb)
xcp->regs[REG_SREG] = getsreg() | (1 << SREG_I);
#endif
}

View File

@ -224,4 +224,3 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver)
}
#endif /* !CONFIG_DISABLE_SIGNALS */

View File

@ -155,4 +155,3 @@ void up_sigdeliver(void)
}
#endif /* !CONFIG_DISABLE_SIGNALS */

View File

@ -301,4 +301,3 @@ void up_initialize(void)
board_autoled_on(LED_IRQSENABLED);
#endif
}