Skip to content

Commit

Permalink
Part of theheraldproject#113. Relay compiling with Herald on nRF52840DK.
Browse files Browse the repository at this point in the history
Project now builds small enough for nRF52840DK
- Uses 160KB SRAM, 591KB Flash (With debug flags)
- Herald Beacon code running
- Herald scanning code running, but without provider configured yet
- Beacon advertising causing Mesh adverts to not show - investigate
Signed off by: Adam Fowler <[email protected]>
  • Loading branch information
adamfowleruk committed Apr 14, 2022
1 parent 7ef1fdb commit f1198d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
8 changes: 5 additions & 3 deletions herald-mesh-relay/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
},
"cmake.configureEnvironment": {
// "BOARD": "nrf52dk_nrf52832"
"BOARD": "nrf52833dk_nrf52833"
// "BOARD": "nrf52840dk_nrf52840"
// "BOARD": "nrf52833dk_nrf52833"
"BOARD": "nrf52840dk_nrf52840"
// "BOARD": "nrf5340dk_nrf5340_cpuapp"
// ,"HERALD_ANALYSIS_ENABLED":"y"
},
Expand All @@ -80,5 +80,7 @@
"board": "nrf52840dk_nrf52840",
"arch": "arm",
"dir": "${ZEPHYR_BASE}/boards/arm/nrf52840dk_nrf52840"
}
},
"nrf-connect.topdir": "${nrf-connect.sdk:1.9.1}",
"nrf-connect.toolchain.path": "${nrf-connect.toolchain:1.9.1}"
}
15 changes: 3 additions & 12 deletions herald-mesh-relay/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ CONFIG_BT_DEVICE_NAME="Herald MESH Proxy"
# DO NOT ENABLE THIS EVER - Breaks the stack
# CONFIG_NO_OPTIMIZATIONS=y

# REQUIRED for bluetooth serial debug
# CONFIG_BT_NUS=y
# CONFIG_BT_MAX_PAIRED=2
# Enable bonding
# CONFIG_BT_SETTINGS=y
# CONFIG_FLASH=y
# CONFIG_FLASH_PAGE_LAYOUT=y
# CONFIG_FLASH_MAP=y
# CONFIG_NVS=y
# CONFIG_SETTINGS=y
# For debugging connection issues when using NUS service (disconnect MPU Fault) - DOESNT DO ANYTHING!
#CONFIG_MPSL_LOG_LEVEL_DBG=y

Expand Down Expand Up @@ -70,7 +60,7 @@ CONFIG_BT_DEVICE_NAME="Herald MESH Proxy"
# CONFIG_WATCHDOG=n
# CONFIG_PINMUX=n
# CONFIG_SPI=n
# CONFIG_GPIO=y
CONFIG_GPIO=y

# # Power management
# CONFIG_SYS_POWER_MANAGEMENT=n
Expand Down Expand Up @@ -103,7 +93,8 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=n
# Below required for BT_SETTINGS
CONFIG_SETTINGS=y
CONFIG_HWINFO=y
CONFIG_DK_LIBRARY=y

Expand Down

0 comments on commit f1198d9

Please sign in to comment.