This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit cbe0c0a825f59618e3775a50c2908324ad6b65b9
Author: raiden00pl <raide...@railab.me>
AuthorDate: Sun May 4 11:55:02 2025 +0200

    boards/thingy53: add RPMSG HCI example with nimble
    
    add RPMSG HCI example with nimble demo for thingy53 board
    
    Signed-off-by: raiden00pl <raide...@railab.me>
---
 .../platforms/arm/nrf53/boards/thingy53/index.rst  | 12 ++++
 .../configs/rpmsghci_nimble_cpuapp/defconfig       | 74 ++++++++++++++++++++++
 .../thingy53/configs/rpmsghci_sdc_cpunet/defconfig | 54 ++++++++++++++++
 3 files changed, 140 insertions(+)

diff --git a/Documentation/platforms/arm/nrf53/boards/thingy53/index.rst 
b/Documentation/platforms/arm/nrf53/boards/thingy53/index.rst
index 7086ae35a9..4988a71bc5 100644
--- a/Documentation/platforms/arm/nrf53/boards/thingy53/index.rst
+++ b/Documentation/platforms/arm/nrf53/boards/thingy53/index.rst
@@ -78,6 +78,18 @@ nsh_cpunet
 Basic NuttShell configuration for the network core (console enabled in UART0,
 exposed via J-Link VCOM1, at 115200 bps).
 
+rpmsghci_nimble_cpuapp
+----------------------
+
+This configuration enables RPMSG Bluetooth HCI client on the application core
+and uses nimBLE for the host-layer
+
+rpmsghci_sdc_cpunet
+-------------------
+
+This configuration enables RPMSG Bluetooth HCI server on the network core which
+can be accessed using RPMSG Bluetooth HCI client on the application core.
+
 Flash & Debug
 =============
 
