Skip to content

Commit

Permalink
ci: Restore bootloader target for nRF51
Browse files Browse the repository at this point in the history
It was accidentally moved to NimBLE CI.
  • Loading branch information
sjanc committed Sep 29, 2023
1 parent f122906 commit db06ac6
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/targets_linux/nordic_pca10028_boot/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*** targets/nordic_pca10028_boot
Note: security is disabled in this boot loader target. With security,
the boot loader is just barely too large to fit on the nRF51.
25 changes: 25 additions & 0 deletions .github/targets_linux/nordic_pca10028_boot/pkg.yml
Original file line number Diff line number Diff line change
@@ -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.
#

### Package: "targets/nordic_pca10028_boot
pkg.name: "targets/nordic_pca10028_boot"
pkg.type: "target"
pkg.description:
pkg.author:
pkg.homepage:
25 changes: 25 additions & 0 deletions .github/targets_linux/nordic_pca10028_boot/syscfg.yml
Original file line number Diff line number Diff line change
@@ -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.
#

syscfg.vals:
BOOTUTIL_SIGN_RSA: 0
BOOTUTIL_SIGN_ECC: 0
UART_0: 0
TIMER_0: 0
OS_CPUTIME_TIMER_NUM: -1
23 changes: 23 additions & 0 deletions .github/targets_linux/nordic_pca10028_boot/target.yml
Original file line number Diff line number Diff line change
@@ -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: targets/nordic_pca10028_boot
target.app: "@mcuboot/boot/mynewt"
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10028"
target.build_profile: "optimized"

0 comments on commit db06ac6

Please sign in to comment.