Initial commit
Initial commit.
This commit is contained in:
27
bootloader/mcuboot/ci/mynewt_targets/basic/pkg.yml
Normal file
27
bootloader/mcuboot/ci/mynewt_targets/basic/pkg.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# 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: "targets/basic"
|
||||
pkg.type: "target"
|
||||
pkg.description:
|
||||
pkg.author:
|
||||
pkg.homepage:
|
||||
|
||||
pkg.deps:
|
||||
- "@mcuboot/boot/mynewt"
|
||||
45
bootloader/mcuboot/ci/mynewt_targets/basic/syscfg.yml
Normal file
45
bootloader/mcuboot/ci/mynewt_targets/basic/syscfg.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
syscfg.vals:
|
||||
BOOT_SERIAL: 0
|
||||
BOOT_SERIAL_DETECT_PIN: 11
|
||||
BOOT_SERIAL_DETECT_PIN_VAL: 0
|
||||
BOOT_SERIAL_REPORT_PIN: 13
|
||||
BOOTUTIL_VALIDATE_SLOT0: 0
|
||||
BOOTUTIL_MAX_IMG_SECTORS: 256
|
||||
BOOTUTIL_SIGN_EC256: 0
|
||||
BOOTUTIL_SIGN_RSA: 0
|
||||
BOOTUTIL_ENCRYPT_RSA: 0
|
||||
BOOTUTIL_ENCRYPT_KW: 0
|
||||
BOOTUTIL_USE_MBED_TLS: 0
|
||||
BOOTUTIL_USE_TINYCRYPT: 1
|
||||
BOOTUTIL_OVERWRITE_ONLY: 0
|
||||
BOOTUTIL_OVERWRITE_ONLY_FAST: 1
|
||||
BOOTUTIL_HAVE_LOGGING: 0
|
||||
BOOTUTIL_NO_LOGGING: 1
|
||||
BOOTUTIL_LOG_LEVEL: 'BOOTUTIL_LOG_LEVEL_INFO'
|
||||
CONSOLE_COMPAT: 1
|
||||
CONSOLE_INPUT: 0
|
||||
CONSOLE_UART: 0
|
||||
CONSOLE_RTT: 0
|
||||
OS_CPUTIME_TIMER_NUM: 0
|
||||
TIMER_0: 1
|
||||
UART_0: 0
|
||||
BOOTUTIL_BOOTSTRAP: 0
|
||||
MBEDTLS_NIST_KW_C: 0
|
||||
22
bootloader/mcuboot/ci/mynewt_targets/basic/target.yml
Normal file
22
bootloader/mcuboot/ci/mynewt_targets/basic/target.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
target.app: "@mcuboot/boot/mynewt"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
|
||||
target.build_profile: "optimized"
|
||||
27
bootloader/mcuboot/ci/mynewt_targets/bootserial/pkg.yml
Normal file
27
bootloader/mcuboot/ci/mynewt_targets/bootserial/pkg.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# 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: "targets/bootserial"
|
||||
pkg.type: "target"
|
||||
pkg.description:
|
||||
pkg.author:
|
||||
pkg.homepage:
|
||||
|
||||
pkg.deps:
|
||||
- "@mcuboot/boot/mynewt"
|
||||
24
bootloader/mcuboot/ci/mynewt_targets/bootserial/syscfg.yml
Normal file
24
bootloader/mcuboot/ci/mynewt_targets/bootserial/syscfg.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
$import:
|
||||
- '@mcuboot/ci/mynewt_targets/basic/syscfg.yml'
|
||||
|
||||
syscfg.vals:
|
||||
BOOT_SERIAL: 1
|
||||
UART_0: 1
|
||||
22
bootloader/mcuboot/ci/mynewt_targets/bootserial/target.yml
Normal file
22
bootloader/mcuboot/ci/mynewt_targets/bootserial/target.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
target.app: "@mcuboot/boot/mynewt"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
|
||||
target.build_profile: "optimized"
|
||||
27
bootloader/mcuboot/ci/mynewt_targets/ecdsa/pkg.yml
Normal file
27
bootloader/mcuboot/ci/mynewt_targets/ecdsa/pkg.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# 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: "targets/ecdsa"
|
||||
pkg.type: "target"
|
||||
pkg.description:
|
||||
pkg.author:
|
||||
pkg.homepage:
|
||||
|
||||
pkg.deps:
|
||||
- "@mcuboot/boot/mynewt"
|
||||
24
bootloader/mcuboot/ci/mynewt_targets/ecdsa/syscfg.yml
Normal file
24
bootloader/mcuboot/ci/mynewt_targets/ecdsa/syscfg.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
$import:
|
||||
- '@mcuboot/ci/mynewt_targets/basic/syscfg.yml'
|
||||
|
||||
syscfg.vals:
|
||||
BOOTUTIL_VALIDATE_SLOT0: 1
|
||||
BOOTUTIL_SIGN_EC256: 1
|
||||
23
bootloader/mcuboot/ci/mynewt_targets/ecdsa/target.yml
Normal file
23
bootloader/mcuboot/ci/mynewt_targets/ecdsa/target.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
target.app: "@mcuboot/boot/mynewt"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
|
||||
target.build_profile: "optimized"
|
||||
target.key_file: "@mcuboot/root-ec-p256.pem"
|
||||
28
bootloader/mcuboot/ci/mynewt_targets/ecdsa_kw/pkg.yml
Normal file
28
bootloader/mcuboot/ci/mynewt_targets/ecdsa_kw/pkg.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# 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: "targets/ecdsa_kw"
|
||||
pkg.type: "target"
|
||||
pkg.description:
|
||||
pkg.author:
|
||||
pkg.homepage:
|
||||
|
||||
pkg.deps:
|
||||
- "@mcuboot/boot/mynewt"
|
||||
- "@mcuboot/keys/enc_kw"
|
||||
25
bootloader/mcuboot/ci/mynewt_targets/ecdsa_kw/syscfg.yml
Normal file
25
bootloader/mcuboot/ci/mynewt_targets/ecdsa_kw/syscfg.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
$import:
|
||||
- '@mcuboot/ci/mynewt_targets/basic/syscfg.yml'
|
||||
|
||||
syscfg.vals:
|
||||
BOOTUTIL_VALIDATE_SLOT0: 1
|
||||
BOOTUTIL_SIGN_EC256: 1
|
||||
BOOTUTIL_ENCRYPT_KW: 1
|
||||
23
bootloader/mcuboot/ci/mynewt_targets/ecdsa_kw/target.yml
Normal file
23
bootloader/mcuboot/ci/mynewt_targets/ecdsa_kw/target.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
target.app: "@mcuboot/boot/mynewt"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
|
||||
target.build_profile: "optimized"
|
||||
target.key_file: "@mcuboot/root-ec-p256.pem"
|
||||
27
bootloader/mcuboot/ci/mynewt_targets/rsa/pkg.yml
Normal file
27
bootloader/mcuboot/ci/mynewt_targets/rsa/pkg.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# 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: "targets/rsa"
|
||||
pkg.type: "target"
|
||||
pkg.description:
|
||||
pkg.author:
|
||||
pkg.homepage:
|
||||
|
||||
pkg.deps:
|
||||
- "@mcuboot/boot/mynewt"
|
||||
27
bootloader/mcuboot/ci/mynewt_targets/rsa/syscfg.yml
Normal file
27
bootloader/mcuboot/ci/mynewt_targets/rsa/syscfg.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
$import:
|
||||
- '@mcuboot/ci/mynewt_targets/basic/syscfg.yml'
|
||||
|
||||
syscfg.vals:
|
||||
BOOTUTIL_VALIDATE_SLOT0: 1
|
||||
BOOTUTIL_SIGN_EC256: 0
|
||||
BOOTUTIL_SIGN_RSA: 1
|
||||
BOOTUTIL_USE_MBED_TLS: 1
|
||||
BOOTUTIL_USE_TINYCRYPT: 0
|
||||
23
bootloader/mcuboot/ci/mynewt_targets/rsa/target.yml
Normal file
23
bootloader/mcuboot/ci/mynewt_targets/rsa/target.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
target.app: "@mcuboot/boot/mynewt"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
|
||||
target.build_profile: "optimized"
|
||||
target.key_file: "@mcuboot/root-rsa-2048.pem"
|
||||
28
bootloader/mcuboot/ci/mynewt_targets/rsa_kw/pkg.yml
Normal file
28
bootloader/mcuboot/ci/mynewt_targets/rsa_kw/pkg.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# 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: "targets/rsa_kw"
|
||||
pkg.type: "target"
|
||||
pkg.description:
|
||||
pkg.author:
|
||||
pkg.homepage:
|
||||
|
||||
pkg.deps:
|
||||
- "@mcuboot/boot/mynewt"
|
||||
- "@mcuboot/keys/enc_kw"
|
||||
30
bootloader/mcuboot/ci/mynewt_targets/rsa_kw/syscfg.yml
Normal file
30
bootloader/mcuboot/ci/mynewt_targets/rsa_kw/syscfg.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
$import:
|
||||
- '@mcuboot/ci/mynewt_targets/basic/syscfg.yml'
|
||||
|
||||
syscfg.vals:
|
||||
BOOTUTIL_VALIDATE_SLOT0: 1
|
||||
BOOTUTIL_SIGN_EC256: 0
|
||||
BOOTUTIL_SIGN_RSA: 1
|
||||
BOOTUTIL_USE_MBED_TLS: 1
|
||||
BOOTUTIL_USE_TINYCRYPT: 0
|
||||
BOOTUTIL_ENCRYPT_KW: 1
|
||||
MBEDTLS_NIST_KW_C: 1
|
||||
MBEDTLS_CIPHER_MODE_CTR: 1
|
||||
23
bootloader/mcuboot/ci/mynewt_targets/rsa_kw/target.yml
Normal file
23
bootloader/mcuboot/ci/mynewt_targets/rsa_kw/target.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
target.app: "@mcuboot/boot/mynewt"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
|
||||
target.build_profile: "optimized"
|
||||
target.key_file: "@mcuboot/root-rsa-2048.pem"
|
||||
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# 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: "targets/rsa_overwriteonly"
|
||||
pkg.type: "target"
|
||||
pkg.description:
|
||||
pkg.author:
|
||||
pkg.homepage:
|
||||
|
||||
pkg.deps:
|
||||
- "@mcuboot/boot/mynewt"
|
||||
@@ -0,0 +1,28 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
$import:
|
||||
- '@mcuboot/ci/mynewt_targets/basic/syscfg.yml'
|
||||
|
||||
syscfg.vals:
|
||||
BOOTUTIL_VALIDATE_SLOT0: 1
|
||||
BOOTUTIL_SIGN_EC256: 0
|
||||
BOOTUTIL_SIGN_RSA: 1
|
||||
BOOTUTIL_USE_MBED_TLS: 1
|
||||
BOOTUTIL_USE_TINYCRYPT: 0
|
||||
BOOTUTIL_OVERWRITE_ONLY: 1
|
||||
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
target.app: "@mcuboot/boot/mynewt"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
|
||||
target.build_profile: "optimized"
|
||||
target.key_file: "@mcuboot/root-rsa-2048.pem"
|
||||
27
bootloader/mcuboot/ci/mynewt_targets/rsa_rsaoaep/pkg.yml
Normal file
27
bootloader/mcuboot/ci/mynewt_targets/rsa_rsaoaep/pkg.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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: "targets/rsa_rsaoaep"
|
||||
pkg.type: "target"
|
||||
pkg.description:
|
||||
pkg.author:
|
||||
pkg.homepage:
|
||||
|
||||
pkg.deps:
|
||||
- "@mcuboot/boot/mynewt"
|
||||
- "@mcuboot/keys/enc_rsa"
|
||||
29
bootloader/mcuboot/ci/mynewt_targets/rsa_rsaoaep/syscfg.yml
Normal file
29
bootloader/mcuboot/ci/mynewt_targets/rsa_rsaoaep/syscfg.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
$import:
|
||||
- '@mcuboot/ci/mynewt_targets/basic/syscfg.yml'
|
||||
|
||||
syscfg.vals:
|
||||
BOOTUTIL_VALIDATE_SLOT0: 1
|
||||
BOOTUTIL_SIGN_EC256: 0
|
||||
BOOTUTIL_SIGN_RSA: 1
|
||||
BOOTUTIL_USE_MBED_TLS: 1
|
||||
BOOTUTIL_USE_TINYCRYPT: 0
|
||||
BOOTUTIL_ENCRYPT_RSA: 1
|
||||
MBEDTLS_CIPHER_MODE_CTR: 1
|
||||
23
bootloader/mcuboot/ci/mynewt_targets/rsa_rsaoaep/target.yml
Normal file
23
bootloader/mcuboot/ci/mynewt_targets/rsa_rsaoaep/target.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
target.app: "@mcuboot/boot/mynewt"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
|
||||
target.build_profile: "optimized"
|
||||
target.key_file: "@mcuboot/root-rsa-2048.pem"
|
||||
@@ -0,0 +1,27 @@
|
||||
# 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: "targets/rsa_rsaoaep_bootstrap"
|
||||
pkg.type: "target"
|
||||
pkg.description:
|
||||
pkg.author:
|
||||
pkg.homepage:
|
||||
|
||||
pkg.deps:
|
||||
- "@mcuboot/boot/mynewt"
|
||||
- "@mcuboot/keys/enc_rsa"
|
||||
@@ -0,0 +1,30 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
$import:
|
||||
- '@mcuboot/ci/mynewt_targets/basic/syscfg.yml'
|
||||
|
||||
syscfg.vals:
|
||||
BOOTUTIL_VALIDATE_SLOT0: 1
|
||||
BOOTUTIL_SIGN_EC256: 0
|
||||
BOOTUTIL_SIGN_RSA: 1
|
||||
BOOTUTIL_USE_MBED_TLS: 1
|
||||
BOOTUTIL_USE_TINYCRYPT: 0
|
||||
BOOTUTIL_ENCRYPT_RSA: 1
|
||||
BOOTUTIL_BOOTSTRAP: 1
|
||||
MBEDTLS_CIPHER_MODE_CTR: 1
|
||||
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
target.app: "@mcuboot/boot/mynewt"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
|
||||
target.build_profile: "optimized"
|
||||
target.key_file: "@mcuboot/root-rsa-2048.pem"
|
||||
27
bootloader/mcuboot/ci/mynewt_targets/swap_move/pkg.yml
Normal file
27
bootloader/mcuboot/ci/mynewt_targets/swap_move/pkg.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# 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: "targets/swap_move"
|
||||
pkg.type: "target"
|
||||
pkg.description:
|
||||
pkg.author:
|
||||
pkg.homepage:
|
||||
|
||||
pkg.deps:
|
||||
- "@mcuboot/boot/mynewt"
|
||||
46
bootloader/mcuboot/ci/mynewt_targets/swap_move/syscfg.yml
Normal file
46
bootloader/mcuboot/ci/mynewt_targets/swap_move/syscfg.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
syscfg.vals:
|
||||
BOOT_SERIAL: 0
|
||||
BOOT_SERIAL_DETECT_PIN: 11
|
||||
BOOT_SERIAL_DETECT_PIN_VAL: 0
|
||||
BOOT_SERIAL_REPORT_PIN: 13
|
||||
BOOTUTIL_VALIDATE_SLOT0: 0
|
||||
BOOTUTIL_MAX_IMG_SECTORS: 256
|
||||
BOOTUTIL_SWAP_USING_MOVE: 1
|
||||
BOOTUTIL_SIGN_EC256: 0
|
||||
BOOTUTIL_SIGN_RSA: 0
|
||||
BOOTUTIL_ENCRYPT_RSA: 0
|
||||
BOOTUTIL_ENCRYPT_KW: 0
|
||||
BOOTUTIL_USE_MBED_TLS: 0
|
||||
BOOTUTIL_USE_TINYCRYPT: 1
|
||||
BOOTUTIL_OVERWRITE_ONLY: 0
|
||||
BOOTUTIL_OVERWRITE_ONLY_FAST: 1
|
||||
BOOTUTIL_HAVE_LOGGING: 0
|
||||
BOOTUTIL_NO_LOGGING: 1
|
||||
BOOTUTIL_LOG_LEVEL: 'BOOTUTIL_LOG_LEVEL_INFO'
|
||||
CONSOLE_COMPAT: 1
|
||||
CONSOLE_INPUT: 0
|
||||
CONSOLE_UART: 0
|
||||
CONSOLE_RTT: 0
|
||||
OS_CPUTIME_TIMER_NUM: 0
|
||||
TIMER_0: 1
|
||||
UART_0: 0
|
||||
BOOTUTIL_BOOTSTRAP: 0
|
||||
MBEDTLS_NIST_KW_C: 0
|
||||
22
bootloader/mcuboot/ci/mynewt_targets/swap_move/target.yml
Normal file
22
bootloader/mcuboot/ci/mynewt_targets/swap_move/target.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
target.app: "@mcuboot/boot/mynewt"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
|
||||
target.build_profile: "optimized"
|
||||
Reference in New Issue
Block a user