text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for STM32G0 processor
*/
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/linker/linker-defs.h>
#include <string.h>
#include <cmsis_core.h>
#include <stm32_ll_system.h>
#if defined(SYSCFG_CFGR1_UCPD1_STROBE) || defined(SYSCFG_CFGR1_UCP... | /content/code_sandbox/soc/st/stm32/stm32g0x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 848 |
```unknown
# STMicroelectronics STM32G0C1xx MCU
if SOC_STM32G0C1XX
config NUM_IRQS
default 32
endif # SOC_STM32G0C1XX
``` | /content/code_sandbox/soc/st/stm32/stm32g0x/Kconfig.defconfig.stm32g0c1xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```unknown
# STMicroelectronics STM32G041xx MCU
if SOC_STM32G041XX
config NUM_IRQS
default 32
endif # SOC_STM32G041XX
``` | /content/code_sandbox/soc/st/stm32/stm32g0x/Kconfig.defconfig.stm32g041xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# STMicroelectronics STM32G030xx MCU
if SOC_STM32G030XX
config NUM_IRQS
default 29
endif # SOC_STM32G030XX
``` | /content/code_sandbox/soc/st/stm32/stm32g0x/Kconfig.defconfig.stm32g030xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# STMicroelectronics STM32C0 MCU line
config SOC_SERIES_STM32C0X
bool
select SOC_FAMILY_STM32
config SOC_SERIES
default "stm32c0x" if SOC_SERIES_STM32C0X
config SOC_STM32C031XX
bool
select SOC_SERIES_STM32C0X
config SOC_STM32C011XX
bool
select SOC_SERIES_STM32C0X
config SOC
default "stm32c011xx... | /content/code_sandbox/soc/st/stm32/stm32c0x/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 137 |
```unknown
# STMicroelectronics STM32C011xx MCU
if SOC_STM32C011XX
config NUM_IRQS
default 29
endif # SOC_STM32C011XX
``` | /content/code_sandbox/soc/st/stm32/stm32c0x/Kconfig.defconfig.stm32c011xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```c
/*
*/
#include <zephyr/kernel.h>
#include <zephyr/sys/poweroff.h>
#include <zephyr/toolchain.h>
#include <stm32_ll_cortex.h>
#include <stm32_ll_pwr.h>
void z_sys_poweroff(void)
{
LL_PWR_SetPowerMode(LL_PWR_MODE_SHUTDOWN);
LL_LPM_EnableDeepSleep();
k_cpu_idle();
CODE_UNREACHABLE;
}
``` | /content/code_sandbox/soc/st/stm32/stm32c0x/poweroff.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 86 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/pm/pm.h>
#include <soc.h>
#include <zephyr/init.h>
#include <stm32g0xx_ll_utils.h>
#include <stm32g0xx_ll_bus.h>
#include <stm32g0xx_ll_cortex.h>
#include <stm32g0xx_ll_pwr.h>
#include <stm32g0xx_ll_system.h>
#include <clock_control/clock_stm32_ll_common.h>
#... | /content/code_sandbox/soc/st/stm32/stm32g0x/power.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 608 |
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for STM32C0 processor
*/
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/linker/linker-defs.h>
#include <string.h>
#include <stm32_ll_system.h>
#include <cmsis_core.h>
/**
* @brief Perform basic hardware initialization at boot.
*
... | /content/code_sandbox/soc/st/stm32/stm32c0x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 213 |
```unknown
# STMicroelectronics STM32C031xx MCU
if SOC_STM32C031XX
config NUM_IRQS
default 29
endif # SOC_STM32C031XX
``` | /content/code_sandbox/soc/st/stm32/stm32c0x/Kconfig.defconfig.stm32c031xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```objective-c
/*
*
*/
/**
* @file SoC configuration macros for the STM32C0 family processors.
*
* Based on reference manual:
* STM32C0X advanced ARM -based 32-bit MCUs
*
* Chapter 2.2: Memory organization
*/
#ifndef _STM32C0_SOC_H_
#define _STM32C0_SOC_H_
#ifndef _ASMLANGUAGE
#include <stm32c0xx.h>
#... | /content/code_sandbox/soc/st/stm32/stm32c0x/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 109 |
```unknown
# STMicroelectronics STM32C0 MCU line
if SOC_SERIES_STM32C0X
rsource "Kconfig.defconfig.stm32c0*"
endif # SOC_SERIES_STM32C0X
``` | /content/code_sandbox/soc/st/stm32/stm32c0x/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 49 |
```unknown
# STMicroelectronics STM32MP1 MPU line
config SOC_SERIES_STM32MP1X
bool
select SOC_FAMILY_STM32
config SOC_SERIES
default "stm32mp1x" if SOC_SERIES_STM32MP1X
config SOC_STM32MP15_M4
bool
select SOC_SERIES_STM32MP1X
config SOC
default "stm32mp157cxx" if SOC_STM32MP15_M4
``` | /content/code_sandbox/soc/st/stm32/stm32mp1x/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 100 |
```unknown
# STMicroelectronics STM32C0 MCU series
config SOC_SERIES_STM32C0X
select ARM
select CPU_CORTEX_M0PLUS
select CPU_CORTEX_M_HAS_VTOR
select CPU_HAS_ARM_MPU
select HAS_STM32CUBE
select CPU_CORTEX_M_HAS_SYSTICK
select HAS_POWEROFF
``` | /content/code_sandbox/soc/st/stm32/stm32c0x/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 75 |
```unknown
# STMicroelectronics STM32MP157C_M4 MCU
if SOC_STM32MP15_M4
config NUM_IRQS
default 150
endif # SOC_STM32MP15_M4
``` | /content/code_sandbox/soc/st/stm32/stm32mp1x/Kconfig.defconfig.stm32mp15_m4 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 44 |
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for STM32L4 processor
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <soc.h>
#include <stm32_ll_bus.h>
#include <cmsis_core.h>
/**
* @brief Perform basic hardware initialization at boot.
*
* This needs to be... | /content/code_sandbox/soc/st/stm32/stm32mp1x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 191 |
```objective-c
/*
*
*/
/**
* @file SoC configuration macros for the STM32MP1 family processors.
*
* Based on reference manual:
* STM32MP157 advanced ARM(r)-based 32-bit MPUs
*
* Chapter 2.2.2: Memory map and register boundary addresses
*/
#ifndef _STM32MP1SOC_H_
#define _STM32MP1SOC_H_
#ifndef _ASMLANGUA... | /content/code_sandbox/soc/st/stm32/stm32mp1x/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 114 |
```unknown
# STMicroelectronics STM32MP1 MCU/MPU line
if SOC_SERIES_STM32MP1X
rsource "Kconfig.defconfig.stm32mp15_m4"
endif # SOC_SERIES_STM32MP1X
``` | /content/code_sandbox/soc/st/stm32/stm32mp1x/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 53 |
```unknown
# STMicroelectronics STM32MP1 MPU series
config SOC_SERIES_STM32MP1X
select ARM
select CPU_CORTEX_M4
select CPU_CORTEX_M_HAS_DWT
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
select CPU_HAS_FPU
select OPENAMP_RSC_TABLE if RAM_CONSOLE
``` | /content/code_sandbox/soc/st/stm32/stm32mp1x/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 73 |
```linker script
/* linker.ld - Linker command/script file */
/*
*
*/
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
SECTIONS
{
#include <zephyr/linker/rel-sections.ld>
#ifdef CONFIG_LLEXT
#include <zephyr/linker/llext-sections.ld>
#endif
#ifdef CONFIG_OPENAMP_RSC_TABLE
SECTION_PROLOGUE(.resource_... | /content/code_sandbox/soc/st/stm32/stm32mp1x/linker.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 116 |
```unknown
# ST Microelectronics STM32L4Q5xx MCU
if SOC_STM32L4Q5XX
config NUM_IRQS
default 95
endif # SOC_STM32L4Q5XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l4q5xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```unknown
# ST Microelectronics STM32L476RG MCU
if SOC_STM32L471XX
config NUM_IRQS
default 82
endif # SOC_STM32L471XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l471xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST Microelectronics STM32L462XX MCU
if SOC_STM32L462XX
config NUM_IRQS
default 85
endif # SOC_STM32L462XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l462xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST Microelectronics STM32L496xx MCU
if SOC_STM32L496XX
config NUM_IRQS
default 91
endif # SOC_STM32L496XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l496xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST Microelectronics STM32L451XX MCU
if SOC_STM32L451XX
config NUM_IRQS
default 85
endif # SOC_STM32L451XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l451xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST Microelectronics STM32L4R5xx MCU
if SOC_STM32L4R5XX
config NUM_IRQS
default 95
endif # SOC_STM32L4R5XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l4r5xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```unknown
# ST Microelectronics STM32L4 MCU line
config SOC_SERIES_STM32L4X
bool
select SOC_FAMILY_STM32
config SOC_SERIES
default "stm32l4x" if SOC_SERIES_STM32L4X
config SOC_STM32L412XX
bool
select SOC_SERIES_STM32L4X
config SOC_STM32L422XX
bool
select SOC_SERIES_STM32L4X
config SOC_STM32L431XX
bool
s... | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 836 |
```unknown
# ST Microelectronics STM32L452XX MCU
if SOC_STM32L452XX
config NUM_IRQS
default 85
endif # SOC_STM32L452XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l452xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/sys/poweroff.h>
#include <zephyr/toolchain.h>
#include <zephyr/drivers/misc/stm32_wkup_pins/stm32_wkup_pins.h>
#include <stm32_ll_cortex.h>
#include <stm32_ll_pwr.h>
#include <stm32_ll_system.h>
void z_sys_poweroff(void)
{
#ifdef CONFIG_STM32_WKUP_PINS
stm3... | /content/code_sandbox/soc/st/stm32/stm32l4x/poweroff.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 169 |
```unknown
# ST Microelectronics STM32L433XX MCU
if SOC_STM32L433XX
config NUM_IRQS
default 83
endif # SOC_STM32L433XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l433xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST Microelectronics STM32L412XX MCU
if SOC_STM32L412XX
config NUM_IRQS
default 83
endif # SOC_STM32L412XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l412xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST Microelectronics STM32L4P5xx MCU
if SOC_STM32L4P5XX
config NUM_IRQS
default 95
endif # SOC_STM32L4P5XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l4p5xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```unknown
# ST Microelectronics STM32L4R9xx MCU
if SOC_STM32L4R9XX
config NUM_IRQS
default 95
endif # SOC_STM32L4R9XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l4r9xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for STM32L4 processor
*/
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/logging/log.h>
#include <cmsis_core.h>
#include <stm32_ll_system.h>
#define LOG_LEVEL CONFIG_SOC_LOG_LEVEL
LOG_MODULE_REGISTER(soc);
/**
* @brief Perform bas... | /content/code_sandbox/soc/st/stm32/stm32l4x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 227 |
```unknown
# ST Microelectronics STM32L432XX MCU
if SOC_STM32L432XX
config NUM_IRQS
default 83
endif # SOC_STM32L432XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l432xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST Microelectronics STM32L4A6xx MCU
if SOC_STM32L4A6XX
config NUM_IRQS
default 91
endif # SOC_STM32L4A6XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l4a6xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```unknown
# ST Microelectronics STM32L476RG MCU
if SOC_STM32L476XX
config NUM_IRQS
default 82
endif # SOC_STM32L476XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l476xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```objective-c
/*
*
*/
/**
* @file SoC configuration macros for the STM32L4 family processors.
*
* Based on reference manual:
* STM32L4x1, STM32L4x2, STM32L431xx STM32L443xx STM32L433xx, STM32L4x5,
* STM32l4x6 advanced ARM(r)-based 32-bit MCUs
*
* Chapter 2.2.2: Memory map and register boundary addresses
... | /content/code_sandbox/soc/st/stm32/stm32l4x/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 189 |
```unknown
# ST Microelectronics STM32L486xx MCU
if SOC_STM32L486XX
config NUM_IRQS
default 82
endif # SOC_STM32L486XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l486xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST Microelectronics STM32L4 MCU line
# Kconfig symbols common to STM32L4 series
if SOC_SERIES_STM32L4X
rsource "Kconfig.defconfig.stm32l4*"
endif # SOC_SERIES_STM32L4X
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 61 |
```unknown
# ST Microelectronics STM32L4S5xx MCU
if SOC_STM32L4S5XX
config NUM_IRQS
default 95
endif # SOC_STM32L4S5XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l4s5xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```unknown
# ST Microelectronics STM32L422XX MCU
if SOC_STM32L422XX
config NUM_IRQS
default 83
endif # SOC_STM32L422XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l422xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST Microelectronics STM32L432XX MCU
if SOC_STM32L431XX
config NUM_IRQS
default 83
endif # SOC_STM32L431XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l431xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST Microelectronics STM32L4 MCU series
config SOC_SERIES_STM32L4X
select ARM
select CPU_CORTEX_M4
select CPU_CORTEX_M_HAS_DWT
select CPU_HAS_FPU
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
select HAS_SWO
select HAS_PM
select HAS_POWEROFF
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
```unknown
# ST Microelectronics STM32L475xG MCU
if SOC_STM32L475XX
config NUM_IRQS
default 82
endif # SOC_STM32L475XX
``` | /content/code_sandbox/soc/st/stm32/stm32l4x/Kconfig.defconfig.stm32l475xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 41 |
```unknown
# ST Microelectronics STM32WBA MCU line
config SOC_SERIES_STM32WBAX
bool
select SOC_FAMILY_STM32
config SOC_SERIES
default "stm32wbax" if SOC_SERIES_STM32WBAX
config SOC_STM32WBA52XX
bool
select SOC_SERIES_STM32WBAX
config SOC_STM32WBA55XX
bool
select SOC_SERIES_STM32WBAX
config SOC
default "st... | /content/code_sandbox/soc/st/stm32/stm32wbax/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 138 |
```unknown
# ST Microelectronics STM32WBA55XX MCU
if SOC_STM32WBA55XX
config NUM_IRQS
default 70
endif # SOC_STM32WBA55XX
``` | /content/code_sandbox/soc/st/stm32/stm32wbax/Kconfig.defconfig.stm32wba55xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 43 |
```unknown
# ST Microelectronics STM32WBA52XX MCU
if SOC_STM32WBA52XX
config NUM_IRQS
default 70
endif # SOC_STM32WBA52XX
``` | /content/code_sandbox/soc/st/stm32/stm32wbax/Kconfig.defconfig.stm32wba52xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 43 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/pm/pm.h>
#include <soc.h>
#include <zephyr/init.h>
#include <stm32l4xx_ll_utils.h>
#include <stm32l4xx_ll_bus.h>
#include <stm32l4xx_ll_cortex.h>
#include <stm32l4xx_ll_pwr.h>
#include <stm32l4xx_ll_rcc.h>
#include <stm32l4xx_ll_system.h>
#include <clock_contr... | /content/code_sandbox/soc/st/stm32/stm32l4x/power.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 876 |
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for STM32WBA processor
*/
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <stm32_ll_bus.h>
#include <stm32_ll_pwr.h>
#include <stm32_ll_rcc.h>
#include <stm32_ll_icache.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/irq.h>
#include <zephyr/l... | /content/code_sandbox/soc/st/stm32/stm32wbax/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 356 |
```objective-c
/*
*
*/
/**
* @file SoC configuration macros for the STM32WBA series processors.
*
*/
#ifndef _STM32WBA_SOC_H_
#define _STM32WBA_SOC_H_
#ifndef _ASMLANGUAGE
#include <stm32wbaxx.h>
/* function exported to the soc power.c */
int stm32wba_init(void);
#endif /* !_ASMLANGUAGE */
#endif /* _STM32... | /content/code_sandbox/soc/st/stm32/stm32wbax/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 91 |
```unknown
# ST Microelectronics STM32WBA MCU series
config SOC_SERIES_STM32WBAX
select ARM
select CPU_CORTEX_M33
select ARM_TRUSTZONE_M
select CPU_HAS_ARM_SAU
select CPU_HAS_ARM_MPU
select CPU_HAS_FPU
select ARMV8_M_DSP
select CPU_CORTEX_M_HAS_DWT
select HAS_STM32CUBE
select USE_STM32_HAL_PWR_EX
select HA... | /content/code_sandbox/soc/st/stm32/stm32wbax/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 96 |
```unknown
# ST Microelectronics STM32WBA MCU line
if SOC_SERIES_STM32WBAX
rsource "Kconfig.defconfig.stm32wba*"
config STM32_LPTIM_TIMER
default y if PM
config STM32_FLASH_PREFETCH
default y
config BT_STM32WBA
select DYNAMIC_INTERRUPTS
select DYNAMIC_DIRECT_INTERRUPTS
select ENTROPY_GENERATOR
select USE_ST... | /content/code_sandbox/soc/st/stm32/stm32wbax/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 263 |
```c
/*
*
*/
#include <zephyr/irq.h>
#include <zephyr/drivers/entropy.h>
#include <zephyr/logging/log.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <stm32_ll_rng.h>
#include "bleplat.h"
#include "bpka.h"
#include "linklayer_plat.h"
#define LOG_... | /content/code_sandbox/soc/st/stm32/stm32wbax/hci_if/bleplat.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 786 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/pm/pm.h>
#include <soc.h>
#include <zephyr/init.h>
#include <zephyr/arch/common/pm_s2ram.h>
#include <zephyr/drivers/timer/system_timer.h>
#include <stm32wbaxx_ll_bus.h>
#include <stm32wbaxx_ll_cortex.h>
#include <stm32wbaxx_ll_pwr.h>
#include <stm32wbaxx_ll_i... | /content/code_sandbox/soc/st/stm32/stm32wbax/power.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,458 |
```objective-c
/*
*
*/
#ifndef _STM32WBA_LINK_LAYER_PLAT_LOCAL_H_
#define _STM32WBA_LINK_LAYER_PLAT_LOCAL_H_
void link_layer_register_isr(void);
#endif /* _STM32WBA_LINK_LAYER_PLAT_LOCAL_H_ */
``` | /content/code_sandbox/soc/st/stm32/stm32wbax/hci_if/linklayer_plat_local.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 52 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/init.h>
#include "app_conf.h"
#include "blestack.h"
#include "bpka.h"
#include "ll_intf.h"
K_MUTEX_DEFINE(ble_ctlr_stack_mutex);
struct k_work_q ble_ctlr_work_q, ll_work_q;
struct k_work ble_ctlr_stack_work, bpka_work;
uint8_t ll_state_busy;
#define BLE_CT... | /content/code_sandbox/soc/st/stm32/stm32wbax/hci_if/host_stack_if.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 526 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/sys_clock.h>
#include "stm32_timer.h"
#define TICKS_PER_MS (CONFIG_SYS_CLOCK_TICKS_PER_SEC / MSEC_PER_SEC)
static struct k_timer timer;
UTIL_TIMER_Status_t UTIL_TIMER_Create(UTIL_TIMER_Object_t *timer_object,
uint32_t period, UTIL_TIMER_Mode_t mo... | /content/code_sandbox/soc/st/stm32/stm32wbax/hci_if/stm32_timer.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 313 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#define LOG_LEVEL CONFIG_SOC_LOG_LEVEL
LOG_MODULE_REGISTER(ll_sys_if);
#include "ll_intf.h"
#include "ll_sys.h"
#include "linklayer_plat.h"
#include "app_conf.h"
extern struct k_mutex ble_ctlr_stack_mutex;
extern struct k_work_q ll_work_q;
st... | /content/code_sandbox/soc/st/stm32/stm32wbax/hci_if/ll_sys_if.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 237 |
```c
/*
*
*/
/**
* @file
* @brief Zephyr's implementation for STM32Cube HAL core initialization
* functions. These functions are declared as __weak in
* STM32Cube HAL in order to be overwritten in case of other
* implementations.
*/
#include <zephyr/kernel.h>
#include <soc.h>
/**
* @brie... | /content/code_sandbox/soc/st/stm32/common/stm32cube_hal.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 326 |
```c
/*
*
*/
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/init.h>
#define SWJ_NODE DT_NODELABEL(swj_port)
PINCTRL_DT_DEFINE(SWJ_NODE);
const struct pinctrl_dev_config *swj_pcfg = PINCTRL_DT_DEV_CONFIG_GET(SWJ_NODE);
/*
* Serial Wire / JTAG port pins are enabled as part of SoC default configuration.
* W... | /content/code_sandbox/soc/st/stm32/common/pm_debug_swj.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 249 |
```c
/*
*
*/
#include <zephyr/irq.h>
#include <zephyr/kernel.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/sys/util.h>
#include <zephyr/drivers/entropy.h>
#include <zephyr/logging/log.h>
#include <cmsis_core.h>
#include <linklayer_plat_local.h>
#include <stm32_ll_pwr.h>
#include "scm.h"
#define LOG_LEVEL CONF... | /content/code_sandbox/soc/st/stm32/stm32wbax/hci_if/linklayer_plat.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,073 |
```c
/*
*
*/
/** @file
* @brief System module to support early STM32 MCU configuration
*/
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <soc.h>
#include <zephyr/arch/cpu.h>
#include <stm32_ll_system.h>
#include <stm32_ll_bus.h>
/**
* @brief Perform SoC configuration at boot.
*
* This should be ... | /content/code_sandbox/soc/st/stm32/common/soc_config.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,080 |
```linker script
/* Copied from linker.ld */
GROUP_START(CCM)
SECTION_PROLOGUE(_CCM_BSS_SECTION_NAME, (NOLOAD),SUBALIGN(4))
{
__ccm_start = .;
__ccm_bss_start = .;
*(.ccm_bss)
*(".ccm_bss.*")
__ccm_bss_end = .;
} GROUP_LINK_IN(LINKER_DT_NODE_REGION_NAME(DT_CHOSEN(zephyr_ccm)))
SECTION_PROLOGUE(_CCM_NOI... | /content/code_sandbox/soc/st/stm32/common/ccm.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 314 |
```linker script
/*
*
*/
GROUP_START(BACKUP_SRAM)
SECTION_PROLOGUE(_STM32_BACKUP_SRAM_SECTION_NAME, (NOLOAD),)
{
*(.stm32_backup_sram)
*(".stm32_backup_sram.*")
} GROUP_LINK_IN(BACKUP_SRAM)
GROUP_END(BACKUP_SRAM)
``` | /content/code_sandbox/soc/st/stm32/common/stm32_backup_sram.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 74 |
```objective-c
/*
*
*/
/**
* @file
* STM32 SoC specific definitions for wake-up pins configuration
*/
#ifndef ZEPHYR_SOC_ST_STM32_COMMON_STM32_WKUP_PINS_H_
#define ZEPHYR_SOC_ST_STM32_COMMON_STM32_WKUP_PINS_H_
#ifdef __cplusplus
extern "C" {
#endif
/* Some stm32 devices do not have all the LL_PWR_WAKEUP_PINx *... | /content/code_sandbox/soc/st/stm32/common/stm32_wkup_pins.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 611 |
```objective-c
/*
*
*/
/**
* @file
* STM32 SoC specific helpers for pinctrl driver
*/
#ifndef ZEPHYR_SOC_ARM_ST_STM32_COMMON_PINCTRL_SOC_H_
#define ZEPHYR_SOC_ARM_ST_STM32_COMMON_PINCTRL_SOC_H_
#include <zephyr/devicetree.h>
#include <zephyr/types.h>
#ifdef CONFIG_SOC_SERIES_STM32F1X
#include <zephyr/dt-bindin... | /content/code_sandbox/soc/st/stm32/common/pinctrl_soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,164 |
```c
/*
*
*/
#define DT_DRV_COMPAT st_stm32_backup_sram
#include <zephyr/device.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <stm32_ll_pwr.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(stm32_backup_sram, CONFIG_SOC_LOG_LEVEL);
struct stm32_backup_sram_config {
struct stm32_... | /content/code_sandbox/soc/st/stm32/common/stm32_backup_sram.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 393 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_HSEM_STM32_HSEM_H_
#define ZEPHYR_INCLUDE_DRIVERS_HSEM_STM32_HSEM_H_
#include <soc.h>
#include <stm32_ll_hsem.h>
#include <zephyr/kernel.h>
#if defined(CONFIG_SOC_SERIES_STM32WBX) || defined(CONFIG_STM32H7_DUAL_CORE)
/** HW semaphore Complement ID list defined i... | /content/code_sandbox/soc/st/stm32/common/stm32_hsem.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,685 |
```unknown
# STMicroelectronics stm32f2 MCU line
config SOC_SERIES_STM32F2X
bool
select SOC_FAMILY_STM32
config SOC_SERIES
default "stm32f2x" if SOC_SERIES_STM32F2X
config SOC_STM32F205XX
bool
select SOC_SERIES_STM32F2X
config SOC_STM32F207XX
bool
select SOC_SERIES_STM32F2X
config SOC
default "stm32f205xx... | /content/code_sandbox/soc/st/stm32/stm32f2x/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 137 |
```unknown
# STMicroelectronics stm32f205 MCU
if SOC_STM32F205XX
config NUM_IRQS
default 81
endif
``` | /content/code_sandbox/soc/st/stm32/stm32f2x/Kconfig.defconfig.stm32f205xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
```unknown
# STMicroelectronics stm32f207 MCU
if SOC_STM32F207XX
config NUM_IRQS
default 81
endif
``` | /content/code_sandbox/soc/st/stm32/stm32f2x/Kconfig.defconfig.stm32f207xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for stm32f2 processor
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <soc.h>
#include <stm32_ll_system.h>
#include <zephyr/linker/linker-defs.h>
#include <string.h>
#include <cmsis_core.h>
/**
* @brief Perform... | /content/code_sandbox/soc/st/stm32/stm32f2x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 233 |
```objective-c
/*
*
*/
/**
* @file SoC configuration macros for the stm32f2 family processors.
*
* Based on reference manual:
* stm32f2X advanced ARM -based 32-bit MCUs
*
* Chapter 2.2: Memory organization
*/
#ifndef _STM32F2_SOC_H_
#define _STM32F2_SOC_H_
#ifndef _ASMLANGUAGE
#include <stm32f2xx.h>
/... | /content/code_sandbox/soc/st/stm32/stm32f2x/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 140 |
```unknown
# STMicroelectronics STM32F2 MCU line
# Kconfig symbols common to STM32F2 series
if SOC_SERIES_STM32F2X
rsource "Kconfig.defconfig.stm32f2*"
endif # SOC_SERIES_STM32F2X
``` | /content/code_sandbox/soc/st/stm32/stm32f2x/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 61 |
```unknown
# STMicroelectronics STM32F2X MCU series
config SOC_SERIES_STM32F2X
select ARM
select CPU_CORTEX_M3
select CPU_CORTEX_M_HAS_DWT
select HAS_STM32CUBE
select HAS_SWO
select CPU_HAS_ARM_MPU
``` | /content/code_sandbox/soc/st/stm32/stm32f2x/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/types.h>
#include <soc.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/devicetree.h>
#include <stm32_ll_system.h>
#include <stm32_ll_pwr.h>
#include <zephyr/dt-bindings/pow... | /content/code_sandbox/soc/st/stm32/common/stm32_wkup_pins.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,387 |
```unknown
# ST STM32F423XX MCU configuration options
if SOC_STM32F423XX
config NUM_IRQS
default 102
endif # SOC_STM32F423XX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f423xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F437XX MCU configuration options
if SOC_STM32F437XX
config NUM_IRQS
default 91
endif # SOC_STM32F437XX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f437xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F413XX MCU configuration options
if SOC_STM32F413XX
config NUM_IRQS
default 102
endif # SOC_STM32F413XX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f413xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# STMicroelectronics STM32F4 MCU line
config SOC_SERIES_STM32F4X
bool
select SOC_FAMILY_STM32
config SOC_SERIES
default "stm32f4x" if SOC_SERIES_STM32F4X
config SOC_STM32F401XC
bool
select SOC_SERIES_STM32F4X
config SOC_STM32F401XE
bool
select SOC_SERIES_STM32F4X
config SOC_STM32F405XX
bool
se... | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 843 |
```unknown
# ST STM32F415RG MCU configuration options
if SOC_STM32F415XX
config NUM_IRQS
default 82
endif # SOC_STM32F415XX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f415xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F410XB MCU configuration options
if SOC_STM32F410RX
config NUM_IRQS
default 97
endif # SOC_STM32F410RX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f410xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F469XI MCU configuration options
if SOC_STM32F469XX
config NUM_IRQS
default 93
endif # SOC_STM32F469XX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f469xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F401RE MCU configuration options
if SOC_STM32F401XE
config NUM_IRQS
default 85
endif # SOC_STM32F401XE
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f401xe | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F401CC MCU configuration options
if SOC_STM32F401XC
config NUM_IRQS
default 85
endif # SOC_STM32F401XC
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f401xc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F411CE MCU configuration options
if SOC_STM32F411XE
config NUM_IRQS
default 86
endif # SOC_STM32F411XE
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f411xe | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F417XX MCU configuration options
if SOC_STM32F417XX
config NUM_IRQS
default 82
endif # SOC_STM32F417XX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f417xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F407XX MCU configuration options
if SOC_STM32F407XE || SOC_STM32F407XG
config NUM_IRQS
default 82
endif
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f407xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 41 |
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for STM32F4 processor
*/
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <cmsis_core.h>
#include <stm32_ll_system.h>
/**
* @brief Perform basic hardware initialization at boot.
*
* This needs to be run from the very beginning.
* So the i... | /content/code_sandbox/soc/st/stm32/stm32f4x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 204 |
```unknown
# ST STM32F446XE MCU configuration options
if SOC_STM32F446XX
config NUM_IRQS
default 97
endif # SOC_STM32F446XX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f446xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F405XX MCU configuration options
if SOC_STM32F405XX
config NUM_IRQS
default 82
endif # SOC_STM32F405XX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f405xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F412XX MCU configuration options
if SOC_STM32F412CX || SOC_STM32F412VX || SOC_STM32F412ZX
config NUM_IRQS
default 97
endif
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f412xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 49 |
```unknown
# ST STM32F429XX MCU configuration options
if SOC_STM32F429XX
config NUM_IRQS
default 91
endif # SOC_STM32F429XX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f429xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```objective-c
/*
*
*/
/**
* @file SoC configuration macros for the ST STM32F4 family processors.
*
* Based on reference manual:
* RM0368 Reference manual STM32F401xB/C and STM32F401xD/E
* advanced ARM(r)-based 32-bit MCUs
*
* Chapter 2.3: Memory Map
*/
#ifndef _STM32F4_SOC_H_
#define _STM32F4_SOC_H_
#... | /content/code_sandbox/soc/st/stm32/stm32f4x/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 157 |
```unknown
# STMicroelectronics STM32F4 MCU series
config SOC_SERIES_STM32F4X
select ARM
select CPU_CORTEX_M4
select CPU_CORTEX_M_HAS_DWT
select CPU_HAS_FPU
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
select HAS_SWO
select HAS_PM
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```unknown
# STMicroelectronics STM32F4 MCU line
# Kconfig symbols common to STM32F4 series
if SOC_SERIES_STM32F4X
rsource "Kconfig.defconfig.stm32f4*"
# adjust the fallback because of the LSI oscaillator characteristics
config TASK_WDT_HW_FALLBACK_DELAY
depends on TASK_WDT_HW_FALLBACK
default 200
if PM
config... | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 145 |
```unknown
# ST STM32F427XX MCU configuration options
if SOC_STM32F427XX
config NUM_IRQS
default 91
endif # SOC_STM32F427XX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f427xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
# ST STM32F412Rx MCU configuration options
if SOC_STM32F412RX
config NUM_IRQS
default 97
endif # SOC_STM32F412RX
``` | /content/code_sandbox/soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f412rx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```c
/*
*
*/
#include <clock_control/clock_stm32_ll_common.h>
#include <soc.h>
#include <stm32f4xx_ll_bus.h>
#include <stm32f4xx_ll_cortex.h>
#include <stm32f4xx_ll_pwr.h>
#include <stm32f4xx.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <zephyr/drivers/counter.h>
#include <zephyr/drive... | /content/code_sandbox/soc/st/stm32/stm32f4x/power.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 635 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.