Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/build_ports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,9 @@ jobs:
git clone --depth=1 https://github.com/apache/nuttx.git nuttx-build/nuttx
git clone --depth=1 https://github.com/apache/nuttx-apps nuttx-build/apps
./nuttx-build/nuttx/tools/configure.sh -l nrf52840-dk:sdc_nimble
sed -i 's|CONFIG_NIMBLE_REF :=.*|CONFIG_NIMBLE_REF := ${{ github.sha }}|' nuttx-build/apps/wireless/bluetooth/nimble/Makefile
kconfig-tweak --file nuttx-build/nuttx/.config --set-str NIMBLE_REF ${{ github.sha }}
kconfig-tweak --file nuttx-build/nuttx/.config --enable NIMBLE_PORTING_EXAMPLE
echo '#include "../../../../mynewt-nimble/porting/examples/nuttx/include/syscfg/syscfg.h"'\
>> nuttx-build/apps/wireless/bluetooth/nimble/include/syscfg/syscfg.h
make -C nuttx-build/nuttx olddefconfig
make -C nuttx-build/nuttx
6 changes: 0 additions & 6 deletions porting/examples/nuttx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ int main(int argc, char *argv[])
ble_hci_sock_set_device(atoi(argv[1]));
}

#ifndef CONFIG_NSH_ARCHINIT
/* Perform architecture-specific initialization */

boardctl(BOARDIOC_INIT, 0);
#endif

#ifndef CONFIG_NSH_NETINIT
/* Bring up the network */

Expand Down
Loading