mirror of
https://github.com/apache/nuttx.git
synced 2026-09-28 15:54:57 +08:00
Support for the Atmel SAM4E family. From Mitko
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -37,7 +37,6 @@
|
||||
* nuttx/irq.h
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __ARCH_ARM_INCLUDE_SAM34_IRQ_H
|
||||
#define __ARCH_ARM_INCLUDE_SAM34_IRQ_H
|
||||
|
||||
@@ -85,6 +84,8 @@
|
||||
# include <arch/sam34/sam4l_irq.h>
|
||||
#elif defined(CONFIG_ARCH_CHIP_SAM4S)
|
||||
# include <arch/sam34/sam4s_irq.h>
|
||||
#elif defined(CONFIG_ARCH_CHIP_SAM4E)
|
||||
# include <arch/sam34/sam4e_irq.h>
|
||||
#else
|
||||
# error Unrecognized SAM architecture
|
||||
#endif
|
||||
@@ -117,4 +118,3 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_ARM_INCLUDE_SAM34_IRQ_H */
|
||||
|
||||
|
||||
Executable
+333
File diff suppressed because it is too large
Load Diff
@@ -15,6 +15,31 @@ config ARCH_CHIP_ATSAM3U4E
|
||||
select ARCH_CORTEXM3
|
||||
select ARCH_CHIP_SAM3U
|
||||
|
||||
config ARCH_CHIP_ATSAM3U4C
|
||||
bool "ATSAM3U4C"
|
||||
select ARCH_CORTEXM3
|
||||
select ARCH_CHIP_SAM3U
|
||||
|
||||
config ARCH_CHIP_ATSAM3U2E
|
||||
bool "ATSAM3U2E"
|
||||
select ARCH_CORTEXM3
|
||||
select ARCH_CHIP_SAM3U
|
||||
|
||||
config ARCH_CHIP_ATSAM3U2C
|
||||
bool "ATSAM3U2C"
|
||||
select ARCH_CORTEXM3
|
||||
select ARCH_CHIP_SAM3U
|
||||
|
||||
config ARCH_CHIP_ATSAM3U1E
|
||||
bool "ATSAM3U1E"
|
||||
select ARCH_CORTEXM3
|
||||
select ARCH_CHIP_SAM3U
|
||||
|
||||
config ARCH_CHIP_ATSAM3U1C
|
||||
bool "ATSAM3U1C"
|
||||
select ARCH_CORTEXM3
|
||||
select ARCH_CHIP_SAM3U
|
||||
|
||||
config ARCH_CHIP_ATSAM3X8E
|
||||
bool "ATSAMSAM3X8E"
|
||||
select ARCH_CORTEXM3
|
||||
@@ -163,6 +188,26 @@ config ARCH_CHIP_ATSAM4S8B
|
||||
select ARCH_CORTEXM4
|
||||
select ARCH_CHIP_SAM4S
|
||||
|
||||
config ARCH_CHIP_ATSAM4E16E
|
||||
bool "ATSAM4E16E"
|
||||
select ARCH_CORTEXM4
|
||||
select ARCH_CHIP_SAM4E
|
||||
|
||||
config ARCH_CHIP_ATSAM4E16C
|
||||
bool "ATSAM4E16C"
|
||||
select ARCH_CORTEXM4
|
||||
select ARCH_CHIP_SAM4E
|
||||
|
||||
config ARCH_CHIP_ATSAM4E8E
|
||||
bool "ATSAM4E8E"
|
||||
select ARCH_CORTEXM4
|
||||
select ARCH_CHIP_SAM4E
|
||||
|
||||
config ARCH_CHIP_ATSAM4E8C
|
||||
bool "ATSAM4E8C"
|
||||
select ARCH_CORTEXM4
|
||||
select ARCH_CHIP_SAM4E
|
||||
|
||||
endchoice # AT91SAM3/4 Chip Selection
|
||||
|
||||
config ARCH_CHIP_SAM3U
|
||||
|
||||
@@ -681,7 +681,7 @@ static void ssc_bufsem_take(struct sam_ssc_s *priv)
|
||||
* there are no available buffer containers.
|
||||
*
|
||||
* Assumptions:
|
||||
* The caller does NOT have exclusive acces to the SSC state structure.
|
||||
* The caller does NOT have exclusive access to the SSC state structure.
|
||||
* That would result in a deadlock!
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user