Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions connectivity/drivers/mbedtls/TARGET_STM/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ elseif("STM32L443xC" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32L443xC)
elseif("STM32L486xG" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32L486xG)
elseif("STM32L4A6xG" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32L4A6xG)
elseif("STM32L4S5xI" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32L4S5xI)
elseif("STM32L562xE" IN_LIST MBED_TARGET_LABELS)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-mbedtls
PUBLIC
.
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* mbedtls_device.h
*******************************************************************************
* Copyright (c) 2017, STMicroelectronics
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef MBEDTLS_DEVICE_H
#define MBEDTLS_DEVICE_H

#define MBEDTLS_AES_ALT
#define MBEDTLS_MD5_ALT
#define MBEDTLS_SHA1_ALT
#define MBEDTLS_SHA256_ALT
// #define MBEDTLS_CCM_ALT // not supported yet
// #define MBEDTLS_GCM_ALT // not supported yet

#endif /* MBEDTLS_DEVICE_H */
1 change: 1 addition & 0 deletions targets/TARGET_STM/TARGET_STM32L4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ add_subdirectory(TARGET_STM32L475xG EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32L476xG EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32L486xG EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32L496xG EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32L4A6xG EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32L4P5xG EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32L4R5xI EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32L4R9xI EXCLUDE_FROM_ALL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@
#define __MPU_PRESENT 1 /*!< STM32L4XX provides an MPU */
#define __NVIC_PRIO_BITS 4 /*!< STM32L4XX uses 4 Bits for the Priority Levels */
#define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */

#ifndef __FPU_PRESENT
#define __FPU_PRESENT 1 /*!< FPU present */
#endif

/**
* @}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(TARGET_NUCLEO_L4A6ZG EXCLUDE_FROM_ALL)

if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32l4a6xx.S)
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
set(STARTUP_FILE TOOLCHAIN_ARM/startup_stm32l4a6xx.S)
endif()

add_library(mbed-stm32l4a6xg INTERFACE)

target_sources(mbed-stm32l4a6xg
INTERFACE
system_clock.c
${STARTUP_FILE}
)

target_include_directories(mbed-stm32l4a6xg
INTERFACE
.
)

target_link_libraries(mbed-stm32l4a6xg INTERFACE mbed-stm32l4)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (c) 2024 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_library(mbed-nucleo-l4a6zg INTERFACE)

target_sources(mbed-nucleo-l4a6zg
INTERFACE
PeripheralPins.c
)

target_include_directories(mbed-nucleo-l4a6zg
INTERFACE
.
)

target_link_libraries(mbed-nucleo-l4a6zg INTERFACE mbed-stm32l4a6xg)

Large diffs are not rendered by default.

Loading
Loading