-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #240 from MikroElektronika/new-feature/mcus/55
Merge branch new-feature/mcus/55 into main
- Loading branch information
Showing
18 changed files
with
23,929 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
if(${MCU_NAME} MATCHES "^STM32U073K8$|^STM32U073H8$") | ||
list(APPEND local_list_macros "getClockValue(_clock) (_clock/1000UL/4)") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
if(${MCU_NAME} MATCHES "^STM32U073K8$|^STM32U073H8$") | ||
set(${linkerScript} linker_scripts/${vendor}/${mcu_match}.ld PARENT_SCOPE) | ||
set(${startupFile} startup/${vendor}/${mcu_match}.s PARENT_SCOPE) | ||
list(APPEND local_list_include system/src/stm/doc_ds_195/init_clock.c) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"core": "M0", | ||
"delay_src_path": "delays/m0/__lib_delays.c", | ||
"mcu": "STM32U073H8", | ||
"clock": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"core": "M0", | ||
"delay_src_path": "delays/m0/__lib_delays.c", | ||
"mcu": "STM32U073K8", | ||
"clock": 1 | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
97 changes: 97 additions & 0 deletions
97
ARM/gcc_clang/interrupts/include/interrupts_mcu/stm32u073h8/interrupts_mcu.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
/**************************************************************************** | ||
** | ||
** Copyright (C) 2024 MikroElektronika d.o.o. | ||
** Contact: https://www.mikroe.com/contact | ||
** | ||
** This file is part of the mikroSDK package | ||
** | ||
** Commercial License Usage | ||
** | ||
** Licensees holding valid commercial NECTO compilers AI licenses may use this | ||
** file in accordance with the commercial license agreement provided with the | ||
** Software or, alternatively, in accordance with the terms contained in | ||
** a written agreement between you and The MikroElektronika Company. | ||
** For licensing terms and conditions see | ||
** https://www.mikroe.com/legal/software-license-agreement. | ||
** For further information use the contact form at | ||
** https://www.mikroe.com/contact. | ||
** | ||
** | ||
** GNU Lesser General Public License Usage | ||
** | ||
** Alternatively, this file may be used for | ||
** non-commercial projects under the terms of the GNU Lesser | ||
** General Public License version 3 as published by the Free Software | ||
** Foundation: https://www.gnu.org/licenses/lgpl-3.0.html. | ||
** | ||
** The above copyright notice and this permission notice shall be | ||
** included in all copies or substantial portions of the Software. | ||
** | ||
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
** OF MERCHANTABILITY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED | ||
** TO THE WARRANTIES FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT | ||
** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | ||
** OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
** | ||
****************************************************************************/ | ||
/*! | ||
* @file interrupts_mcu.h | ||
* @brief STM32U073H8 MCU specific interrupt per module definitions. | ||
*/ | ||
|
||
#ifndef _INTERRUPTS_MCU_H_ | ||
#define _INTERRUPTS_MCU_H_ | ||
|
||
// Interrupt table | ||
static const int INTERRUPTS_RESET = 1; | ||
static const int INTERRUPTS_NONMASKABLEINT = 2; | ||
static const int INTERRUPTS_HARDFAULT = 3; | ||
static const int INTERRUPTS_SVCALL = 11; | ||
static const int INTERRUPTS_PENDSV = 14; | ||
static const int INTERRUPTS_SYSTICK = 15; | ||
static const int INTERRUPTS_WWDG_IWDG = 16; | ||
static const int INTERRUPTS_PVD_PVM = 17; | ||
static const int INTERRUPTS_RTC_TAMP = 18; | ||
static const int INTERRUPTS_FLASH_ECC = 19; | ||
static const int INTERRUPTS_RCC_CRS = 20; | ||
static const int INTERRUPTS_EXTI0_1 = 21; | ||
static const int INTERRUPTS_EXTI2_3 = 22; | ||
static const int INTERRUPTS_EXTI4_15 = 23; | ||
static const int INTERRUPTS_USB_DRD_FS = 24; | ||
static const int INTERRUPTS_DMA1_CHANNEL1 = 25; | ||
static const int INTERRUPTS_DMA1_CHANNEL2_3 = 26; | ||
static const int INTERRUPTS_DMA1_CH4_7_DMA2_CH1_5_DMAMUX_OVR = 27; | ||
static const int INTERRUPTS_ADC_COMP1_2 = 28; | ||
static const int INTERRUPTS_TIM1_BRK_UP_TRG_COM = 29; | ||
static const int INTERRUPTS_TIM1_CC = 30; | ||
static const int INTERRUPTS_TIM2 = 31; | ||
static const int INTERRUPTS_TIM3 = 32; | ||
static const int INTERRUPTS_TIM6_DAC_LPTIM1 = 33; | ||
static const int INTERRUPTS_TIM7_LPTIM2 = 34; | ||
static const int INTERRUPTS_TIM15_LPTIM3 = 35; | ||
static const int INTERRUPTS_TIM16 = 36; | ||
static const int INTERRUPTS_TSC = 37; | ||
static const int INTERRUPTS_LCD = 38; | ||
static const int INTERRUPTS_I2C1 = 39; | ||
static const int INTERRUPTS_I2C2_3_4 = 40; | ||
static const int INTERRUPTS_SPI1 = 41; | ||
static const int INTERRUPTS_SPI2_3 = 42; | ||
static const int INTERRUPTS_USART1 = 43; | ||
static const int INTERRUPTS_USART2_LPUART2 = 44; | ||
static const int INTERRUPTS_USART3_LPUART1 = 45; | ||
static const int INTERRUPTS_USART4_LPUART3 = 46; | ||
static const int INTERRUPTS_RNG_CRYP = 47; | ||
// EOF Interrupt table | ||
|
||
// Interrupt addresses | ||
// No interrupt registers for STM32U073H8. | ||
// EOF Interrupt addresses | ||
|
||
// Interrupt register bit values | ||
// No interrupt bits for STM32U073H8. | ||
// EOF Interrupt register bit values | ||
|
||
#endif // _INTERRUPTS_MCU_H_ | ||
// ------------------------------------------------------------------------- END |
97 changes: 97 additions & 0 deletions
97
ARM/gcc_clang/interrupts/include/interrupts_mcu/stm32u073k8/interrupts_mcu.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
/**************************************************************************** | ||
** | ||
** Copyright (C) 2024 MikroElektronika d.o.o. | ||
** Contact: https://www.mikroe.com/contact | ||
** | ||
** This file is part of the mikroSDK package | ||
** | ||
** Commercial License Usage | ||
** | ||
** Licensees holding valid commercial NECTO compilers AI licenses may use this | ||
** file in accordance with the commercial license agreement provided with the | ||
** Software or, alternatively, in accordance with the terms contained in | ||
** a written agreement between you and The MikroElektronika Company. | ||
** For licensing terms and conditions see | ||
** https://www.mikroe.com/legal/software-license-agreement. | ||
** For further information use the contact form at | ||
** https://www.mikroe.com/contact. | ||
** | ||
** | ||
** GNU Lesser General Public License Usage | ||
** | ||
** Alternatively, this file may be used for | ||
** non-commercial projects under the terms of the GNU Lesser | ||
** General Public License version 3 as published by the Free Software | ||
** Foundation: https://www.gnu.org/licenses/lgpl-3.0.html. | ||
** | ||
** The above copyright notice and this permission notice shall be | ||
** included in all copies or substantial portions of the Software. | ||
** | ||
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
** OF MERCHANTABILITY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED | ||
** TO THE WARRANTIES FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT | ||
** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | ||
** OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
** | ||
****************************************************************************/ | ||
/*! | ||
* @file interrupts_mcu.h | ||
* @brief STM32U073K8 MCU specific interrupt per module definitions. | ||
*/ | ||
|
||
#ifndef _INTERRUPTS_MCU_H_ | ||
#define _INTERRUPTS_MCU_H_ | ||
|
||
// Interrupt table | ||
static const int INTERRUPTS_RESET = 1; | ||
static const int INTERRUPTS_NONMASKABLEINT = 2; | ||
static const int INTERRUPTS_HARDFAULT = 3; | ||
static const int INTERRUPTS_SVCALL = 11; | ||
static const int INTERRUPTS_PENDSV = 14; | ||
static const int INTERRUPTS_SYSTICK = 15; | ||
static const int INTERRUPTS_WWDG_IWDG = 16; | ||
static const int INTERRUPTS_PVD_PVM = 17; | ||
static const int INTERRUPTS_RTC_TAMP = 18; | ||
static const int INTERRUPTS_FLASH_ECC = 19; | ||
static const int INTERRUPTS_RCC_CRS = 20; | ||
static const int INTERRUPTS_EXTI0_1 = 21; | ||
static const int INTERRUPTS_EXTI2_3 = 22; | ||
static const int INTERRUPTS_EXTI4_15 = 23; | ||
static const int INTERRUPTS_USB_DRD_FS = 24; | ||
static const int INTERRUPTS_DMA1_CHANNEL1 = 25; | ||
static const int INTERRUPTS_DMA1_CHANNEL2_3 = 26; | ||
static const int INTERRUPTS_DMA1_CH4_7_DMA2_CH1_5_DMAMUX_OVR = 27; | ||
static const int INTERRUPTS_ADC_COMP1_2 = 28; | ||
static const int INTERRUPTS_TIM1_BRK_UP_TRG_COM = 29; | ||
static const int INTERRUPTS_TIM1_CC = 30; | ||
static const int INTERRUPTS_TIM2 = 31; | ||
static const int INTERRUPTS_TIM3 = 32; | ||
static const int INTERRUPTS_TIM6_DAC_LPTIM1 = 33; | ||
static const int INTERRUPTS_TIM7_LPTIM2 = 34; | ||
static const int INTERRUPTS_TIM15_LPTIM3 = 35; | ||
static const int INTERRUPTS_TIM16 = 36; | ||
static const int INTERRUPTS_TSC = 37; | ||
static const int INTERRUPTS_LCD = 38; | ||
static const int INTERRUPTS_I2C1 = 39; | ||
static const int INTERRUPTS_I2C2_3_4 = 40; | ||
static const int INTERRUPTS_SPI1 = 41; | ||
static const int INTERRUPTS_SPI2_3 = 42; | ||
static const int INTERRUPTS_USART1 = 43; | ||
static const int INTERRUPTS_USART2_LPUART2 = 44; | ||
static const int INTERRUPTS_USART3_LPUART1 = 45; | ||
static const int INTERRUPTS_USART4_LPUART3 = 46; | ||
static const int INTERRUPTS_RNG_CRYP = 47; | ||
// EOF Interrupt table | ||
|
||
// Interrupt addresses | ||
// No interrupt registers for STM32U073K8. | ||
// EOF Interrupt addresses | ||
|
||
// Interrupt register bit values | ||
// No interrupt bits for STM32U073K8. | ||
// EOF Interrupt register bit values | ||
|
||
#endif // _INTERRUPTS_MCU_H_ | ||
// ------------------------------------------------------------------------- END |
Oops, something went wrong.