diff --git a/boards/arm/nrf53/thingy53/configs/rpmsghci_nimble_cpuapp/defconfig 
b/boards/arm/nrf53/thingy53/configs/rpmsghci_nimble_cpuapp/defconfig
new file mode 100644
index 0000000000..e35f35be4e
--- /dev/null
+++ b/boards/arm/nrf53/thingy53/configs/rpmsghci_nimble_cpuapp/defconfig
@@ -0,0 +1,74 @@
+#
+# This file is autogenerated: PLEASE DO NOT EDIT IT.
+#
+# You can use "make menuconfig" to make any modifications to the installed 
.config file.
+# You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
+# modifications.
+#
+# CONFIG_NET_ETHERNET is not set
+# CONFIG_NET_IPv4 is not set
+# CONFIG_NIMBLE_PORTING_EXAMPLE is not set
+# CONFIG_STANDARD_SERIAL is not set
+# CONFIG_WIRELESS_BLUETOOTH_HOST is not set
+CONFIG_ALLOW_BSD_COMPONENTS=y
+CONFIG_ARCH="arm"
+CONFIG_ARCH_BOARD="thingy53"
+CONFIG_ARCH_BOARD_THINGY53=y
+CONFIG_ARCH_CHIP="nrf53"
+CONFIG_ARCH_CHIP_NRF5340=y
+CONFIG_ARCH_CHIP_NRF5340_CPUAPP=y
+CONFIG_ARCH_CHIP_NRF53=y
+CONFIG_ARCH_STACKDUMP=y
+CONFIG_ARCH_STDARG_H=y
+CONFIG_BLUETOOTH_MAX_CONN=2
+CONFIG_BLUETOOTH_RPMSG=y
+CONFIG_BOARD_LOOPSPERMSEC=5500
+CONFIG_BUILTIN=y
+CONFIG_DEBUG_FULLOPT=y
+CONFIG_DEBUG_SYMBOLS=y
+CONFIG_DEV_SIMPLE_ADDRENV=y
+CONFIG_DRIVERS_BLUETOOTH=y
+CONFIG_DRIVERS_WIRELESS=y
+CONFIG_EXAMPLES_NIMBLE=y
+CONFIG_EXPERIMENTAL=y
+CONFIG_FS_PROCFS=y
+CONFIG_IDLETHREAD_STACKSIZE=2048
+CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INTELHEX_BINARY=y
+CONFIG_LINE_MAX=64
+CONFIG_MM_REGIONS=2
+CONFIG_NET=y
+CONFIG_NETDEV_LATEINIT=y
+CONFIG_NET_BLUETOOTH=y
+CONFIG_NIMBLE=y
+CONFIG_NIMBLE_ROLE_PERIPHERAL=y
+CONFIG_NRF53_OSCILLATOR_LFXO=y
+CONFIG_NRF53_UART0=y
+CONFIG_NSH_ARCHINIT=y
+CONFIG_NSH_BUILTIN_APPS=y
+CONFIG_NSH_DISABLE_IFUPDOWN=y
+CONFIG_NSH_FILEIOSIZE=512
+CONFIG_NSH_READLINE=y
+CONFIG_PREALLOC_MQ_MSGS=32
+CONFIG_PREALLOC_TIMERS=4
+CONFIG_PTHREAD_MUTEX_TYPES=y
+CONFIG_RAM_SIZE=524288
+CONFIG_RAM_START=0x20000000
+CONFIG_RAW_BINARY=y
+CONFIG_RPMSG_LOCAL_CPUNAME="cpuapp"
+CONFIG_RPMSG_PING=y
+CONFIG_RPTUN=y
+CONFIG_RR_INTERVAL=200
+CONFIG_SCHED_WAITPID=y
+CONFIG_SIG_EVTHREAD=y
+CONFIG_STACK_CANARIES=y
+CONFIG_STACK_COLORATION=y
+CONFIG_STACK_USAGE=y
+CONFIG_START_DAY=26
+CONFIG_START_MONTH=3
+CONFIG_SYMTAB_ORDEREDBYNAME=y
+CONFIG_SYSTEM_NSH=y
+CONFIG_TASK_NAME_SIZE=64
+CONFIG_UART0_SERIAL_CONSOLE=y
+CONFIG_WIRELESS=y
+CONFIG_WIRELESS_BLUETOOTH=y
diff --git a/boards/arm/nrf53/thingy53/configs/rpmsghci_sdc_cpunet/defconfig 
b/boards/arm/nrf53/thingy53/configs/rpmsghci_sdc_cpunet/defconfig
new file mode 100644
index 0000000000..eba8f1384f
--- /dev/null
+++ b/boards/arm/nrf53/thingy53/configs/rpmsghci_sdc_cpunet/defconfig
@@ -0,0 +1,54 @@
+#
+# This file is autogenerated: PLEASE DO NOT EDIT IT.
+#
+# You can use "make menuconfig" to make any modifications to the installed 
.config file.
+# You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
+# modifications.
+#
+# CONFIG_STANDARD_SERIAL is not set
+CONFIG_ALLOW_BSDNORDIC_COMPONENTS=y
+CONFIG_ALLOW_BSD_COMPONENTS=y
+CONFIG_ARCH="arm"
+CONFIG_ARCH_BOARD="thingy53"
+CONFIG_ARCH_BOARD_THINGY53=y
+CONFIG_ARCH_CHIP="nrf53"
+CONFIG_ARCH_CHIP_NRF5340=y
+CONFIG_ARCH_CHIP_NRF5340_CPUNET=y
+CONFIG_ARCH_CHIP_NRF53=y
+CONFIG_ARCH_STACKDUMP=y
+CONFIG_ARCH_STDARG_H=y
+CONFIG_BLUETOOTH_RPMSG_SERVER=y
+CONFIG_BOARDCTL=y
+CONFIG_BOARDCTL_MKRD=y
+CONFIG_BOARD_LATE_INITIALIZE=y
+CONFIG_BOARD_LOOPSPERMSEC=5500
+CONFIG_DEV_SIMPLE_ADDRENV=y
+CONFIG_DRIVERS_BLUETOOTH=y
+CONFIG_DRIVERS_WIRELESS=y
+CONFIG_EXAMPLES_HELLO=y
+CONFIG_EXPERIMENTAL=y
+CONFIG_INIT_ENTRYPOINT="hello_main"
+CONFIG_INTELHEX_BINARY=y
+CONFIG_MM_REGIONS=2
+CONFIG_NRF53_SDC_MAX_COUNT=2
+CONFIG_NRF53_SDC_PUB_ADDR=0x0102030405
+CONFIG_NRF53_SOFTDEVICE_CONTROLLER=y
+CONFIG_NRF53_UART0=y
+CONFIG_PREALLOC_TIMERS=4
+CONFIG_RAM_SIZE=65535
+CONFIG_RAM_START=0x21000000
+CONFIG_RAW_BINARY=y
+CONFIG_RPMSG_LOCAL_CPUNAME="cpunet"
+CONFIG_RPMSG_PING=y
+CONFIG_RPTUN=y
+CONFIG_RPTUN_STACKSIZE=2048
+CONFIG_RR_INTERVAL=200
+CONFIG_SCHED_LPWORK=y
+CONFIG_SCHED_WAITPID=y
+CONFIG_START_DAY=26
+CONFIG_START_MONTH=3
+CONFIG_SYMTAB_ORDEREDBYNAME=y
+CONFIG_SYSLOG_MAX_CHANNELS=2
+CONFIG_SYSTEM_READLINE=y
+CONFIG_TASK_NAME_SIZE=0
+CONFIG_UART0_SERIAL_CONSOLE=y

Reply via email to