1# Licensed to the Apache Software Foundation (ASF) under one
2# or more contributor license agreements.  See the NOTICE file
3# distributed with this work for additional information
4# regarding copyright ownership.  The ASF licenses this file
5# to you under the Apache License, Version 2.0 (the
6# "License"); you may not use this file except in compliance
7# with the License.  You may obtain a copy of the License at
8#
9#  http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing,
12# software distributed under the License is distributed on an
13# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14# KIND, either express or implied.  See the License for the
15# specific language governing permissions and limitations
16# under the License.
17#
18
19# Package: boot/mynewt
20
21syscfg.defs:
22    BOOT_LOADER:
23        description: 'Set to indicate that this app is a bootloader.'
24        value: 1
25    BOOT_SERIAL:
26        description: 'Support image upgrade over serial within bootloader'
27        value: 0
28    BOOT_CUSTOM_START:
29        description: 'Override hal_system_start with a custom start routine'
30        value:
31    BOOT_PREBOOT:
32        description: 'Call boot_preboot() function before booting application'
33        value:
34    BOOT_MYNEWT_SYSINIT:
35        description: >
36            When not 0 performs device initialization and calls newt
37            generated sysinit() function.
38            Note: this functionality is implicitly turned on when one of the
39            following settings are not 0:
40            MCUBOOT_SERIAL, MCUBOOT_HAVE_LOGGING, CRYPTO, HASH
41        value: 0
42
43syscfg.vals:
44    SYSINIT_CONSTRAIN_INIT: 0
45    OS_SCHEDULING: 0
46    MSYS_1_BLOCK_COUNT: 0
47    CONSOLE_COMPAT: 1
48