add tinycrypt

This commit is contained in:
2024-05-15 21:05:20 -06:00
parent 6343bfec2f
commit 93cfdcc3ba
4 changed files with 6 additions and 19 deletions

View File

@ -19,6 +19,9 @@ CONFIG_CHARACTER_FRAMEBUFFER=y
CONFIG_CBPRINTF_FP_SUPPORT=y
CONFIG_BT=y
CONFIG_BT_SMP=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_DEVICE_NAME="Mellifera"
CONFIG_BOOTLOADER_MCUBOOT=y

View File

@ -60,7 +60,7 @@ static void bt_ready(int err)
LOG_INF("Bluetooth initialized");
/* Start advertising */
// Start advertising
err = bt_le_adv_start(BT_LE_ADV_NCONN_IDENTITY, ad, ARRAY_SIZE(ad),
sd, ARRAY_SIZE(sd));
if (err)
@ -98,7 +98,7 @@ int main(void)
LOG_INF("Starting Beacon Demo");
/* Initialize the Bluetooth Subsystem */
// Initialize the Bluetooth Subsystem
err = bt_enable(bt_ready);
if (err)
{

View File

@ -1,22 +1,5 @@
# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
identifier: mellifera_rev1
name: Mellifera-Rev1
# vendor: bh
# type: mcu
# arch: arm
# ram: 256
# flash: 1024
# toolchain:
# - zephyr
# - gnuarmemb
# - xtools
# supported:
# - gpio
# identifier: nrf52dk/nrf52832
# name: nRF52-DK-NRF52832
type: mcu
arch: arm
toolchain:

View File

@ -24,6 +24,7 @@ manifest:
- hal_nordic # required by the custom_plank board (Nordic based)
- hal_stm32 # required by the nucleo_f302r8 board (STM32 based)
- zcbor # required by mcuboot serial
- tinycrypt
- name: mcuboot
remote: mcu-tools
revision: main