Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
465010c6
Commit
465010c6
authored
14 years ago
by
patacongo
Browse files
Options
Downloads
Patches
Plain Diff
misc
git-svn-id:
svn://svn.code.sf.net/p/nuttx/code/trunk@3006
42af7a65-404d-4744-a932-0658087f49c3
parent
26d65d75
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/avr/src/at91uc3/at91uc3_config.h
+35
-0
35 additions, 0 deletions
arch/avr/src/at91uc3/at91uc3_config.h
configs/avr32dev1/README.txt
+11
-0
11 additions, 0 deletions
configs/avr32dev1/README.txt
configs/avr32dev1/ostest/defconfig
+20
-0
20 additions, 0 deletions
configs/avr32dev1/ostest/defconfig
with
66 additions
and
0 deletions
arch/avr/src/at91uc3/at91uc3_config.h
+
35
−
0
View file @
465010c6
...
...
@@ -65,17 +65,52 @@
# undef CONFIG_AVR32_USART2
#endif
/* Not all USART features are supported on all chips or all USARTS */
#ifdef CONFIG_ARCH_CHIP_AT91UC3B
# undef CONFIG_AVR32_USART0_RS485
# undef CONFIG_AVR32_USART0_MAN
# undef CONFIG_AVR32_USART0_MODEM
# undef CONFIG_AVR32_USART0_IRDA
# undef CONFIG_AVR32_USART0_ISO786
# undef CONFIG_AVR32_USART1_RS485
# undef CONFIG_AVR32_USART2_RS485
# undef CONFIG_AVR32_USART2_MAN
# undef CONFIG_AVR32_USART2_MODEM
# undef CONFIG_AVR32_USART2_IRDA
# undef CONFIG_AVR32_USART2_ISO786
#endif
/* Disable configurations if USART not selected in configuration file */
#ifndef CONFIG_AVR32_USART0
# undef CONFIG_AVR32_USART0_RS232
# undef CONFIG_AVR32_USART0_SPI
# undef CONFIG_AVR32_USART0_RS485
# undef CONFIG_AVR32_USART0_MAN
# undef CONFIG_AVR32_USART0_MODEM
# undef CONFIG_AVR32_USART0_IRDA
# undef CONFIG_AVR32_USART0_ISO786
#endif
#ifndef CONFIG_AVR32_USART1
# undef CONFIG_AVR32_USART1_RS232
# undef CONFIG_AVR32_USART1_SPI
# undef CONFIG_AVR32_USART1_RS485
# undef CONFIG_AVR32_USART1_MAN
# undef CONFIG_AVR32_USART1_MODEM
# undef CONFIG_AVR32_USART1_IRDA
# undef CONFIG_AVR32_USART1_ISO786
#endif
#ifndef CONFIG_AVR32_USART2
# undef CONFIG_AVR32_USART2_RS232
# undef CONFIG_AVR32_USART2_SPI
# undef CONFIG_AVR32_USART2_RS485
# undef CONFIG_AVR32_USART2_MAN
# undef CONFIG_AVR32_USART2_MODEM
# undef CONFIG_AVR32_USART2_IRDA
# undef CONFIG_AVR32_USART2_ISO786
#endif
/* Is any UART configured? */
...
...
This diff is collapsed.
Click to expand it.
configs/avr32dev1/README.txt
+
11
−
0
View file @
465010c6
...
...
@@ -155,6 +155,17 @@ AVR32DEV1 Configuration Options
the 100 second delay then adjust CONFIG_ARCH_LOOPSPERMSEC until
the delay actually is 100 seconds.
Individual subsystems can be enabled:
CONFIG_AVR32_USARTn - Enable support for USARTn
CONFIG_AVR32_USARTn_RS232 - Configure USARTn as an RS232 interface.
CONFIG_AVR32_USARTn_SPI - Configure USARTn as an SPI interface.
CONFIG_AVR32_USARTn_RS485 - Configure USARTn as an RS485 interface.
CONFIG_AVR32_USARTn_MAN - Configure USARTn as an Manchester interface.
CONFIG_AVR32_USARTn_MODEM - Configure USARTn as an Modem interface.
CONFIG_AVR32_USARTn_IRDA - Configure USARTn as an IRDA interface.
CONFIG_AVR32_USARTn_ISO786 - Configure USARTn as an ISO786 interface.
AT91UC3B0256 specific device driver settings
CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the
...
...
This diff is collapsed.
Click to expand it.
configs/avr32dev1/ostest/defconfig
+
20
−
0
View file @
465010c6
...
...
@@ -102,19 +102,39 @@ CONFIG_AVR32_AVRTOOLSL=n
# CONFIG_AVR32_USARTn - Enable support for USARTn
# CONFIG_AVR32_USARTn_RS232 - Configure USARTn as an RS232 interface.
# CONFIG_AVR32_USARTn_SPI - Configure USARTn as an SPI interface.
# CONFIG_AVR32_USARTn_RS485 - Configure USARTn as an RS485 interface.
# CONFIG_AVR32_USARTn_MAN - Configure USARTn as an Manchester interface.
# CONFIG_AVR32_USARTn_MODEM - Configure USARTn as an Modem interface.
# CONFIG_AVR32_USARTn_IRDA - Configure USARTn as an IRDA interface.
# CONFIG_AVR32_USARTn_ISO786 - Configure USARTn as an ISO786 interface.
#
CONFIG_AVR32_USART0=y
CONFIG_AVR32_USART0_RS232=y
CONFIG_AVR32_USART0_SPI=n
CONFIG_AVR32_USART0_RS485=n
CONFIG_AVR32_USART0_MAN=n
CONFIG_AVR32_USART0_MODEM=n
CONFIG_AVR32_USART0_IRDA=n
CONFIG_AVR32_USART0_ISO786=n
CONFIG_AVR32_USART1=n
CONFIG_AVR32_USART1_RS232=n
CONFIG_AVR32_USART1_SPI=n
CONFIG_AVR32_USART1_RS485=n
CONFIG_AVR32_USART1_MAN=n
CONFIG_AVR32_USART1_MODEM=n
CONFIG_AVR32_USART1_IRDA=n
CONFIG_AVR32_USART1_ISO786=n
CONFIG_AVR32_USART2=n
CONFIG_AVR32_USART2_RS232=n
CONFIG_AVR32_USART2_SPI=n
CONFIG_AVR32_USART2_RS485=n
CONFIG_AVR32_USART2_MAN=n
CONFIG_AVR32_USART2_MODEM=n
CONFIG_AVR32_USART2_IRDA=n
CONFIG_AVR32_USART2_ISO786=n
#
# AVR32 specific serial device driver settings
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment