xref: /btstack/port/samv71-xplained-atwilc3000/conf_board.h (revision 6269ac328bd16d432f1244b84b0d1fea090ab8ea)
11b2596b5SMatthias Ringwald /**
21b2596b5SMatthias Ringwald  * \file
31b2596b5SMatthias Ringwald  *
41b2596b5SMatthias Ringwald  * \brief Board configuration.
51b2596b5SMatthias Ringwald  *
6d344c38bSMatthias Ringwald  * Copyright (c) 2015 Atmel Corporation. All rights reserved.
71b2596b5SMatthias Ringwald  *
81b2596b5SMatthias Ringwald  * \asf_license_start
91b2596b5SMatthias Ringwald  *
101b2596b5SMatthias Ringwald  * \page License
111b2596b5SMatthias Ringwald  *
121b2596b5SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
131b2596b5SMatthias Ringwald  * modification, are permitted provided that the following conditions are met:
141b2596b5SMatthias Ringwald  *
151b2596b5SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright notice,
161b2596b5SMatthias Ringwald  *    this list of conditions and the following disclaimer.
171b2596b5SMatthias Ringwald  *
181b2596b5SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright notice,
191b2596b5SMatthias Ringwald  *    this list of conditions and the following disclaimer in the documentation
201b2596b5SMatthias Ringwald  *    and/or other materials provided with the distribution.
211b2596b5SMatthias Ringwald  *
221b2596b5SMatthias Ringwald  * 3. The name of Atmel may not be used to endorse or promote products derived
231b2596b5SMatthias Ringwald  *    from this software without specific prior written permission.
241b2596b5SMatthias Ringwald  *
251b2596b5SMatthias Ringwald  * 4. This software may only be redistributed and used in connection with an
261b2596b5SMatthias Ringwald  *    Atmel microcontroller product.
271b2596b5SMatthias Ringwald  *
281b2596b5SMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
291b2596b5SMatthias Ringwald  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
301b2596b5SMatthias Ringwald  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
311b2596b5SMatthias Ringwald  * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
321b2596b5SMatthias Ringwald  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
331b2596b5SMatthias Ringwald  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
341b2596b5SMatthias Ringwald  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
351b2596b5SMatthias Ringwald  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
361b2596b5SMatthias Ringwald  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
371b2596b5SMatthias Ringwald  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
381b2596b5SMatthias Ringwald  * POSSIBILITY OF SUCH DAMAGE.
391b2596b5SMatthias Ringwald  *
401b2596b5SMatthias Ringwald  * \asf_license_stop
411b2596b5SMatthias Ringwald  *
421b2596b5SMatthias Ringwald  */
431b2596b5SMatthias Ringwald /*
441b2596b5SMatthias Ringwald  * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
451b2596b5SMatthias Ringwald  */
461b2596b5SMatthias Ringwald 
471b2596b5SMatthias Ringwald #ifndef CONF_BOARD_H_INCLUDED
481b2596b5SMatthias Ringwald #define CONF_BOARD_H_INCLUDED
491b2596b5SMatthias Ringwald 
50d344c38bSMatthias Ringwald /** Enable Com Port, used by board_init(). */
511b2596b5SMatthias Ringwald #define CONF_BOARD_UART_CONSOLE
521b2596b5SMatthias Ringwald 
53d344c38bSMatthias Ringwald /** Enable Bluetooth Port for board_init() */
54d344c38bSMatthias Ringwald #define CONF_BOARD_USART_RXD
55d344c38bSMatthias Ringwald #define CONF_BOARD_USART_TXD
56d344c38bSMatthias Ringwald #define CONF_BOARD_USART_CTS
57d344c38bSMatthias Ringwald #define CONF_BOARD_USART_RTS
58d344c38bSMatthias Ringwald 
59d344c38bSMatthias Ringwald /** Bluetooth configuration */
60d344c38bSMatthias Ringwald #define BOARD_ID_USART             ID_USART0
61d344c38bSMatthias Ringwald #define BOARD_USART                USART0
62d344c38bSMatthias Ringwald #define USART_Handler              USART0_Handler
63d344c38bSMatthias Ringwald #define USART_IRQn                 USART0_IRQn
64*6269ac32SMatthias Ringwald #define BLUETOOTH_RESET            PIO_PD26_IDX
65*6269ac32SMatthias Ringwald #define BLUETOOTH_CHP_EN           PIO_PA19_IDX
66d344c38bSMatthias Ringwald 
671b2596b5SMatthias Ringwald #endif /* CONF_BOARD_H_INCLUDED */
68