• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023 HPMicro
2# SPDX-License-Identifier: BSD-3-Clause
3
4set(EEPROM_USER_CONFIG_PATH ${APP_BIN_DIR}/..)
5file(GLOB EEPROM_USER_CONFIG_EXIST "${EEPROM_USER_CONFIG_PATH}/user_config.h")
6
7if(EEPROM_USER_CONFIG_EXIST)
8    message(STATUS "eeprom emulation use custom config file")
9else()
10    sdk_inc(config)
11    message(STATUS "eeprom emulation use default config file")
12endif()
13
14
15sdk_inc(.)
16sdk_inc(port)
17sdk_src(eeprom_emulation.c)
18sdk_src(port/hpm_nor_flash.c)
19
20