1:name: hci_uart 2:description: This script prepares a machine for integration with an external BLE controller. 3 4using sysbus 5 6mach create 7machine LoadPlatformDescription @platforms/boards/nrf52840dk_nrf52840.repl 8 9# mesh sample 10$bin?=@https://dl.antmicro.com/projects/renode/nrf52840dk_nrf52840--zephyr-hci-uart-ble-mesh.elf-s_6254428-ea0b067773adeed92a659394967e05e741b76d09 11# heart rate peripheral sample 12#$bin?=@https://dl.antmicro.com/projects/renode/nrf52840dk_nrf52840--zephyr-hci-uart-ble-peripheral_hr.elf-s_3387816-be92be9edccf6cc83bfadf8b77146041666272b5 13 14emulation CreateServerSocketTerminal $port "hci" false 15connector Connect sysbus.uart1 hci 16 17showAnalyzer uart0 18 19macro reset 20""" 21 sysbus LoadELF $bin 22""" 23runMacro $reset 24