taeil kim
/
seoul-iot-hackathon-demo
Revision Commit
Fork of seoul-iot-hackathon-demo by
Diff: main.cpp
- Revision:
- 0:6b7ffde9f287
- Child:
- 3:09d8f51b1d7e
diff -r 000000000000 -r 6b7ffde9f287 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Sep 28 13:35:07 2017 -0500 @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2016 ARM Limited. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 + * Licensed under the Apache License, Version 2.0 (the License); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#if APP_SHIELD_DEMO == 1 +#include "1_app_shield/main.h" +#elif APP_SHIELD_DEMO == 0 +#include "2_connected_app/main.h" +#else +#error "Add APP_SHIELD_DEMO macro to mbed_app.json" +#endif