From 96f2358caadfd55d6fd3b888ef5d21f22fc2439c Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 20 Apr 2024 22:08:08 +0200 Subject: firmware: Add 64 bit MAC to shell prompt This demonstrates that the readout of the 64 bit MAC address from the STM32WL55 microcontroller works and is useful to recognize used devices. --- firmware/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/CMakeLists.txt') diff --git a/firmware/CMakeLists.txt b/firmware/CMakeLists.txt index 70b99c7..ad51a9d 100644 --- a/firmware/CMakeLists.txt +++ b/firmware/CMakeLists.txt @@ -2,4 +2,6 @@ cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(iot-core) -target_sources(app PRIVATE src/main.c) +target_sources(app PRIVATE + src/main.c + src/uid64.c) -- cgit v1.2.3-70-g09d2