#
# Copyright (c) 2019 Sung Ho Park and CSOS
# 
# SPDX-License-Identifier: Apache-2.0
#

set_cache(UBINOS__BSP__LINK_MEMMAP_RAM_ORIGIN  0x20000000 STRING)
set_cache(UBINOS__BSP__LINK_MEMMAP_RAM_LENGTH  0x0007C000 STRING)

set_cache(UBINOS__BSP__LINK_MEMMAP_RAM2_ORIGIN 0x2007C000 STRING)
set_cache(UBINOS__BSP__LINK_MEMMAP_RAM2_LENGTH 0x00000080 STRING)

set_cache(UBINOS__BSP__LINK_MEMMAP_RAM3_ORIGIN 0x2007C080 STRING)
set_cache(UBINOS__BSP__LINK_MEMMAP_RAM3_LENGTH 0x00000080 STRING)

set_cache(UBINOS__BSP__LINK_MEMMAP_RAM4_ORIGIN 0x2007C100 STRING)
set_cache(UBINOS__BSP__LINK_MEMMAP_RAM4_LENGTH 0x000017d0 STRING)

set_cache(UBINOS__BSP__LINK_MEMMAP_RAM5_ORIGIN 0x2007D8D0 STRING)
set_cache(UBINOS__BSP__LINK_MEMMAP_RAM5_LENGTH 0x000017d0 STRING)

set_cache(UBINOS__BSP__LINKSCRIPT_FILE "${PROJECT_UBINOS_DIR}/source/ubinos/bsp/arch/arm/cortexm/stm32f769/i/flash_ethernet.ld" PATH)

set_cache(UBINOS__BSP__STACK_SIZE 0x00002000 STRING)

set_cache(UBINOS__BSP__STM32_ENABLE_ETHERNET TRUE BOOL)

include(${CMAKE_CURRENT_LIST_DIR}/stm32f769ieval.cmake)

