blob: 97d72b9e89b0d61699a3b8f9aa2351777b42d881 [file] [log] [blame]
#
# 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.
#
pkg.name: hw/usb/tinyusb/msc_fat_view
pkg.description: USB MSC protocol that exposes virtual FAT disk
pkg.author: "Apache Mynewt <dev@mynewt.apache.org>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
- msc
- usb
pkg.deps:
- "@apache-mynewt-core/hw/hal"
- "@apache-mynewt-core/kernel/os"
- "@apache-mynewt-core/hw/usb/tinyusb"
- "@apache-mynewt-core/mgmt/imgmgr"
- "@apache-mynewt-core/util/stream"
- "@mcuboot/boot/bootutil"
pkg.deps.MSC_FAT_VIEW_CONFIG:
- "@apache-mynewt-core/sys/config"
pkg.deps.MSC_FAT_VIEW_COREDUMP_FILES:
- "@apache-mynewt-core/sys/coredump"
pkg.source_files:
- src/msc_fat_view.c
pkg.whole_archive: true
pkg.source_files.MSC_FAT_VIEW_COREDUMP_FILES:
- src/coredump_files.c
pkg.source_files.MSC_FAT_VIEW_DEFAULT_README:
- src/entry_readme.c
pkg.source_files.MSC_FAT_VIEW_HUGE_FILE:
- src/entry_huge_file.c
pkg.source_files.MSC_FAT_VIEW_SLOT0_IMAGE:
- src/entry_slot0.c
pkg.source_files.MSC_FAT_VIEW_BOOT_BIN:
- src/entry_boot_bin.c
pkg.source_files.MSC_FAT_VIEW_SLOT0_HEX:
- src/entry_slot0_hex.c
pkg.source_files.MSC_FAT_VIEW_MYNEWT_SHORTCUT:
- src/entry_mynewt_htm.c
pkg.source_files.MSC_FAT_VIEW_CONFIG:
- src/entry_config.c
pkg.source_files.MSC_FAT_VIEW_UPDATE_HANDLER:
- src/update_handler.c
pkg.link_tables:
- msc_fat_view_root_entry
- msc_fat_view_write_handlers
- msc_fat_view_media_insert_handlers
pkg.init.'(!BOOT_LOADER && TINYUSB_AUTO_START!=0)':
msc_fat_view_pkg_init: $before:tinyusb_start
pkg.init.'(!BOOT_LOADER && TINYUSB_AUTO_START==0)':
msc_fat_view_pkg_init: MYNEWT_VAL(MSC_FAT_VIEW_SYSINIT_STAGE)
pkg.init.'!BOOT_LOADER && MSC_FAT_VIEW_COREDUMP_FILES':
msc_fat_view_coredump_pkg_init:
- $before:msc_fat_view_pkg_init