From 332ecdd71e7b9e6391a8f37aca67833daded08e9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 22 May 2015 11:28:02 -0600 Subject: [PATCH] SAML21 misc changes --- configs/samd20-xplained/README.txt | 17 +++++++++--- configs/saml21-xplained/README.txt | 37 +++++++++++++++++---------- configs/saml21-xplained/nsh/defconfig | 5 ++-- 3 files changed, 38 insertions(+), 21 deletions(-) diff --git a/configs/samd20-xplained/README.txt b/configs/samd20-xplained/README.txt index 3a8a11b264..cc1efb4410 100644 --- a/configs/samd20-xplained/README.txt +++ b/configs/samd20-xplained/README.txt @@ -680,10 +680,19 @@ Configuration sub-directories changed as described above under "Configurations." 2. By default, this configuration provides a serial console on SERCOM4 - via EXT3. If you would prefer to use the EDBG serial COM port or - would prefer to use SERCOM4 on EXT1 or EXT2, you will need to - reconfigure the SERCOM as described under "Configurations". See - also the section entitle "Serial Consoles" above. + at 115200 8N1 via EXT3: + + PIN EXT3 GPIO Function + ---- ---- ------------------ + 13 PB11 SERCOM4 / USART RX + 14 PB12 SERCOM4 / USART TX + 19 GND N/A + 20 VCC N/A + + If you would prefer to use the EDBG serial COM port or would prefer + to use SERCOM4 on EXT1 or EXT2, you will need to reconfigure the + SERCOM as described under "Configurations". See also the section + entitled "Serial Consoles" above. 3. NOTE: If you get a compilation error like: diff --git a/configs/saml21-xplained/README.txt b/configs/saml21-xplained/README.txt index dd9dc4b0b7..554bac2423 100644 --- a/configs/saml21-xplained/README.txt +++ b/configs/saml21-xplained/README.txt @@ -5,14 +5,6 @@ This README discusses issues unique to NuttX configurations for the Atmel SAML21 Xplained Pro development board. This board features the ATSAML21J18A MCU. -The SAML21 Xplained Pro Starter Kit may be bundled with three modules: - -1) I/O1 - An MMC/SD card slot, PWM LED control, ADC light sensor, USART - loopback, TWI AT30TSE758 Temperature sensor. -2) OLED1 - An OLED plus 3 additional switches and 3 additional LEDs -3) PROTO1 - A prototyping board with logic on board (other than power-related - logic). - Contents ======== @@ -30,7 +22,16 @@ Contents Modules ======= - The SAML21 Xplained Pro Starter Kit is bundled with four modules: + There are several I/O modules available that will work with the SAML21 + Xplained Pro Starter Kit: + + 1) I/O1 - An MMC/SD card slot, PWM LED control, ADC light sensor, USART + loopback, TWI AT30TSE758 Temperature sensor. + 2) OLED1 - An OLED plus 3 additional switches and 3 additional LEDs + 3) PROTO1 - A prototyping board with logic on board (other than power- + related logic). + +Some of these are discussed further below. I/O1 ---- @@ -656,7 +657,6 @@ Configurations virtual COM port on SERCOME could be used, instead, by reconfiguring to use SERCOM1 or SERCOM3 instead of SERCOM4: - System Type -> SAMD/L Peripheral Support CONFIG_SAMDL_SERCOM1=y : Enable one or both CONFIG_SAMDL_SERCOM3=y @@ -720,10 +720,19 @@ Configuration sub-directories changed as described above under "Configurations." 2. By default, this configuration provides a serial console on SERCOM4 - via EXT3. If you would prefer to use the EDBG serial COM port or - would prefer to use SERCOM4 on EXT1 or EXT2, you will need to - reconfigure the SERCOM as described under "Configurations". See - also the section entitle "Serial Consoles" above. + at 115200 8N1 via EXT1: + + PIN EXT1 GPIO Function + ---- ---- ------------------ + 13 PB09 SERCOM4 / USART RX + 14 PB08 SERCOM4 / USART TX + 19 GND N/A + 20 VCC N/A + + If you would prefer to use the EDBG serial COM port or would prefer + to use SERCOM4 on EXT1 or EXT2, you will need to reconfigure the + SERCOM as described under "Configurations". See also the section + entitled "Serial Consoles" above. 3. NOTE: If you get a compilation error like: diff --git a/configs/saml21-xplained/nsh/defconfig b/configs/saml21-xplained/nsh/defconfig index a8d5d53aee..2109a30f68 100644 --- a/configs/saml21-xplained/nsh/defconfig +++ b/configs/saml21-xplained/nsh/defconfig @@ -28,9 +28,9 @@ CONFIG_BUILD_FLAT=y # Binary Output Formats # # CONFIG_RRLOAD_BINARY is not set -# CONFIG_INTELHEX_BINARY is not set +CONFIG_INTELHEX_BINARY=y # CONFIG_MOTOROLA_SREC is not set -CONFIG_RAW_BINARY=y +# CONFIG_RAW_BINARY is not set # CONFIG_UBOOT_UIMAGE is not set # @@ -691,7 +691,6 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y # CONFIG_NETUTILS_JSON is not set # CONFIG_NETUTILS_SMTP is not set # CONFIG_NETUTILS_THTTPD is not set -# CONFIG_NETUTILS_PPPD is not set # # FreeModBus