mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Create AVR32 Kconfig files; reshuffled lots of configuration names
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
* save structure and irqsave()/irqrestore() macros
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_ARCH_AVR32
|
||||
#ifdef CONFIG_ARCH_FAMILY_AVR32
|
||||
# include <arch/avr32/irq.h>
|
||||
#else
|
||||
# include <arch/avr/irq.h>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
/* Include AVR architecture-specific limits */
|
||||
|
||||
#ifdef CONFIG_ARCH_AVR32
|
||||
#ifdef CONFIG_ARCH_FAMILY_AVR32
|
||||
# include <arch/avr32/limits.h>
|
||||
#else
|
||||
# include <arch/avr/limits.h>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
/* Include AVR architecture-specific syscall macros */
|
||||
|
||||
#ifdef CONFIG_ARCH_AVR32
|
||||
#ifdef CONFIG_ARCH_FAMILY_AVR32
|
||||
# include <arch/avr32/syscall.h>
|
||||
#else
|
||||
# include <arch/avr/syscall.h>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
/* Include AVR architecture-specific types definitions */
|
||||
|
||||
#ifdef CONFIG_ARCH_AVR32
|
||||
#ifdef CONFIG_ARCH_FAMILY_AVR32
|
||||
# include <arch/avr32/types.h>
|
||||
#else
|
||||
# include <arch/avr/types.h>
|
||||
|
||||
@@ -36,9 +36,9 @@
|
||||
-include $(TOPDIR)/Make.defs
|
||||
-include chip/Make.defs
|
||||
|
||||
ifeq ($(CONFIG_ARCH_AVR32),y)
|
||||
ifeq ($(CONFIG_ARCH_FAMILY_AVR32),y)
|
||||
ARCH_SUBDIR = avr32
|
||||
else ifeq ($(CONFIG_ARCH_AVR),y)
|
||||
else ifeq ($(CONFIG_ARCH_FAMILY_AVR),y)
|
||||
ARCH_SUBDIR = avr
|
||||
endif
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
# include <stdint.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ARCH_AVR32
|
||||
#ifdef CONFIG_ARCH_FAMILY_AVR32
|
||||
# include "avr32_internal.h"
|
||||
#else
|
||||
# include "avr_internal.h"
|
||||
|
||||
Reference in New Issue
Block a user