mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
Fix typo cloned to many files: SAM32 vs SAM34
This commit is contained in:
+180
-180
File diff suppressed because it is too large
Load Diff
@@ -575,7 +575,7 @@ endmenu # AT91SAM3/4 Peripheral Support
|
||||
if ARCH_CHIP_SAM4L
|
||||
menu "AT91SAM3/4 Clock Configuration"
|
||||
|
||||
config SAM32_RESET_PERIPHCLKS
|
||||
config SAM34_RESET_PERIPHCLKS
|
||||
bool "Enable all peripheral clocks on reset"
|
||||
default n
|
||||
---help---
|
||||
|
||||
@@ -105,7 +105,7 @@ static inline void sam_init_cpumask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_OCD
|
||||
mask |= PM_CPUMASK_OCD; /* On-Chip Debug */
|
||||
#endif
|
||||
@@ -136,7 +136,7 @@ static inline void sam_init_hsbmask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_PDCA
|
||||
mask |= PM_HSBMASK_PDCA; /* PDCA */
|
||||
#endif
|
||||
@@ -182,7 +182,7 @@ static inline void sam_init_pbamask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_IISC
|
||||
mask |= PM_PBAMASK_IISC; /* IISC */
|
||||
#endif
|
||||
@@ -290,7 +290,7 @@ static inline void sam_init_pbbmask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_HRAMC1
|
||||
mask |= PM_PBBMASK_HRAMC1; /* HRAMC1 */
|
||||
#endif
|
||||
@@ -335,7 +335,7 @@ static inline void sam_init_pbcmask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_CHIPID
|
||||
mask |= PM_PBCMASK_CHIPID; /* CHIPID */
|
||||
#endif
|
||||
@@ -368,7 +368,7 @@ static inline void sam_init_pbdmask(void)
|
||||
|
||||
/* OR in the user selected peripherals */
|
||||
|
||||
#ifdef CONFIG_SAM32_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_RESET_PERIPHCLKS
|
||||
#ifdef CONFIG_SAM34_AST
|
||||
mask |= PM_PBDMASK_AST; /* AST */
|
||||
#endif
|
||||
|
||||
@@ -178,7 +178,7 @@ CONFIG_SAM34_USART0=y
|
||||
#
|
||||
# AT91SAM3/4 Clock Configuration
|
||||
#
|
||||
# CONFIG_SAM32_RESET_PERIPHCLKS is not set
|
||||
# CONFIG_SAM34_RESET_PERIPHCLKS is not set
|
||||
# CONFIG_SAM34_OSC0 is not set
|
||||
# CONFIG_SAM34_OSC32K is not set
|
||||
# CONFIG_SAM34_RC80M is not set
|
||||
|
||||
@@ -165,7 +165,7 @@ CONFIG_SAM34_USART0=y
|
||||
# CONFIG_SAM34_AST is not set
|
||||
# CONFIG_SAM34_WDT is not set
|
||||
# CONFIG_SAM34_EIC is not set
|
||||
# CONFIG_SAM32_RESET_PERIPHCLKS is not set
|
||||
# CONFIG_SAM34_RESET_PERIPHCLKS is not set
|
||||
|
||||
#
|
||||
# AT91SAM3/4 USART Configuration
|
||||
|
||||
@@ -300,7 +300,7 @@ errout_with_reference:
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: i2schar_read
|
||||
* Name: i2schar_write
|
||||
*
|
||||
* Description:
|
||||
* Standard character driver write method
|
||||
|
||||
Reference in New Issue
Block a user