Date
1 - 2 of 2
espressif HAL usage
Dmitriy Korovkin
Would it help to add the espressif HAL module PATH to ZEPHYR_EXTRA_MODULES as of
toggle quoted message
Show quoted text
set(ZEPHYR_EXTRA_MODULES $ENV{ZEPHYR_BASE}/../modules/hal/espressif) or like this? Regards, Dmitriy Korovkin On 2022-06-13 12:24, Ilan Ganor wrote:
**[Please note: This e-mail is from an EXTERNAL e-mail address] |
|
Ilan Ganor <ilan@...>
I would like to use API from espressif HAL for example: esp_efuse_mac_get_custom I can include the h file using : #include "esp_system.h" but when I try to use one of the h included functions: esp_efuse_mac_get_custom I get compilation error: main.c:116: undefined reference to `esp_efuse_mac_get_custom' I think that I need to add entry in CMakeLists.txt this is my current file : # SPDX-License-Identifier: Apache-2.0 cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(peripheral_hr) FILE(GLOB app_sources src/*.c) target_sources(app PRIVATE ${app_sources} ) zephyr_library_include_directories(${ZEPHYR_BASE}/samples/bluetooth) any assistance is welcomed |
|