mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +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
|
* save structure and irqsave()/irqrestore() macros
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_AVR32
|
#ifdef CONFIG_ARCH_FAMILY_AVR32
|
||||||
# include <arch/avr32/irq.h>
|
# include <arch/avr32/irq.h>
|
||||||
#else
|
#else
|
||||||
# include <arch/avr/irq.h>
|
# include <arch/avr/irq.h>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
/* Include AVR architecture-specific limits */
|
/* Include AVR architecture-specific limits */
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_AVR32
|
#ifdef CONFIG_ARCH_FAMILY_AVR32
|
||||||
# include <arch/avr32/limits.h>
|
# include <arch/avr32/limits.h>
|
||||||
#else
|
#else
|
||||||
# include <arch/avr/limits.h>
|
# include <arch/avr/limits.h>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
/* Include AVR architecture-specific syscall macros */
|
/* Include AVR architecture-specific syscall macros */
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_AVR32
|
#ifdef CONFIG_ARCH_FAMILY_AVR32
|
||||||
# include <arch/avr32/syscall.h>
|
# include <arch/avr32/syscall.h>
|
||||||
#else
|
#else
|
||||||
# include <arch/avr/syscall.h>
|
# include <arch/avr/syscall.h>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
/* Include AVR architecture-specific types definitions */
|
/* Include AVR architecture-specific types definitions */
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_AVR32
|
#ifdef CONFIG_ARCH_FAMILY_AVR32
|
||||||
# include <arch/avr32/types.h>
|
# include <arch/avr32/types.h>
|
||||||
#else
|
#else
|
||||||
# include <arch/avr/types.h>
|
# include <arch/avr/types.h>
|
||||||
|
|||||||
@@ -36,9 +36,9 @@
|
|||||||
-include $(TOPDIR)/Make.defs
|
-include $(TOPDIR)/Make.defs
|
||||||
-include chip/Make.defs
|
-include chip/Make.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_AVR32),y)
|
ifeq ($(CONFIG_ARCH_FAMILY_AVR32),y)
|
||||||
ARCH_SUBDIR = avr32
|
ARCH_SUBDIR = avr32
|
||||||
else ifeq ($(CONFIG_ARCH_AVR),y)
|
else ifeq ($(CONFIG_ARCH_FAMILY_AVR),y)
|
||||||
ARCH_SUBDIR = avr
|
ARCH_SUBDIR = avr
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
# include <stdint.h>
|
# include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_AVR32
|
#ifdef CONFIG_ARCH_FAMILY_AVR32
|
||||||
# include "avr32_internal.h"
|
# include "avr32_internal.h"
|
||||||
#else
|
#else
|
||||||
# include "avr_internal.h"
|
# include "avr_internal.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user