xref: /btstack/port/max32630-fthr/src/main.c (revision 1b464e99afd70ddaf6b75be1ba7cc563a5f5dfd8)
1 /*******************************************************************************
2  * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved.
3  * Author: Ismail H. Kose <[email protected]>
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included
13  * in all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18  * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
19  * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21  * OTHER DEALINGS IN THE SOFTWARE.
22  *
23  * Except as contained in this notice, the name of Maxim Integrated
24  * Products, Inc. shall not be used except as stated in the Maxim Integrated
25  * Products, Inc. Branding Policy.
26  *
27  * The mere transfer of this software does not imply any licenses
28  * of trade secrets, proprietary technology, copyrights, patents,
29  * trademarks, maskwork rights, or any other form of intellectual
30  * property whatsoever. Maxim Integrated Products, Inc. retains all
31  * ownership rights.
32  *
33  * $Date: 2016-03-11 10:46:02 -0700 (Fri, 11 Mar 2016) $
34  * $Revision: 21838 $
35  *
36  ******************************************************************************/
37 
38 /**
39  * @file    main.c
40  * @brief   Max32630 CC2564B btstack Example
41  */
42 
43 /***** Includes *****/
44 #include <stdio.h>
45 #include <stdint.h>
46 #include "led.h"
47 #include "tmr_utils.h"
48 #include "btstack_port.h"
49 
50 /***** Definitions *****/
51 
52 /***** Globals *****/
53 
54 /***** Functions *****/
55 
56 // *****************************************************************************
57 int main(void)
58 {
59     printf("max32630fthr btstack example\n");
60 	bluetooth_main();
61 
62     while(1) {
63 		hal_btstack_run_loop_execute_once();
64     }
65 }
66