targets: Restore example targets

Those were accidentally moved to CI targets but are expected to be used
by users.
This commit is contained in:
Szymon Janc
2023-01-30 09:40:42 +01:00
committed by Andrzej Kaczmarek
parent bc1662c95f
commit f740c39b66
52 changed files with 131 additions and 59 deletions
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/blehci-nordic_pca10028
pkg.name: "targets/nordic_pca10028_blehci"
### Package: "targets_ci/blehci-nordic_pca10028
pkg.name: "targets_ci/nordic_pca10028_blehci"
pkg.type: "target"
pkg.description:
pkg.author:
+2 -2
View File
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/nordic_pca10028_boot
pkg.name: "targets/nordic_pca10028_boot"
### Package: "targets_ci/nordic_pca10028_boot
pkg.name: "targets_ci/nordic_pca10028_boot"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/nordic_pca10028_bt5_blehci
pkg.name: "targets/nordic_pca10028_bt5_blehci"
### Package: "targets_ci/nordic_pca10028_bt5_blehci
pkg.name: "targets_ci/nordic_pca10028_bt5_blehci"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -16,7 +16,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056-blehci-usb"
pkg.name: "targets_ci/nordic_pca10056-blehci-usb"
pkg.type: target
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_advertiser"
pkg.name: "targets_ci/nordic_pca10056_advertiser"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blecent"
pkg.name: "targets_ci/nordic_pca10056_blecent"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blecsc"
pkg.name: "targets_ci/nordic_pca10056_blecsc"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blehci"
pkg.name: "targets_ci/nordic_pca10056_blehci"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blehci_all_enabled"
pkg.name: "targets_ci/nordic_pca10056_blehci_all_enabled"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blehci_no_privacy"
pkg.name: "targets_ci/nordic_pca10056_blehci_no_privacy"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blehr"
pkg.name: "targets_ci/nordic_pca10056_blehr"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blemesh"
pkg.name: "targets_ci/nordic_pca10056_blemesh"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blemesh_cdb"
pkg.name: "targets_ci/nordic_pca10056_blemesh_cdb"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blemesh_ext_adv"
pkg.name: "targets_ci/nordic_pca10056_blemesh_ext_adv"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blemesh_light"
pkg.name: "targets_ci/nordic_pca10056_blemesh_light"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blemesh_models_example_1"
pkg.name: "targets_ci/nordic_pca10056_blemesh_models_example_1"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blemesh_models_example_2"
pkg.name: "targets_ci/nordic_pca10056_blemesh_models_example_2"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blemesh_shell"
pkg.name: "targets_ci/nordic_pca10056_blemesh_shell"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blemesh_storage"
pkg.name: "targets_ci/nordic_pca10056_blemesh_storage"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_bleprph"
pkg.name: "targets_ci/nordic_pca10056_bleprph"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_bleprph_oic"
pkg.name: "targets_ci/nordic_pca10056_bleprph_oic"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_blesplit"
pkg.name: "targets_ci/nordic_pca10056_blesplit"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_bleuart"
pkg.name: "targets_ci/nordic_pca10056_bleuart"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/nordic_pca10056_btshell
pkg.name: "targets/nordic_pca10056_btshell"
### Package: "targets_ci/nordic_pca10056_btshell
pkg.name: "targets_ci/nordic_pca10056_btshell"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_btshell_2M"
pkg.name: "targets_ci/nordic_pca10056_btshell_2M"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_btshell_2M_coded"
pkg.name: "targets_ci/nordic_pca10056_btshell_2M_coded"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/nordic_pca10056_btshell_all
pkg.name: "targets/nordic_pca10056_btshell_all"
### Package: "targets_ci/nordic_pca10056_btshell_all
pkg.name: "targets_ci/nordic_pca10056_btshell_all"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/nordic_pca10056_btshell_all_v52
pkg.name: "targets/nordic_pca10056_btshell_all_v52"
### Package: "targets_ci/nordic_pca10056_btshell_all_v52
pkg.name: "targets_ci/nordic_pca10056_btshell_all_v52"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_btshell_coded"
pkg.name: "targets_ci/nordic_pca10056_btshell_coded"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_btshell_ext_adv"
pkg.name: "targets_ci/nordic_pca10056_btshell_ext_adv"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_btshell_periodic_adv"
pkg.name: "targets_ci/nordic_pca10056_btshell_periodic_adv"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_btshell_sm_legacy"
pkg.name: "targets_ci/nordic_pca10056_btshell_sm_legacy"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_btshell_sm_none"
pkg.name: "targets_ci/nordic_pca10056_btshell_sm_none"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_btshell_sm_sc"
pkg.name: "targets_ci/nordic_pca10056_btshell_sm_sc"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_btshell_sm_sc_legacy"
pkg.name: "targets_ci/nordic_pca10056_btshell_sm_sc_legacy"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/nordic_pca10056_btshell_xtal_settle_0
pkg.name: "targets/nordic_pca10056_btshell_xtal_settle_0"
### Package: "targets_ci/nordic_pca10056_btshell_xtal_settle_0
pkg.name: "targets_ci/nordic_pca10056_btshell_xtal_settle_0"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/nordic_pca10056_bttester
pkg.name: "targets/nordic_pca10056_bttester"
### Package: "targets_ci/nordic_pca10056_bttester
pkg.name: "targets_ci/nordic_pca10056_bttester"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/nordic_pca10056_btshell
pkg.name: "targets/nordic_pca10056_ext_advertiser"
### Package: "targets_ci/nordic_pca10056_btshell
pkg.name: "targets_ci/nordic_pca10056_ext_advertiser"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: "targets/nordic_pca10056_scanner"
pkg.name: "targets_ci/nordic_pca10056_scanner"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/blehci-nordic_pca10095
pkg.name: "targets/nordic_pca10095_blehci"
### Package: "targets_ci/blehci-nordic_pca10095
pkg.name: "targets_ci/nordic_pca10095_blehci"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,8 +17,8 @@
# under the License.
#
### Package: targets/nordic_pca10056_btshell
pkg.name: "targets/nordic_pca10095_btshell"
### Package: "targets_ci/nordic_pca10056_btshell
pkg.name: "targets_ci/nordic_pca10095_btshell"
pkg.type: "target"
pkg.description:
pkg.author:
@@ -17,7 +17,7 @@
# under the License.
#
pkg.name: targets/native_btshell
pkg.name: targets_ci/native_btshell
pkg.type: target
pkg.description:
pkg.author:
+6 -6
View File
@@ -57,12 +57,12 @@ jobs:
- name: Build targets
shell: bash
run: |
cp -r .github/targets ci_targets
ls ci_targets | xargs -n1 sh -c 'echo "Testing $0"; newt build -q $0'
rm -rf ci_targets
cp -r .github/targets targets_ci
ls targets_ci | xargs -n1 sh -c 'echo "Testing $0"; newt build -q targets_ci/$0'
rm -rf targets_ci
- name: Build native targets
if: matrix.os == 'ubuntu-latest'
run: |
cp -r .github/targets_native ci_targets
ls ci_targets | xargs -n1 sh -c 'echo "Testing $0"; newt build -q $0'
rm -rf ci_targets
cp -r .github/targets_native targets_ci
ls targets_ci | xargs -n1 sh -c 'echo "Testing $0"; newt build -q targets_ci/$0'
rm -rf targets_ci
@@ -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/nordic_pca10056-blehci-usb"
pkg.type: target
pkg.description:
pkg.author:
pkg.homepage:
pkg.deps:
- "@apache-mynewt-core/hw/usb/tinyusb"
- "@apache-mynewt-core/hw/usb/tinyusb/std_descriptors"
@@ -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.
#
syscfg.vals:
BLE_TRANSPORT_HS: usb
USBD_BTH: 1
USBD_PID: 0xC01A
USBD_VID: 0xC0CA
@@ -0,0 +1,21 @@
# 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: "@apache-mynewt-nimble/apps/blehci"
target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
target.build_profile: debug