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 |
|---|---|---|---|---|---|---|---|---|
```objective-c
/*
*/
#include <xtensa/config/core-isa.h>
#include <zephyr/sys/util.h>
#include <zephyr/sw_isr_table.h>
#if !defined(XCHAL_INT0_LEVEL) || XCHAL_INT0_LEVEL != 5
#error core-isa.h interrupt level does not match dispatcher!
#endif
#if !defined(XCHAL_INT1_LEVEL) || XCHAL_INT1_LEVEL != 2
#error core-isa.h ... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/f1/include/_soc_inthandlers.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,661 |
```objective-c
/*
*
*/
#ifndef __COMMON_ADSP_CACHE_H__
#define __COMMON_ADSP_CACHE_H__
#include <xtensa/hal.h>
#endif
``` | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/f1/include/adsp/cache.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```objective-c
/*
*
*/
#ifndef __INCLUDE_IO__
#define __INCLUDE_IO__
#include <stdint.h>
#include <soc/memory.h>
#include <zephyr/sys/sys_io.h>
#include <zephyr/arch/common/sys_io.h>
static inline uint32_t io_reg_read(uint32_t reg)
{
return sys_read32(reg);
}
static inline void io_reg_write(uint32_t reg, uint32_... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/f1/include/adsp/io.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 188 |
```objective-c
/*
*/
#pragma once
#include <zephyr/autoconf.h>
#define IRAM_BASE (CONFIG_RT595_ADSP_TEXT_MEM_ADDR)
#define IRAM_SIZE (CONFIG_RT595_ADSP_TEXT_MEM_SIZE)
#define SDRAM0_BASE (CONFIG_RT595_ADSP_DATA_MEM_ADDR)
#define SDRAM0_SIZE (CONFIG_RT595_ADSP_DATA_MEM_SIZE - CONFIG_RT595_ADSP_STACK_SIZE)
/* The r... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/f1/include/soc/memory.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 497 |
```objective-c
/*
*/
#ifndef _FLASH_CLOCK_SETUP_H_
#define _FLASH_CLOCK_SETUP_H_
#include "fsl_common.h"
void flexspi_clock_safe_config(void);
void flexspi_setup_clock(FLEXSPI_Type *base, uint32_t src, uint32_t divider);
#endif /* _FLASH_CLOCK_SETUP_H_ */
``` | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/cm33/flash_clock_setup.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```c
/*
*/
#include "fsl_power.h"
#include "flash_clock_setup.h"
#define FLEXSPI_DLL_LOCK_RETRY (10)
static void flash_deinit(FLEXSPI_Type *base)
{
/* Enable FLEXSPI clock again */
CLKCTL0->PSCCTL0_SET = CLKCTL0_PSCCTL0_SET_FLEXSPI0_OTFAD_CLK_MASK;
/* Enable FLEXSPI module */
base->MCR0 &= ~FLEXSPI_MCR0_MDIS_M... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/cm33/flash_clock_setup.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,485 |
```c
/*
*/
#include <zephyr/sys/poweroff.h>
#include <zephyr/toolchain.h>
#include <fsl_power.h>
static const uint32_t exclude_from_pd[] = {0, 0, 0, 0};
void z_sys_poweroff(void)
{
/* Disable ISP Pin pull-ups and input buffers to avoid current leakage */
IOPCTL->PIO[1][15] = 0;
IOPCTL->PIO[3][28] = 0;
IOPCTL->... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/cm33/poweroff.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 135 |
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for NXP RT5XX platform
*
* This module provides routines to initialize and support board-level
* hardware for the RT5XX platforms.
*/
#include <zephyr/init.h>
#include <zephyr/devicetree.h>
#include <zephyr/linker/sections.h>
#include <zephyr/logging/lo... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/cm33/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,479 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_SOC_ARM_NXP_IMX_RT5XX_PINCTRL_SOC_H_
#define ZEPHYR_SOC_ARM_NXP_IMX_RT5XX_PINCTRL_SOC_H_
#include <zephyr/devicetree.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/** @cond INTERNAL_HIDDEN */
typedef uint32_t pinctrl_soc_pin_t;
#define Z_PINCTRL_IOPCT... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/cm33/pinctrl_soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 505 |
```objective-c
/*
*
*/
/**
* @file
* @brief Board configuration macros for the MXRT595 platform
*
* This header file is used to specify and describe board-level aspects for the
* 'MXRT595' platform.
*/
#ifndef _SOC__H_
#define _SOC__H_
#ifndef _ASMLANGUAGE
#include <zephyr/sys/util.h>
#include <fsl_common.h>... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/cm33/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 797 |
```linker script
/*
*
*/
/**
* @file
* @brief Linker command/script file
*
* This is the linker script for both standard images and XIP images.
*/
#include <zephyr/devicetree.h>
MEMORY
{
#if (DT_REG_SIZE_BY_IDX(DT_NODELABEL(flexspi1), 1) > 0)
FLEXSPI1 (wx) : ORIGIN = DT_REG_ADDR_BY_IDX(DT_NODELA... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/cm33/linker.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 215 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/pm/pm.h>
#include "fsl_power.h"
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(soc, CONFIG_SOC_LOG_LEVEL);
/*!< Power down all unnecessary blocks */
#define NODE_ID DT_INST(0, nxp_pdcfg_power)
#define EXCLUDE_FROM_DEEPSLEEP ((co... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/cm33/power.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 489 |
```linker script
/*
*
*/
GROUP_START(USB_BDT)
SECTION_PROLOGUE(_USB_BDT_SECTION_NAME,(NOLOAD),)
{
. = ALIGN(512);
*(m_usb_bdt)
} GROUP_LINK_IN(SRAM1)
GROUP_END(USB_BDT)
GROUP_START(USB_GLOBAL)
SECTION_PROLOGUE(_USB_GLOBAL_SECTION_NAME,(NOLOAD),)
{
*(m_usb_global)
} GROUP_LINK_IN(SRAM1)
GROUP_END(USB... | /content/code_sandbox/soc/nxp/imxrt/imxrt5xx/cm33/usb.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 106 |
```unknown
config SOC_SERIES_IMXRT11XX
bool
select SOC_FAMILY_NXP_IMXRT
config SOC_SERIES
default "imxrt11xx" if SOC_SERIES_IMXRT11XX
config SOC_MIMXRT1166
bool
select SOC_SERIES_IMXRT11XX
config SOC_MIMXRT1176
bool
select SOC_SERIES_IMXRT11XX
config SOC_MIMXRT1166_CM4
bool
select SOC_MIMXRT1166
config S... | /content/code_sandbox/soc/nxp/imxrt/imxrt11xx/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 838 |
```c
/*
*
*/
#include <fsl_clock.h>
#include <fsl_flexspi.h>
#include <soc.h>
#include <errno.h>
#include <zephyr/irq.h>
#include <zephyr/dt-bindings/clock/imx_ccm_rev2.h>
uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate)
{
clock_name_t root;
uint32_t root_rate;
FLEXSPI_Type *flexspi;
clock_ro... | /content/code_sandbox/soc/nxp/imxrt/imxrt11xx/flexspi.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 472 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/logging/log.h>
#include <soc.h>
#include <zephyr/linker/sections.h>
#include <zephyr/linker/linker-defs.h>
#include <zephyr/cache.h>
#include <fsl_clock.h>
#include <fsl_gpc.h>
#include <fsl_pmu.h>
#include <... | /content/code_sandbox/soc/nxp/imxrt/imxrt11xx/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,121 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_SOC_ARM_NXP_IMX_RT_PINCTRL_RT11XX_H_
#define ZEPHYR_SOC_ARM_NXP_IMX_RT_PINCTRL_RT11XX_H_
#include <zephyr/devicetree.h>
#include <zephyr/types.h>
#include "fsl_common.h"
#ifdef __cplusplus
extern "C" {
#endif
#define MCUX_IMX_ODE_SHIFT 4
#define MCUX_IMX_PUS_SHIFT 3
#define M... | /content/code_sandbox/soc/nxp/imxrt/imxrt11xx/pinctrl_soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,237 |
```objective-c
/*
*
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#ifndef _ASMLANGUAGE
#include <fsl_common.h>
/* Add include for DTS generated information */
#include <zephyr/devicetree.h>
#ifdef __cplusplus
extern "C" {
#endif
#if CONFIG_I2S_MCUX_SAI
void imxrt_audio_codec_pll_init(uint32... | /content/code_sandbox/soc/nxp/imxrt/imxrt11xx/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 214 |
```unknown
if SOC_SERIES_IMXRT11XX
config NUM_IRQS
default 218
config GPIO
default y
if CORTEX_M_SYSTICK
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 996000000 if SOC_MIMXRT1176_CM7
default 600000000 if SOC_MIMXRT1166_CM7
default 400000000 if SOC_MIMXRT1176_CM4
default 240000000 if SOC_MIMXRT1166_CM4
endif # ... | /content/code_sandbox/soc/nxp/imxrt/imxrt11xx/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 200 |
```unknown
config SOC_SERIES_IMXRT11XX
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
select CPU_CORTEX_M_HAS_DWT
select PLATFORM_SPECIFIC_INIT
select ARM
select CLOCK_CONTROL
select HAS_MCUX_CACHE
select HAS_MCUX
select HAS_MCUX_SEMC
select HAS_MCUX_CCM_REV2
select HAS_MCUX_IGPIO
select HAS_MCUX_LPI2C
select... | /content/code_sandbox/soc/nxp/imxrt/imxrt11xx/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 539 |
```linker script
/*
*
*/
#include <zephyr/devicetree.h>
#define IS_CHOSEN_SRAM(x) (DT_DEP_ORD(DT_NODELABEL(x)) == DT_DEP_ORD(DT_CHOSEN(zephyr_sram)))
MEMORY
{
#if (DT_REG_SIZE(DT_NODELABEL(sdram0)) > 0) && !IS_CHOSEN_SRAM(sdram0)
SDRAM (wx) : ORIGIN = DT_REG_ADDR(DT_NODELABEL(sdram0)), LENGTH = DT_... | /content/code_sandbox/soc/nxp/imxrt/imxrt11xx/linker.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 135 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/pm/pm.h>
#include <fsl_dcdc.h>
#include <fsl_gpc.h>
#include <zephyr/dt-bindings/power/imx_spc.h>
#include "power.h"
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(soc, CONFIG_SOC_LOG_LEVEL);
/*
* NOTE: When multicore support i... | /content/code_sandbox/soc/nxp/imxrt/imxrt11xx/power.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,422 |
```objective-c
/*
*
*/
#ifndef _SOC_ARM_NXP_IMX_RT_POWER_RT11XX_H_
#define _SOC_ARM_NXP_IMX_RT_POWER_RT11XX_H_
/*
* Set point configurations. These are kept in a separate file for readability.
*/
#define SP0 0
#define SP1 1
#define SP2 2
#define SP3 3
#define SP4 4
#define SP5 5
#define SP6 6
#define SP7... | /content/code_sandbox/soc/nxp/imxrt/imxrt11xx/power.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,992 |
```unknown
config SOC_SERIES_IMXRT10XX
bool
select SOC_FAMILY_NXP_IMXRT
config SOC_SERIES
default "imxrt10xx" if SOC_SERIES_IMXRT10XX
config SOC_MIMXRT1011
bool
select SOC_SERIES_IMXRT10XX
config SOC_MIMXRT1015
bool
select SOC_SERIES_IMXRT10XX
config SOC_MIMXRT1021
bool
select SOC_SERIES_IMXRT10XX
config... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,328 |
```c
/*
*
*/
#include <fsl_clock.h>
#include <fsl_flexspi.h>
#include <soc.h>
#include <errno.h>
#include <zephyr/irq.h>
#include <zephyr/dt-bindings/clock/imx_ccm.h>
uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate)
{
uint8_t divider;
uint32_t root_rate;
FLEXSPI_Type *flexspi;
clock_div_t div... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/flexspi.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 513 |
```c
/*
*
*
* Note: this file is linked to RAM. Any functions called while changing clocks
* to the flexspi modules must be linked to RAM, or within this file
*/
#include <zephyr/init.h>
#include <power.h>
#include <zephyr/kernel.h>
#include <fsl_clock.h>
/*
* Clock configuration structures populated at boot ti... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/lpm_rt1064.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,267 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <soc.h>
#include <zephyr/linker/sections.h>
#include <zephyr/linker/linker-defs.h>
#include <zephyr/cache.h>
#include <fsl_clock.h>
#ifdef CONFIG_NXP_IMXRT_BOOT_HEADER
#include <fsl_flexspi_nor_boot.h>
#endif
#includ... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,450 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_SOC_ARM_NXP_IMX_RT_PINCTRL_RT10XX_H_
#define ZEPHYR_SOC_ARM_NXP_IMX_RT_PINCTRL_RT10XX_H_
#include <zephyr/devicetree.h>
#include <zephyr/types.h>
#include "fsl_common.h"
#ifdef __cplusplus
extern "C" {
#endif
#define MCUX_IMX_INPUT_SCHMITT_ENABLE_SHIFT IOMUXC_SW_PAD_CTL_PAD_H... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/pinctrl_soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,313 |
```objective-c
/*
*
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#ifndef _ASMLANGUAGE
#include <fsl_common.h>
/* Add include for DTS generated information */
#include <zephyr/devicetree.h>
#ifdef __cplusplus
extern "C" {
#endif
#if CONFIG_I2S_MCUX_SAI
void imxrt_audio_codec_pll_init(uint32... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 214 |
```unknown
if SOC_SERIES_IMXRT10XX
config NUM_IRQS
default 80 if SOC_MIMXRT1011
default 142 if SOC_MIMXRT1015 || \
SOC_MIMXRT1021 || \
SOC_MIMXRT1024
default 157 if SOC_MIMXRT1042
default 160 if SOC_MIMXRT1052 || \
SOC_MIMXRT1062 || \
SOC_MIMXRT1064
config DCDC_VALUE
default 0x12 if SOC_MIMXRT1011 ... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 191 |
```unknown
config SOC_SERIES_IMXRT10XX
select CPU_CORTEX_M7
select CPU_CORTEX_M_HAS_DWT
select CPU_HAS_ICACHE
select CPU_HAS_DCACHE
select PLATFORM_SPECIFIC_INIT
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
select ARM
select CLOCK_CONTROL
select HAS_MCUX
select HAS_MCUX_CACHE
select HAS_MCUX_12B1MSPS_SAR if ... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,101 |
```linker script
/*
*
*/
#include <zephyr/devicetree.h>
#define IS_CHOSEN_SRAM(x) (DT_DEP_ORD(DT_NODELABEL(x)) == DT_DEP_ORD(DT_CHOSEN(zephyr_sram)))
MEMORY
{
#if (DT_REG_SIZE(DT_NODELABEL(sdram0)) > 0) && !IS_CHOSEN_SRAM(sdram0)
SDRAM (wx) : ORIGIN = DT_REG_ADDR(DT_NODELABEL(sdram0)), LENGTH = DT_... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/linker.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 135 |
```c
/*
*
*
* Note: this file is linked to RAM. Any functions called while preparing for
* sleep mode must be defined within this file, or linked to RAM.
*/
#include <zephyr/kernel.h>
#include <zephyr/init.h>
#include <zephyr/pm/pm.h>
#include <fsl_dcdc.h>
#include <fsl_pmu.h>
#include <fsl_gpc.h>
#include <fsl_cl... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/power.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,402 |
```objective-c
/*
*
*/
#ifndef _SOC_ARM_NXP_IMX_RT_POWER_RT10XX_H_
#define _SOC_ARM_NXP_IMX_RT_POWER_RT10XX_H_
struct clock_callbacks {
/*
* The clock_set_run function should switch all clocks to their
* default running configuration, and power up required PLLs
* The system will be transitioning out of sleep... | /content/code_sandbox/soc/nxp/imxrt/imxrt10xx/power.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 241 |
```unknown
config SOC_SERIES_IMXRT6XX
bool
select SOC_FAMILY_NXP_IMXRT
config SOC_SERIES
default "imxrt6xx" if SOC_SERIES_IMXRT6XX
config SOC_MIMXRT685S
bool
select SOC_SERIES_IMXRT6XX
config SOC_MIMXRT685S_CM33
bool
select SOC_MIMXRT685S
config SOC
default "mimxrt685s" if SOC_MIMXRT685S_CM33
config SOC_P... | /content/code_sandbox/soc/nxp/imxrt/imxrt6xx/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 270 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_SOC_ARM_NXP_IMX_RT6XX_PINCTRL_SOC_H_
#define ZEPHYR_SOC_ARM_NXP_IMX_RT6XX_PINCTRL_SOC_H_
#include <zephyr/devicetree.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/** @cond INTERNAL_HIDDEN */
typedef uint32_t pinctrl_soc_pin_t;
#define Z_PINCTRL_IOPCT... | /content/code_sandbox/soc/nxp/imxrt/imxrt6xx/pinctrl_soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 505 |
```unknown
# i.MX RT6XX series configuration options
if SOC_SERIES_IMXRT6XX
# alias for hal
config SOC_SERIES_IMX_RT6XX
bool
default y
# another alias for hal
config SOC_SERIES_IMXRT_6XX
bool
default y
endif # SOC_SERIES_MIMXRT6XX
if SOC_MIMXRT685S_CM33
config ROM_START_OFFSET
default 0x1200 if NXP_IMXRT_BO... | /content/code_sandbox/soc/nxp/imxrt/imxrt6xx/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 799 |
```unknown
config SOC_MIMXRT685S_CM33
select ARM
select CPU_CORTEX_M33
select CPU_CORTEX_M_HAS_DWT
select CLOCK_CONTROL
select CODE_DATA_RELOCATION_SRAM if FLASH_MCUX_FLEXSPI_XIP
select PLATFORM_SPECIFIC_INIT
select HAS_PM
select CPU_HAS_ARM_SAU
select CPU_HAS_ARM_MPU
select CPU_HAS_FPU
select ARMV8_M_DSP
... | /content/code_sandbox/soc/nxp/imxrt/imxrt6xx/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 413 |
```objective-c
/*
*/
#ifndef _FLASH_CLOCK_SETUP_H_
#define _FLASH_CLOCK_SETUP_H_
#include "fsl_common.h"
void flexspi_clock_safe_config(void);
void flexspi_setup_clock(FLEXSPI_Type *base, uint32_t src, uint32_t divider);
#endif /* _FLASH_CLOCK_SETUP_H_ */
``` | /content/code_sandbox/soc/nxp/imxrt/imxrt6xx/cm33/flash_clock_setup.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```c
/*
*/
/*
* To be explicitly clear, the following set of functions
* cannot execute in place from flash and are instead
* relocated into internal SRAM.
*/
#include "fsl_power.h"
#include "flash_clock_setup.h"
#define FLEXSPI_DLL_LOCK_RETRY (10)
static void flash_deinit(FLEXSPI_Type *base)
{
/* Wait until ... | /content/code_sandbox/soc/nxp/imxrt/imxrt6xx/cm33/flash_clock_setup.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,155 |
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for nxp_lpc55s69 platform
*
* This module provides routines to initialize and support board-level
* hardware for the nxp_lpc55s69 platform.
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/logging/log.h>... | /content/code_sandbox/soc/nxp/imxrt/imxrt6xx/cm33/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,590 |
```objective-c
/*
*
*/
/**
* @file
* @brief Board configuration macros for the nxp_lpc55s69 platform
*
* This header file is used to specify and describe board-level aspects for the
* 'nxp_lpc55s69' platform.
*/
#ifndef _SOC__H_
#define _SOC__H_
#ifndef _ASMLANGUAGE
#include <zephyr/sys/util.h>
#include <fsl... | /content/code_sandbox/soc/nxp/imxrt/imxrt6xx/cm33/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 898 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/pm/pm.h>
#include "fsl_power.h"
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(soc, CONFIG_SOC_LOG_LEVEL);
/*!< Power down all unnecessary blocks and enable RBB during deep sleep. */
#define APP_DEEPSLEEP_RUNCFG0 (SYSCTL0_PDRUNCFG0_LPOSC_PD_MASK | \
SY... | /content/code_sandbox/soc/nxp/imxrt/imxrt6xx/cm33/power.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 466 |
```unknown
config SOC_FAMILY_KINETIS
bool
config SOC_FAMILY
default "nxp_kinetis" if SOC_FAMILY_KINETIS
rsource "*/Kconfig.soc"
``` | /content/code_sandbox/soc/nxp/kinetis/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 39 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/linker/sections.h>
uint8_t __kinetis_flash_config_section __kinetis_flash_config[] = {
/* Backdoor Comparison Key (unused) */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
/* Program flash protection; 1 bit/region - 0=protected, 1=unprotected
*/
0xFF... | /content/code_sandbox/soc/nxp/kinetis/flash_configuration.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 260 |
```yaml
family:
- name: kinetis
series:
- name: kwx
socs:
- name: mkw22d5
- name: mkw24d5
- name: mkw40z4
- name: mkw41z4
- name: k6x
socs:
- name: mk64f12
- name: mk66f18
- name: k2x
socs:
- name: mk22f51212
- name: mk22f12
- name: ke1xf
socs:
- name: mke18... | /content/code_sandbox/soc/nxp/kinetis/soc.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 462 |
```unknown
if SOC_FAMILY_KINETIS
config SERIAL_INIT_PRIORITY
default 55
depends on SERIAL
config ADC_INIT_PRIORITY
default 80 if ADC_MCUX_ADC16_ENABLE_EDMA
depends on ADC
rsource "*/Kconfig.defconfig"
endif # SOC_FAMILY_KINETIS
``` | /content/code_sandbox/soc/nxp/kinetis/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```unknown
config SOC_FAMILY_KINETIS
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
if SOC_FAMILY_KINETIS
config HAS_OSC
bool
help
Set if the oscillator (OSC) module is present in the SoC.
config HAS_MCG
bool
help
Set if the multipurpose clock generator (MCG) module is present in the SoC.
if HAS_OSC
cho... | /content/code_sandbox/soc/nxp/kinetis/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,004 |
```linker script
/*
*
*/
. = CONFIG_KINETIS_FLASH_CONFIG_OFFSET;
KEEP(*(.kinetis_flash_config))
KEEP(*(".kinetis_flash_config.*"))
``` | /content/code_sandbox/soc/nxp/kinetis/flash_config.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```unknown
# Kinetis K8x series MCU
config SOC_SERIES_KINETIS_K8X
bool
select SOC_FAMILY_KINETIS
config SOC_SERIES
default "k8x" if SOC_SERIES_KINETIS_K8X
config SOC_MK80F25615
bool
select SOC_SERIES_KINETIS_K8X
config SOC_MK82F25615
bool
select SOC_SERIES_KINETIS_K8X
config SOC
default "mk80f25615" if SO... | /content/code_sandbox/soc/nxp/kinetis/k8x/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 291 |
```c
/*
*
* Based on NXP K6x soc.c, which is:
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#define PERIPH_CLK_PLLFLLSEL (1)
#define PERIPH_CLK_OSCERCLK (2)
#define PERIPH_CLK_MCGIRCLK (3)
#define RUNM_RUN (0)
#define RUNM_VLPR... | /content/code_sandbox/soc/nxp/kinetis/k8x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 988 |
```objective-c
/*
*
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#include <fsl_port.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _ASMLANGUAGE
#include <fsl_common.h>
#endif /* !_ASMLANGUAGE */
#ifdef __cplusplus
}
#endif
/* address bases */
#define PERIPH_ADDR_BASE_WDOG 0x40052000 /... | /content/code_sandbox/soc/nxp/kinetis/k8x/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 122 |
```unknown
# Kinetis K8x series configuration options
if SOC_SERIES_KINETIS_K8X
config NUM_IRQS
# must be >= the highest interrupt number used
default 106
config CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
default y
config KINETIS_FLASH_CONFIG_FOPT
default 0x3f
depends on KINETIS_FLASH_CONFIG
config GPIO
default y... | /content/code_sandbox/soc/nxp/kinetis/k8x/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 100 |
```unknown
# Kinetis K8x series MCU
config SOC_SERIES_KINETIS_K8X
select ARM
select CPU_CORTEX_M4
select CPU_CORTEX_M_HAS_DWT
select CPU_HAS_NXP_MPU
select CPU_HAS_FPU
select CLOCK_CONTROL
select HAS_MCUX
select HAS_MCUX_ADC16
select HAS_MCUX_FTFX
select HAS_MCUX_FTM
select HAS_MCUX_LPUART
select HAS_MCUX... | /content/code_sandbox/soc/nxp/kinetis/k8x/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 383 |
```c
/*
*
*/
#include <soc.h>
#include <zephyr/arch/arm/mpu/nxp_mpu.h>
static const struct nxp_mpu_region mpu_regions[] = {
/* Region 0 */
MPU_REGION_ENTRY("DEBUGGER_0",
0,
0xFFFFFFFF,
REGION_DEBUG_ATTR),
/* The NXP MPU does not give precedence to memory regions like the ARM
* MPU, which means that... | /content/code_sandbox/soc/nxp/kinetis/k8x/nxp_mpu_regions.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 414 |
```unknown
# Kinetis K2X MCU line
#
#
config SOC_SERIES_KINETIS_K2X
bool
select SOC_FAMILY_KINETIS
config SOC_SERIES
default "k2x" if SOC_SERIES_KINETIS_K2X
config SOC_MK22F51212
bool
select SOC_SERIES_KINETIS_K2X
# Note- the MK22F12 SKU is a legacy SOC, no longer officially supported by
# NXP's MCUX SDK, an... | /content/code_sandbox/soc/nxp/kinetis/k2x/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 249 |
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for fsl_frdm_k22f platform
*
* This module provides routines to initialize and support board-level
* hardware for the fsl_frdm_k22f platform.
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <soc.h>
#include <ze... | /content/code_sandbox/soc/nxp/kinetis/k2x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 977 |
```objective-c
/*
*
*/
/**
* @file
* @brief Board configuration macros for the fsl_frdm_k22f platform
*
* This header file is used to specify and describe board-level aspects for the
* 'fsl_frdm_k22f' platform.
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#include <fsl_port.h>
#ifdef __... | /content/code_sandbox/soc/nxp/kinetis/k2x/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 176 |
```unknown
# Kinetis K2x series configuration options
#
#
if SOC_SERIES_KINETIS_K2X
config GPIO
default y if SOC_MK22F51212
config NUM_IRQS
default 74
config NUM_IRQS
default 81 if SOC_MK22F12
default 74 if SOC_MK22F51212
config CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
default y if SOC_MK22F12
endif # SOC_SERI... | /content/code_sandbox/soc/nxp/kinetis/k2x/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 109 |
```unknown
# Kinetis K2X MCU line
#
#
config SOC_SERIES_KINETIS_K2X
select ARM
select CPU_CORTEX_M4
select CPU_CORTEX_M_HAS_DWT
select CLOCK_CONTROL
select PLATFORM_SPECIFIC_INIT
config SOC_MK22F51212
select HAS_MCUX
select HAS_MCUX_SMC
select HAS_MCUX_ADC16
select HAS_MCUX_FTFX
select HAS_MCUX_FTM
selec... | /content/code_sandbox/soc/nxp/kinetis/k2x/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 267 |
```c
/*
*
*/
#include <soc.h>
#include <zephyr/arch/arm/mpu/nxp_mpu.h>
static const struct nxp_mpu_region mpu_regions[] = {
/* Region 0 */
/* Debugger access can't be disabled; ENET and USB devices will not be able
* to access RAM when their regions are dynamically disabled in NXP MPU.
*/
MPU_REGION_ENTRY("DE... | /content/code_sandbox/soc/nxp/kinetis/k2x/nxp_mpu_regions.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 454 |
```unknown
# Kinetis KV5x series MCU
config SOC_SERIES_KINETIS_KV5X
bool
select SOC_FAMILY_KINETIS
config SOC_SERIES
default "kv5x" if SOC_SERIES_KINETIS_KV5X
config SOC_MKV56F24
bool
select SOC_SERIES_KINETIS_KV5X
config SOC_MKV58F24
bool
select SOC_SERIES_KINETIS_KV5X
config SOC
default "mkv56f24" if SO... | /content/code_sandbox/soc/nxp/kinetis/kv5x/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 475 |
```c
/*
*
* Based on NXP K6x soc.c, which is:
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/cache.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#define RUNM_RUN (0)
#define RUNM_VLPR (2)
#define RUNM_HSRUN (3)
#define CLOCK_NODEID(clk) \
DT_CHILD(DT_... | /content/code_sandbox/soc/nxp/kinetis/kv5x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 773 |
```unknown
/*
*
*/
/**
* @file
* @brief Watchdog initialization for kv5x platform
*
* This module initializes the watchdog for the kv5x platform.
*/
#include <soc.h>
#include <zephyr/toolchain.h>
#include <zephyr/linker/sections.h>
_ASM_FILE_PROLOGUE
GTEXT(z_arm_watchdog_init)
/* watchdog register offsets *... | /content/code_sandbox/soc/nxp/kinetis/kv5x/wdog.S | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 423 |
```objective-c
/*
*
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#include <fsl_port.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _ASMLANGUAGE
#include <fsl_common.h>
#endif /* !_ASMLANGUAGE */
#ifdef __cplusplus
}
#endif
/* address bases */
#define PERIPH_ADDR_BASE_WDOG 0x40052000 /... | /content/code_sandbox/soc/nxp/kinetis/kv5x/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 122 |
```unknown
# Kinetis KV5x series configuration options
if SOC_SERIES_KINETIS_KV5X
config NUM_IRQS
# must be >= the highest interrupt number used
default 121
config GPIO
default y
endif # SOC_SERIES_KINETIS_KV5X
``` | /content/code_sandbox/soc/nxp/kinetis/kv5x/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```unknown
# Kinetis KV5x series MCU
config SOC_SERIES_KINETIS_KV5X
select ARM
select CPU_CORTEX_M7
select CPU_CORTEX_M_HAS_DWT
select CPU_HAS_ARM_MPU
select CPU_HAS_FPU
select CPU_HAS_ICACHE
select CPU_HAS_DCACHE
select CLOCK_CONTROL
select HAS_MCUX
select HAS_MCUX_ADC16
select HAS_MCUX_FTFX
select HAS_M... | /content/code_sandbox/soc/nxp/kinetis/kv5x/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 127 |
```objective-c
/*
*
*/
/*
* @file
* NXP Kinetis SOC specific helpers for pinctrl driver
*/
#ifndef ZEPHYR_SOC_ARM_NXP_KINETIS_COMMON_PINCTRL_SOC_H_
#define ZEPHYR_SOC_ARM_NXP_KINETIS_COMMON_PINCTRL_SOC_H_
#include <zephyr/devicetree.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/** @cond... | /content/code_sandbox/soc/nxp/kinetis/common/pinctrl_soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 679 |
```unknown
# Kinetis KE1xZ MCU line
config SOC_SERIES_KE1XZ
bool
select SOC_FAMILY_KINETIS
config SOC_SERIES
default "ke1xz" if SOC_SERIES_KE1XZ
config SOC_MKE15Z7
bool
select SOC_SERIES_KE1XZ
config SOC_MKE17Z7
bool
select SOC_SERIES_KE1XZ
config SOC_MKE17Z9
bool
select SOC_SERIES_KE1XZ
config SOC
def... | /content/code_sandbox/soc/nxp/kinetis/ke1xz/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 636 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<EnsembleReport name="ghrd_10m50da" kind="ghrd_10m50da" version="1.0" fabric="QSYS">
<!-- Format version 17.0 595 (Future versions may contain additional information.) -->
<!-- 2017.12.05.14:35:53 -->
<!-- A collection of modules and connections -->
<parameter name=... | /content/code_sandbox/soc/altr/zephyr_nios2f/cpu/ghrd_10m50da.sopcinfo | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 157,592 |
```objective-c
/*
*
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#include <fsl_port.h>
#define PORT_MUX_GPIO kPORT_MuxAsGpio /* GPIO setting for the Port Mux Register */
#ifndef _ASMLANGUAGE
#include <fsl_common.h>
#endif /* !_ASMLANGUAGE */
#endif /* _SOC__H_ */
``` | /content/code_sandbox/soc/nxp/kinetis/ke1xz/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```unknown
# Kinetis KE1xZ series configuration options
if SOC_SERIES_KE1XZ
config MCUX_LPTMR_TIMER
default y if PM
config CORTEX_M_SYSTICK
default n if MCUX_LPTMR_TIMER
config SYS_CLOCK_HW_CYCLES_PER_SEC
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) if CORTEX_M_SYSTICK
default $(dt_node_int_prop... | /content/code_sandbox/soc/nxp/kinetis/ke1xz/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 253 |
```unknown
# Kinetis KE1xZ series MCU
config SOC_SERIES_KE1XZ
select ARM
select CPU_CORTEX_M0PLUS
select CPU_CORTEX_M_HAS_SYSTICK
select CPU_CORTEX_M_HAS_VTOR
select CLOCK_CONTROL
select HAS_MCUX
select PLATFORM_SPECIFIC_INIT
select HAS_PM
``` | /content/code_sandbox/soc/nxp/kinetis/ke1xz/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 71 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/pm/pm.h>
#include <soc.h>
LOG_MODULE_DECLARE(power, CONFIG_PM_LOG_LEVEL);
__ramfunc static void wait_for_flash_prefetch_and_idle(void)
{
uint32_t i;
for (i = 0; i < 8; i++) {
arch_nop();
}
k_cpu_idle();
}
void pm_stat... | /content/code_sandbox/soc/nxp/kinetis/ke1xz/power.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 338 |
```c
/*
*
* Based on NXP k6x soc.c, which is:
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <fsl_clock.h>
#include <cmsis_core.h>
#define ASSERT_WITHIN_RANGE(val, min, max, str) \
BUILD_ASSERT(val >= min && val <= max, str)
#define ASSERT_ASYNC_CLK_DIV_VALID(val, s... | /content/code_sandbox/soc/nxp/kinetis/ke1xz/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,537 |
```unknown
# Kinetis KL2x MCU series
config SOC_SERIES_KINETIS_KL2X
bool
select SOC_FAMILY_KINETIS
config SOC_SERIES
default "kl2x" if SOC_SERIES_KINETIS_KL2X
config SOC_MKL25Z4
bool
select SOC_SERIES_KINETIS_KL2X
config SOC
default "mkl25z4" if SOC_MKL25Z4
config SOC_PART_NUMBER_MKL25Z32VFM4
bool
config ... | /content/code_sandbox/soc/nxp/kinetis/kl2x/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 569 |
```objective-c
/*
*
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#include <fsl_port.h>
#define UART0_CLK_SRC kCLOCK_CoreSysClk
#define PORT_MUX_GPIO kPORT_MuxAsGpio /* GPIO setting for the Port Mux Register */
#ifndef _ASMLANGUAGE
#include <fsl_common.h>
#endif /* !_ASMLANGUAGE */
#endif... | /content/code_sandbox/soc/nxp/kinetis/kl2x/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 94 |
```unknown
# Kinetis KL2x series configuration options
if SOC_SERIES_KINETIS_KL2X
config NUM_IRQS
default 32 if SOC_MKL25Z4
endif # SOC_SERIES_KINETIS_KL2X
``` | /content/code_sandbox/soc/nxp/kinetis/kl2x/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 53 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <soc.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#include <zephyr/arch/cpu.h>
#define LPSCI0SRC_MCGFLLCLK (1)
#define CLOCK_NODEID(clk) \
DT_CHILD(DT_INST(0, nxp_kinetis_sim), clk)
#define CLOCK_DIVIDER(clk... | /content/code_sandbox/soc/nxp/kinetis/kl2x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 746 |
```unknown
# Kinetis KL2x MCU series
config SOC_SERIES_KINETIS_KL2X
select ARM
select CPU_CORTEX_M0PLUS
select CPU_CORTEX_M_HAS_SYSTICK
select CPU_CORTEX_M_HAS_VTOR
select CLOCK_CONTROL
select PLATFORM_SPECIFIC_INIT
config SOC_MKL25Z4
select CPU_CORTEX_M0PLUS
select HAS_MCUX
select HAS_MCUX_ADC16
select HA... | /content/code_sandbox/soc/nxp/kinetis/kl2x/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 129 |
```unknown
# Kinetis KE1xF MCU line
config SOC_SERIES_KINETIS_KE1XF
bool
select SOC_FAMILY_KINETIS
config SOC_SERIES
default "ke1xf" if SOC_SERIES_KINETIS_KE1XF
config SOC_MKE14F16
bool
select SOC_SERIES_KINETIS_KE1XF
config SOC_MKE16F16
bool
select SOC_SERIES_KINETIS_KE1XF
config SOC_MKE18F16
bool
selec... | /content/code_sandbox/soc/nxp/kinetis/ke1xf/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 645 |
```objective-c
/*
*
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#include <fsl_port.h>
#define PORT_MUX_GPIO kPORT_MuxAsGpio /* GPIO setting for the Port Mux Register */
#ifndef _ASMLANGUAGE
#include <fsl_common.h>
#endif /* !_ASMLANGUAGE */
#endif /* _SOC__H_ */
``` | /content/code_sandbox/soc/nxp/kinetis/ke1xf/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```unknown
# Kinetis KE1xF series configuration options
if SOC_SERIES_KINETIS_KE1XF
config MCUX_LPTMR_TIMER
default y if PM
config CORTEX_M_SYSTICK
default n if MCUX_LPTMR_TIMER
config SYS_CLOCK_HW_CYCLES_PER_SEC
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) if CORTEX_M_SYSTICK
default $(dt_node_... | /content/code_sandbox/soc/nxp/kinetis/ke1xf/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 212 |
```unknown
# Kinetis KE1xF series MCU
config SOC_SERIES_KINETIS_KE1XF
select ARM
select CPU_CORTEX_M4
select CPU_CORTEX_M_HAS_DWT
select CPU_HAS_NXP_MPU
select CPU_HAS_FPU
select CLOCK_CONTROL
select HAS_MCUX
select HAS_MCUX_CACHE
select HAS_MCUX_FTFX
select HAS_MCUX_LPI2C
select HAS_MCUX_LPSPI
select HAS... | /content/code_sandbox/soc/nxp/kinetis/ke1xf/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 418 |
```c
/*
*
*/
#include <soc.h>
#include <zephyr/arch/arm/mpu/nxp_mpu.h>
static const struct nxp_mpu_region mpu_regions[] = {
/* Region 0 */
MPU_REGION_ENTRY("DEBUGGER_0",
0,
0xFFFFFFFF,
REGION_DEBUG_ATTR),
/* The NXP MPU does not give precedence to memory regions like the ARM
* MPU, which means that... | /content/code_sandbox/soc/nxp/kinetis/ke1xf/nxp_mpu_regions.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 414 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/pm/pm.h>
#include <soc.h>
LOG_MODULE_DECLARE(power, CONFIG_PM_LOG_LEVEL);
#ifdef CONFIG_XIP
__ramfunc static void wait_for_flash_prefetch_and_idle(void)
{
uint32_t i;
for (i = 0; i < 8; i++) {
arch_nop();
}
k_cpu_idle(... | /content/code_sandbox/soc/nxp/kinetis/ke1xf/power.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 349 |
```unknown
# Kinetis KWx MCU series
config SOC_SERIES_KINETIS_KWX
bool
select SOC_FAMILY_KINETIS
config SOC_SERIES
default "kwx" if SOC_SERIES_KINETIS_KWX
config SOC_MKW22D5
bool
select SOC_SERIES_KINETIS_KWX
config SOC_MKW24D5
bool
select SOC_SERIES_KINETIS_KWX
config SOC_MKW40Z4
bool
select SOC_SERIES_... | /content/code_sandbox/soc/nxp/kinetis/kwx/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 396 |
```objective-c
/*
*
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#include <fsl_port.h>
#if defined(CONFIG_SOC_MKW40Z4) || defined(CONFIG_SOC_MKW41Z4)
#define LPUART0_CLK_SRC kCLOCK_CoreSysClk
#endif
#if defined(CONFIG_SOC_MKW22D5) || defined(CONFIG_SOC_MKW24D5)
#define PERIPH_ADDR_BASE_WDO... | /content/code_sandbox/soc/nxp/kinetis/kwx/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 159 |
```unknown
# Kinetis KWx series configuration options
if SOC_SERIES_KINETIS_KWX
config NUM_IRQS
default 65 if SOC_MKW22D5 || SOC_MKW24D5
default 32 if SOC_MKW40Z4 || SOC_MKW41Z4
config SPI
default y if SOC_MKW22D5 || SOC_MKW24D5
config NET_L2_IEEE802154
default y if !NET_L2_OPENTHREAD && SOC_MKW41Z4
if SOC_MK... | /content/code_sandbox/soc/nxp/kinetis/kwx/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 219 |
```c
/*
*
* Based on NXP k6x soc.c, which is:
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <fsl_clock.h>
#include <fsl_cache.h>
#include <cmsis_core.h>
#define ASSERT_WITHIN_RANGE(val, min, max, str) \
BUILD_ASSERT(val >= min && val <= max, str)
#define ASSERT_ASY... | /content/code_sandbox/soc/nxp/kinetis/ke1xf/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,302 |
```unknown
# Kinetis KWx MCU series
config SOC_SERIES_KINETIS_KWX
select ARM
select CPU_CORTEX_M_HAS_SYSTICK
select CPU_CORTEX_M_HAS_VTOR
select CLOCK_CONTROL
select PLATFORM_SPECIFIC_INIT
config SOC_MKW22D5
select CPU_CORTEX_M4
select CPU_CORTEX_M_HAS_DWT
select HAS_MCUX
select HAS_MCUX_ADC16
select HAS_M... | /content/code_sandbox/soc/nxp/kinetis/kwx/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 369 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <soc.h>
#include <zephyr/drivers/uart.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#define LPUART0SRC_OSCERCLK (1)
#define TPMSRC_MCGPLLCLK (1)
#define CLOCK_NODEID(clk) \
DT_CHILD(DT_INST(0, nxp_kinetis_sim)... | /content/code_sandbox/soc/nxp/kinetis/kwx/soc_kw4xz.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 674 |
```unknown
# Kinetis K6X MCU line
config SOC_SERIES_KINETIS_K6X
bool
select SOC_FAMILY_KINETIS
config SOC_SERIES
default "k6x" if SOC_SERIES_KINETIS_K6X
config SOC_MK64F12
bool
select SOC_SERIES_KINETIS_K6X
config SOC_MK66F18
bool
select SOC_SERIES_KINETIS_K6X
config SOC
default "mk64f12" if SOC_MK64F12
... | /content/code_sandbox/soc/nxp/kinetis/k6x/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 593 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <soc.h>
#include <zephyr/drivers/uart.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#include <cmsis_core.h>
#define PLLFLLSEL_MCGFLLCLK (0)
#define PLLFLLSEL_MCGPLLCLK (1)
#define PLLFLLSEL_IRC48MHZ (3)
#defin... | /content/code_sandbox/soc/nxp/kinetis/kwx/soc_kw2xd.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,364 |
```objective-c
/*
*
*/
/**
* @file
* @brief Board configuration macros for the fsl_frdm_k64f platform
*
* This header file is used to specify and describe board-level aspects for the
* 'fsl_frdm_k64f' platform.
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#include <fsl_port.h>
/* addres... | /content/code_sandbox/soc/nxp/kinetis/k6x/soc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 158 |
```unknown
# Kinetis K6x series default configurations
if SOC_SERIES_KINETIS_K6X
config CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
default y
config NUM_IRQS
default 100 if SOC_MK66F18
default 86 if SOC_MK64F12
config GPIO
default y
config SPI
default n if SOC_MK64F12
endif # SOC_SERIES_KINETIS_K6X
``` | /content/code_sandbox/soc/nxp/kinetis/k6x/Kconfig.defconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 95 |
```unknown
# Kinetis K6x series configuration
config SOC_SERIES_KINETIS_K6X
select ARM
select CPU_CORTEX_M4
select CPU_CORTEX_M_HAS_DWT
select CPU_HAS_NXP_MPU
select HAS_MCUX_PIT
select CLOCK_CONTROL
select PLATFORM_SPECIFIC_INIT
config SOC_MK64F12
select HAS_MCUX
select HAS_MCUX_ADC16
select HAS_MCUX_ENET... | /content/code_sandbox/soc/nxp/kinetis/k6x/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 340 |
```c
/*
*
*/
/**
* @file
* @brief System/hardware module for fsl_frdm_k64f platform
*
* This module provides routines to initialize and support board-level
* hardware for the fsl_frdm_k64f platform.
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <soc.h>
#include <ze... | /content/code_sandbox/soc/nxp/kinetis/k6x/soc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,336 |
```unknown
config SOC_FAMILY_NXP_MCX
bool
config SOC_FAMILY
default "nxp_mcx" if SOC_FAMILY_NXP_MCX
rsource "*/Kconfig.soc"
``` | /content/code_sandbox/soc/nxp/mcx/Kconfig.soc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```yaml
family:
- name: nxp_mcx
series:
- name: mcxn
socs:
- name: mcxn947
cpuclusters:
- name: cpu0
- name: cpu1
- name: mcxn236
runners:
run_once:
'--erase':
- run: first
runners:
- all
groups:
- qualifiers:
- mcxn947/cpu0
- mcxn947/c... | /content/code_sandbox/soc/nxp/mcx/soc.yml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 146 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.