blob: 22b070c723abf170cbdc384f1588448be85e0067 [file] [log] [blame]
# Copyright 2022 The Pigweed Authors
#
# 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
#
# https://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.
declare_args() {
# If compiling backends with tinyusb, this variable is set to the path to the
# tinyusb source code. When set, a pw_source_set for the tinyusb library is
# created at "$dir_pw_third_party/tinyusb".
pw_third_party_tinyusb_SOURCE = ""
# The pw_source_set which provides the port specific includes and sources for
# the mcu. This should set a public config with at least CFG_TUSB_MCU defined
# for the mcu port.
pw_third_party_tinyusb_PORT = ""
# The pw_source_set which provides the public config providing the include
# path to tusb_config.h and its dependencies. A tusb_config.h in the include
# path is required, but macros can be passed as defines in a public config.
# tinyusb source dependencies vary according to this config, so if for example
# the config file sets CFG_TUSB_OS to OPT_OS_FREERTOS a public dependency on
# the FreeRTOS pw_source_set is also required.
pw_third_party_tinyusb_CONFIG = ""
}