Skip to content

Commit 93de108

Browse files
committed
ports: Add linux_blemesh_shell to update_generated_files.sh
linux_blemesh_shell shall also use latest syscfg.
1 parent 6c72595 commit 93de108

8 files changed

Lines changed: 117 additions & 0 deletions

File tree

.github/workflows/build_ports.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
make -C porting/examples/dummy/ clean all
4242
make -C porting/examples/linux/ clean all
4343
make -C porting/examples/linux_blemesh/ clean all
44+
make -C porting/examples/linux_blemesh_shell/ clean all
4445
make -C porting/npl/linux/test/ clean all test
4546
- name: Build RIOT port
4647
shell: bash

.github/workflows/codeql-buildscript.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ sudo apt-get install -y make ccache gcc-multilib g++-multilib
66
make -C porting/examples/dummy/ clean all
77
make -C porting/examples/linux/ clean all
88
make -C porting/examples/linux_blemesh/ clean all
9+
make -C porting/examples/linux_blemesh_shell/ clean all

.github/workflows/ports_syscfg_check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
git diff --name-only
8282
cp porting/examples/linux/include/syscfg/syscfg.h ../../../porting/examples/linux/include/syscfg/syscfg.h
8383
cp porting/examples/linux_blemesh/include/syscfg/syscfg.h ../../../porting/examples/linux_blemesh/include/syscfg/syscfg.h
84+
cp porting/examples/linux_blemesh_shell/include/syscfg/syscfg.h ../../../porting/examples/linux_blemesh_shell/include/syscfg/syscfg.h
8485
cp porting/examples/nuttx/include/syscfg/syscfg.h ../../../porting/examples/nuttx/include/syscfg/syscfg.h
8586
cp porting/nimble/include/syscfg/syscfg.h ../../../porting/nimble/include/syscfg/syscfg.h
8687
cp porting/npl/riot/include/syscfg/syscfg.h ../../../porting/npl/riot/include/syscfg/syscfg.h

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
porting/examples/dummy/dummy
44
porting/examples/linux/nimble-linux
55
porting/examples/linux_blemesh/nimble-linux-blemesh
6+
porting/examples/linux_blemesh_shell/nimble-linux-blemesh-shell
67
porting/npl/linux/test/.depend
78
porting/npl/linux/test/*.exe
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
pkg.name: "porting/targets/linux_blemesh_shell"
20+
pkg.type: "target"
21+
pkg.description: This target is used to generate syscfg.h file and other artifacts for linux_blemesh_shell example app.
22+
pkg.author:
23+
pkg.homepage:
24+
25+
pkg.deps:
26+
- "@apache-mynewt-core/kernel/os"
27+
- "@apache-mynewt-core/sys/console/stub"
28+
- "@apache-mynewt-core/sys/log/stub"
29+
- "@apache-mynewt-core/sys/stats/stub"
30+
- "@apache-mynewt-nimble/nimble/host"
31+
- "@apache-mynewt-nimble/nimble/transport"
32+
- "@apache-mynewt-nimble/nimble/host/services/ans"
33+
- "@apache-mynewt-nimble/nimble/host/services/bas"
34+
- "@apache-mynewt-nimble/nimble/host/services/dis"
35+
- "@apache-mynewt-nimble/nimble/host/services/gap"
36+
- "@apache-mynewt-nimble/nimble/host/services/gatt"
37+
- "@apache-mynewt-nimble/nimble/host/services/ias"
38+
- "@apache-mynewt-nimble/nimble/host/services/ipss"
39+
- "@apache-mynewt-nimble/nimble/host/services/lls"
40+
- "@apache-mynewt-nimble/nimble/host/services/tps"
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
syscfg.vals:
20+
MSYS_1_BLOCK_COUNT: 80
21+
22+
BLE_MESH_ADV_BUF_COUNT: 20
23+
BLE_MESH_TX_SEG_MAX: 6
24+
25+
BLE_MESH: 1
26+
BLE_MESH_SHELL: 1
27+
BLE_MESH_PROV: 1
28+
BLE_MESH_RELAY: 1
29+
BLE_MESH_PB_ADV: 1
30+
BLE_MESH_PB_GATT: 1
31+
BLE_MESH_LOW_POWER: 1
32+
BLE_MESH_LPN_AUTO: 0
33+
BLE_MESH_GATT_PROXY: 1
34+
BLE_MESH_LABEL_COUNT: 2
35+
BLE_MESH_SUBNET_COUNT: 2
36+
BLE_MESH_MODEL_GROUP_COUNT: 2
37+
BLE_MESH_MODEL_VND_MSG_CID_FORCE: 1
38+
BLE_MESH_APP_KEY_COUNT: 4
39+
BLE_MESH_IV_UPDATE_TEST: 1
40+
BLE_MESH_TESTING: 1
41+
BLE_MESH_FRIEND: 1
42+
BLE_MESH_CFG_CLI: 1
43+
BLE_MESH_SETTINGS: 0
44+
CONFIG_NFFS: 0
45+
46+
BLE_TRANSPORT_LL: socket
47+
BLE_SOCK_TYPE: linux_blue
48+
BLE_SOCK_TASK_PRIO: 3
49+
BLE_SOCK_STACK_SIZE: 1028
50+
51+
LOG_LEVEL: 0
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
target.app: "porting/targets/dummy_app"
20+
target.bsp: "@apache-mynewt-core/hw/bsp/native"
21+
target.build_profile: "debug"

porting/update_generated_files.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ declare -A targets=(
2626
["nuttx"]="repos/apache-mynewt-nimble/porting/examples/nuttx/"
2727
["linux"]="repos/apache-mynewt-nimble/porting/examples/linux/"
2828
["linux_blemesh"]="repos/apache-mynewt-nimble/porting/examples/linux_blemesh/"
29+
["linux_blemesh_shell"]="repos/apache-mynewt-nimble/porting/examples/linux_blemesh_shell/"
2930
["porting_default"]="repos/apache-mynewt-nimble/porting/nimble"
3031
["riot"]="repos/apache-mynewt-nimble/porting/npl/riot/"
3132
)

0 commit comments

Comments
 (0)