nuttx-apps/examples/nimble/Makefile
raiden00pl f7072ceea8 examples: add NimBLE example, based on nimble/porting/examples/nuttx
It's better to keep this example as part of nuttx-apps instead of relying on an external project
2023-06-27 22:28:32 +03:00

37 lines
1.3 KiB
Makefile

############################################################################
# apps/examples/nimble/Makefile
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
# ASF licenses this file to you 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.
#
############################################################################
include $(APPDIR)/Make.defs
# NimBLE built-in application info
PROGNAME = $(CONFIG_EXAMPLES_NIMBLE_PROGNAME)
PRIORITY = $(CONFIG_EXAMPLES_NIMBLE_PRIORITY)
STACKSIZE = $(CONFIG_EXAMPLES_NIMBLE_STACKSIZE)
MODULE = $(CONFIG_EXAMPLES_NIMBLE)
# NimBLE Example
MAINSRC = nimble_main.c
include $(APPDIR)/wireless/bluetooth/nimble/Makefile.nimble
include $(APPDIR)/Application.mk