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