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
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Table of Contents
* [Usage](#usage)
* [STM32F1](#stm32f1)
* [BLUEPILL](#bluepill)
* [STM32F4](#stm32f4)
* [CORE2](#core2)
* [STM32WL](#stm32wl)
* [SeeedStudio LoRa E5](#seeed-studio-lora-e5)
* [SeeedStudio LoRa E5 Mini](#seeed-studio-lora-e5-mini)
Expand Down Expand Up @@ -82,6 +84,19 @@ source: https://os.mbed.com/users/hudakz/code/mbed-os-bluepill/
(https://os.mbed.com/users/hudakz/code/STM32F103C8T6_Hello/)


# STM32F4

## CORE2

MCU: STM32F407ZG

TARGET: CORE2

https://github.com/byq77/core2-mbed6-template

<img src="https://husarion.com/docs/assets/img/core2-hardware/core2_top_small.jpg" width="500"/>


# STM32L0

## MURATA LPWAN Wireless Module
Expand Down
2 changes: 2 additions & 0 deletions TARGET_STM32F4/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(TARGET_CORE2 EXCLUDE_FROM_ALL)
14 changes: 14 additions & 0 deletions TARGET_STM32F4/TARGET_CORE2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
add_library(mbed-core2 INTERFACE)

target_sources(mbed-core2
INTERFACE
PeripheralPins.c
system_clock.c
)

target_include_directories(mbed-core2
INTERFACE
.
)

target_link_libraries(mbed-core2 INTERFACE mbed-stm32f407xg)
342 changes: 342 additions & 0 deletions TARGET_STM32F4/TARGET_CORE2/PeripheralPinMaps.h

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions TARGET_STM32F4/TARGET_CORE2/PeripheralPins.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2019, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************
*/
#include "PeripheralPins.h"
#include "mbed_toolchain.h"
#include "PeripheralPinMaps.h"
Loading