Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions arch/dspic/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2025, Microchip Technology Inc.
Copy link
Collaborator

@AzharMCHP AzharMCHP Jul 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comma is not required in the copyright header.
It should be as follows:

# Copyright (c) 2025 Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0

This can be updated everywhere

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will start changing all files in coming commits. Please expect this in coming release

# SPDX-License-Identifier: Apache-2.0

menu "DSPIC Options"
depends on DSPIC

Expand Down
5 changes: 5 additions & 0 deletions arch/dspic/core/init.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2025, Microchip Technology Inc.
* SPDX-License-Identifier: Apache-2.0
*/

.section .init,code
.global __custom_data_init
.global __custom_data_init_extended
Expand Down
1 change: 1 addition & 0 deletions arch/dspic/core/offsets/offsets.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*
* Copyright (c) 2025, Microchip Technology Inc.
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
5 changes: 5 additions & 0 deletions arch/dspic/core/reset0.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2025, Microchip Technology Inc.
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr/toolchain.h>
#include <zephyr/linker/sections.h>
#include <zephyr/arch/cpu.h>
Expand Down
4 changes: 4 additions & 0 deletions arch/dspic/core/reset1.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2025, Microchip Technology Inc.
* SPDX-License-Identifier: Apache-2.0
*/

;;This version support without data initialization
;;Refer reset0.S for the data initialization
Expand Down
5 changes: 5 additions & 0 deletions arch/dspic/core/vector_table.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2025, Microchip Technology Inc.
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr/toolchain.h>
#include <zephyr/linker/sections.h>
#include "vector_table.h"
Expand Down
3 changes: 3 additions & 0 deletions boards/microchip/ev74h48a/Kconfig.ev74h48a
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Copyright (c) 2025, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0

config BOARD_EV74H48A
select SOC_P33AK128MC106 if BOARD_EV74H48A_P33AK128MC106
3 changes: 3 additions & 0 deletions cmake/toolchain/xcdsc/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2025, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0

config TOOLCHAIN_XCDSC
bool "MPLAB XC-DSC toolchain"
select HAVE_CUSTOM_LINKER_SCRIPT
Expand Down
1 change: 1 addition & 0 deletions include/zephyr/toolchain/xcdsc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*
* Copyright (c) 2025, Microchip Technology Inc.
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
3 changes: 3 additions & 0 deletions soc/microchip/dspic33/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2025, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0

if SOC_FAMILY_MICROCHIP_DSPIC33
rsource "*/Kconfig"
endif # SOC_FAMILY_MICROCHIP_DSPIC33
3 changes: 3 additions & 0 deletions soc/microchip/dspic33/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2025, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0

if SOC_FAMILY_MICROCHIP_DSPIC33
rsource "*/Kconfig.defconfig.series"
endif # SOC_FAMILY_MICROCHIP_DSPIC33
3 changes: 3 additions & 0 deletions soc/microchip/dspic33/Kconfig.soc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2025, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0

config SOC_FAMILY_MICROCHIP_DSPIC33
bool

Expand Down
3 changes: 3 additions & 0 deletions soc/microchip/dspic33/dspic33a/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2025, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0

config SOC_SERIES_DSPIC33A
select DSPIC
select CPU_HAS_FPU
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2025, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0

if SOC_P33AK128MC106

config UART_CONSOLE
Expand Down
3 changes: 3 additions & 0 deletions soc/microchip/dspic33/dspic33a/Kconfig.defconfig.series
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2025, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0

if SOC_SERIES_DSPIC33A
rsource "Kconfig.defconfig.p33ak*"
endif # SOC_SERIES_DSPIC33A
3 changes: 3 additions & 0 deletions soc/microchip/dspic33/dspic33a/Kconfig.soc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2025, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0

config SOC_SERIES_DSPIC33A
bool

Expand Down