From 1ce69d35248ed1d5b08123ca5f44f0dee565cabb Mon Sep 17 00:00:00 2001 From: MacRsh Date: Tue, 2 Jan 2024 00:02:48 +0800 Subject: [PATCH] =?UTF-8?q?1.copyright=202024=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/st/driver/drv_adc.c | 2 +- bsp/st/driver/drv_adc.h | 4 ++-- bsp/st/driver/drv_pin.c | 2 +- bsp/st/driver/drv_pin.h | 4 ++-- bsp/st/driver/drv_serial.c | 2 +- bsp/st/driver/drv_serial.h | 4 ++-- bsp/st/driver/drv_spi.c | 2 +- bsp/st/driver/drv_spi.h | 4 ++-- bsp/st/driver/drv_timer.c | 2 +- bsp/st/driver/drv_timer.h | 4 ++-- bsp/st/driver/mr_board.c | 2 +- bsp/st/stm32f411/driver/mr_board.h | 2 +- bsp/wch/ch32v003/driver/mr_board.h | 2 +- bsp/wch/ch32v307/driver/mr_board.h | 2 +- bsp/wch/driver/drv_adc.c | 2 +- bsp/wch/driver/drv_adc.h | 4 ++-- bsp/wch/driver/drv_dac.c | 2 +- bsp/wch/driver/drv_dac.h | 4 ++-- bsp/wch/driver/drv_i2c.c | 2 +- bsp/wch/driver/drv_i2c.h | 4 ++-- bsp/wch/driver/drv_pin.c | 2 +- bsp/wch/driver/drv_pin.h | 4 ++-- bsp/wch/driver/drv_serial.c | 2 +- bsp/wch/driver/drv_serial.h | 4 ++-- bsp/wch/driver/drv_spi.c | 2 +- bsp/wch/driver/drv_spi.h | 4 ++-- bsp/wch/driver/drv_timer.c | 2 +- bsp/wch/driver/drv_timer.h | 4 ++-- build.py | 2 +- components/Kconfig | 2 +- device/adc.c | 4 ++-- device/can.c | 4 ++-- device/dac.c | 4 ++-- device/i2c.c | 4 ++-- device/pin.c | 4 ++-- device/pwm.c | 4 ++-- device/serial.c | 4 ++-- device/soft_i2c.c | 6 +++--- device/spi.c | 6 +++--- device/timer.c | 4 ++-- include/components/mr_msh.h | 2 +- include/device/{adc.h => mr_adc.h} | 2 +- include/device/{can.h => mr_can.h} | 2 +- include/device/{dac.h => mr_dac.h} | 2 +- include/device/{i2c.h => mr_i2c.h} | 2 +- include/device/{pin.h => mr_pin.h} | 2 +- include/device/{pwm.h => mr_pwm.h} | 2 +- include/device/{serial.h => mr_serial.h} | 2 +- include/device/{soft_i2c.h => mr_soft_i2c.h} | 4 ++-- include/device/{spi.h => mr_spi.h} | 2 +- include/device/{timer.h => mr_timer.h} | 2 +- include/mr_api.h | 2 +- include/mr_def.h | 2 +- include/mr_service.h | 2 +- kconfig.py | 2 +- source/device.c | 2 +- source/memory.c | 2 +- source/service.c | 2 +- 58 files changed, 83 insertions(+), 83 deletions(-) rename include/device/{adc.h => mr_adc.h} (97%) rename include/device/{can.h => mr_can.h} (98%) rename include/device/{dac.h => mr_dac.h} (97%) rename include/device/{i2c.h => mr_i2c.h} (98%) rename include/device/{pin.h => mr_pin.h} (98%) rename include/device/{pwm.h => mr_pwm.h} (98%) rename include/device/{serial.h => mr_serial.h} (99%) rename include/device/{soft_i2c.h => mr_soft_i2c.h} (92%) rename include/device/{spi.h => mr_spi.h} (99%) rename include/device/{timer.h => mr_timer.h} (98%) diff --git a/bsp/st/driver/drv_adc.c b/bsp/st/driver/drv_adc.c index baccfed..5e0e14c 100644 --- a/bsp/st/driver/drv_adc.c +++ b/bsp/st/driver/drv_adc.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/st/driver/drv_adc.h b/bsp/st/driver/drv_adc.h index 5c8f6fb..75a4798 100644 --- a/bsp/st/driver/drv_adc.h +++ b/bsp/st/driver/drv_adc.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_ADC_H_ #define _DRV_ADC_H_ -#include "include/device/adc.h" +#include "include/device/mr_adc.h" #include "mr_board.h" #ifdef __cplusplus diff --git a/bsp/st/driver/drv_pin.c b/bsp/st/driver/drv_pin.c index 2675bea..eb680ab 100644 --- a/bsp/st/driver/drv_pin.c +++ b/bsp/st/driver/drv_pin.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/st/driver/drv_pin.h b/bsp/st/driver/drv_pin.h index 8c62bee..e6f8383 100644 --- a/bsp/st/driver/drv_pin.h +++ b/bsp/st/driver/drv_pin.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_PIN_H_ #define _DRV_PIN_H_ -#include "include/device/pin.h" +#include "include/device/mr_pin.h" #include "mr_board.h" #ifdef __cplusplus diff --git a/bsp/st/driver/drv_serial.c b/bsp/st/driver/drv_serial.c index 2c59cdb..cf16294 100644 --- a/bsp/st/driver/drv_serial.c +++ b/bsp/st/driver/drv_serial.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/st/driver/drv_serial.h b/bsp/st/driver/drv_serial.h index 5d5ee67..ba76417 100644 --- a/bsp/st/driver/drv_serial.h +++ b/bsp/st/driver/drv_serial.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_SERIAL_H_ #define _DRV_SERIAL_H_ -#include "include/device/serial.h" +#include "include/device/mr_serial.h" #include "mr_board.h" #ifdef __cplusplus diff --git a/bsp/st/driver/drv_spi.c b/bsp/st/driver/drv_spi.c index 6b369f7..835a9de 100644 --- a/bsp/st/driver/drv_spi.c +++ b/bsp/st/driver/drv_spi.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/st/driver/drv_spi.h b/bsp/st/driver/drv_spi.h index acd6054..6d1a301 100644 --- a/bsp/st/driver/drv_spi.h +++ b/bsp/st/driver/drv_spi.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_SPI_H_ #define _DRV_SPI_H_ -#include "include/device/spi.h" +#include "include/device/mr_spi.h" #include "mr_board.h" #ifdef __cplusplus diff --git a/bsp/st/driver/drv_timer.c b/bsp/st/driver/drv_timer.c index 1dade3e..e6f1efa 100644 --- a/bsp/st/driver/drv_timer.c +++ b/bsp/st/driver/drv_timer.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/st/driver/drv_timer.h b/bsp/st/driver/drv_timer.h index a2dbbd3..2e7f553 100644 --- a/bsp/st/driver/drv_timer.h +++ b/bsp/st/driver/drv_timer.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_TIMER_H_ #define _DRV_TIMER_H_ -#include "include/device/timer.h" +#include "include/device/mr_timer.h" #include "mr_board.h" #ifdef MR_USING_TIMER diff --git a/bsp/st/driver/mr_board.c b/bsp/st/driver/mr_board.c index 511bb91..2f4a981 100644 --- a/bsp/st/driver/mr_board.c +++ b/bsp/st/driver/mr_board.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/st/stm32f411/driver/mr_board.h b/bsp/st/stm32f411/driver/mr_board.h index 2890bff..543d0fb 100644 --- a/bsp/st/stm32f411/driver/mr_board.h +++ b/bsp/st/stm32f411/driver/mr_board.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/wch/ch32v003/driver/mr_board.h b/bsp/wch/ch32v003/driver/mr_board.h index 4107bb7..15b5e81 100644 --- a/bsp/wch/ch32v003/driver/mr_board.h +++ b/bsp/wch/ch32v003/driver/mr_board.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/wch/ch32v307/driver/mr_board.h b/bsp/wch/ch32v307/driver/mr_board.h index dd611e3..3ead43c 100644 --- a/bsp/wch/ch32v307/driver/mr_board.h +++ b/bsp/wch/ch32v307/driver/mr_board.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/wch/driver/drv_adc.c b/bsp/wch/driver/drv_adc.c index 411f0c7..5138731 100644 --- a/bsp/wch/driver/drv_adc.c +++ b/bsp/wch/driver/drv_adc.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/wch/driver/drv_adc.h b/bsp/wch/driver/drv_adc.h index f10a69f..4457a99 100644 --- a/bsp/wch/driver/drv_adc.h +++ b/bsp/wch/driver/drv_adc.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_ADC_H_ #define _DRV_ADC_H_ -#include "include/device/adc.h" +#include "include/device/mr_adc.h" #include "mr_board.h" #ifdef __cplusplus diff --git a/bsp/wch/driver/drv_dac.c b/bsp/wch/driver/drv_dac.c index f245a7b..5d92383 100644 --- a/bsp/wch/driver/drv_dac.c +++ b/bsp/wch/driver/drv_dac.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/wch/driver/drv_dac.h b/bsp/wch/driver/drv_dac.h index 5f49e7d..d055f8b 100644 --- a/bsp/wch/driver/drv_dac.h +++ b/bsp/wch/driver/drv_dac.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_DAC_H_ #define _DRV_DAC_H_ -#include "include/device/dac.h" +#include "include/device/mr_dac.h" #include "mr_board.h" #ifdef MR_USING_DAC diff --git a/bsp/wch/driver/drv_i2c.c b/bsp/wch/driver/drv_i2c.c index a1b3f05..ecaeabb 100644 --- a/bsp/wch/driver/drv_i2c.c +++ b/bsp/wch/driver/drv_i2c.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/wch/driver/drv_i2c.h b/bsp/wch/driver/drv_i2c.h index f097e52..5b4dd2f 100644 --- a/bsp/wch/driver/drv_i2c.h +++ b/bsp/wch/driver/drv_i2c.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_I2C_H_ #define _DRV_I2C_H_ -#include "include/device/i2c.h" +#include "include/device/mr_i2c.h" #include "mr_board.h" #ifdef __cplusplus diff --git a/bsp/wch/driver/drv_pin.c b/bsp/wch/driver/drv_pin.c index 54cb043..41504aa 100644 --- a/bsp/wch/driver/drv_pin.c +++ b/bsp/wch/driver/drv_pin.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/wch/driver/drv_pin.h b/bsp/wch/driver/drv_pin.h index 8c62bee..e6f8383 100644 --- a/bsp/wch/driver/drv_pin.h +++ b/bsp/wch/driver/drv_pin.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_PIN_H_ #define _DRV_PIN_H_ -#include "include/device/pin.h" +#include "include/device/mr_pin.h" #include "mr_board.h" #ifdef __cplusplus diff --git a/bsp/wch/driver/drv_serial.c b/bsp/wch/driver/drv_serial.c index d0d2792..62e3dad 100644 --- a/bsp/wch/driver/drv_serial.c +++ b/bsp/wch/driver/drv_serial.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/wch/driver/drv_serial.h b/bsp/wch/driver/drv_serial.h index e911b90..6366eeb 100644 --- a/bsp/wch/driver/drv_serial.h +++ b/bsp/wch/driver/drv_serial.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_SERIAL_H_ #define _DRV_SERIAL_H_ -#include "include/device/serial.h" +#include "include/device/mr_serial.h" #include "mr_board.h" #ifdef __cplusplus diff --git a/bsp/wch/driver/drv_spi.c b/bsp/wch/driver/drv_spi.c index 2dd78ca..f1665b3 100644 --- a/bsp/wch/driver/drv_spi.c +++ b/bsp/wch/driver/drv_spi.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/wch/driver/drv_spi.h b/bsp/wch/driver/drv_spi.h index 02f0451..1707736 100644 --- a/bsp/wch/driver/drv_spi.h +++ b/bsp/wch/driver/drv_spi.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_SPI_H_ #define _DRV_SPI_H_ -#include "include/device/spi.h" +#include "include/device/mr_spi.h" #include "mr_board.h" #ifdef __cplusplus diff --git a/bsp/wch/driver/drv_timer.c b/bsp/wch/driver/drv_timer.c index 34a76fe..afcee22 100644 --- a/bsp/wch/driver/drv_timer.c +++ b/bsp/wch/driver/drv_timer.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/wch/driver/drv_timer.h b/bsp/wch/driver/drv_timer.h index 15de50d..924bd4e 100644 --- a/bsp/wch/driver/drv_timer.h +++ b/bsp/wch/driver/drv_timer.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -9,7 +9,7 @@ #ifndef _DRV_TIMER_H_ #define _DRV_TIMER_H_ -#include "include/device/timer.h" +#include "include/device/mr_timer.h" #include "mr_board.h" #ifdef MR_USING_TIMER diff --git a/build.py b/build.py index a9d872e..b6c0b33 100644 --- a/build.py +++ b/build.py @@ -1,7 +1,7 @@ #!/usr/bin/env python """ -@copyright (c) 2023, MR Development Team +@copyright (c) 2023-2024, MR Development Team @license SPDX-License-Identifier: Apache-2.0 diff --git a/components/Kconfig b/components/Kconfig index 1ea33a1..78e4422 100644 --- a/components/Kconfig +++ b/components/Kconfig @@ -3,7 +3,7 @@ menu "Components configure" # Msh config MR_USING_MSH bool "Use msh" - default y + default n help "Use this option allows for the use of the shell." diff --git a/device/adc.c b/device/adc.c index 1d02bca..f150937 100644 --- a/device/adc.c +++ b/device/adc.c @@ -1,12 +1,12 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * * @date 2023-11-06 MacRsh First version */ -#include "include/device/adc.h" +#include "include/device/mr_adc.h" #ifdef MR_USING_ADC diff --git a/device/can.c b/device/can.c index f8b572f..8c3d6ee 100644 --- a/device/can.c +++ b/device/can.c @@ -1,12 +1,12 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * * @date 2023-11-22 MacRsh First version */ -#include "include/device/can.h" +#include "include/device/mr_can.h" #ifdef MR_USING_CAN diff --git a/device/dac.c b/device/dac.c index b536858..c64cd2d 100644 --- a/device/dac.c +++ b/device/dac.c @@ -1,12 +1,12 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * * @date 2023-11-08 MacRsh First version */ -#include "include/device/dac.h" +#include "include/device/mr_dac.h" #ifdef MR_USING_DAC diff --git a/device/i2c.c b/device/i2c.c index 6e0295a..cec5065 100644 --- a/device/i2c.c +++ b/device/i2c.c @@ -1,12 +1,12 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * * @date 2023-11-09 MacRsh First version */ -#include "include/device/i2c.h" +#include "include/device/mr_i2c.h" #ifdef MR_USING_I2C diff --git a/device/pin.c b/device/pin.c index d1d4c60..bbab91d 100644 --- a/device/pin.c +++ b/device/pin.c @@ -1,12 +1,12 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * * @date 2023-11-08 MacRsh First version */ -#include "include/device/pin.h" +#include "include/device/mr_pin.h" #ifdef MR_USING_PIN diff --git a/device/pwm.c b/device/pwm.c index 0957f88..9acbdd8 100644 --- a/device/pwm.c +++ b/device/pwm.c @@ -1,12 +1,12 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * * @date 2023-12-10 MacRsh First version */ -#include "include/device/pwm.h" +#include "include/device/mr_pwm.h" #ifdef MR_USING_PWM diff --git a/device/serial.c b/device/serial.c index a4df74f..07d46e9 100644 --- a/device/serial.c +++ b/device/serial.c @@ -1,12 +1,12 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * * @date 2023-10-20 MacRsh First version */ -#include "include/device/serial.h" +#include "include/device/mr_serial.h" #ifdef MR_USING_SERIAL diff --git a/device/soft_i2c.c b/device/soft_i2c.c index 5501795..b34b7da 100644 --- a/device/soft_i2c.c +++ b/device/soft_i2c.c @@ -1,17 +1,17 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * * @date 2023-12-13 MacRsh First version */ -#include "include/device/soft_i2c.h" +#include "include/device/mr_soft_i2c.h" #if defined(MR_USING_I2C) && defined(MR_USING_SOFT_I2C) #ifdef MR_USING_PIN -#include "include/device/pin.h" +#include "include/device/mr_pin.h" #else #warning "Please define MR_USING_PIN. Otherwise Soft-I2C will not work." #endif /* MR_USING_PIN */ diff --git a/device/spi.c b/device/spi.c index c0088fb..9c56533 100644 --- a/device/spi.c +++ b/device/spi.c @@ -1,17 +1,17 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * * @date 2023-11-01 MacRsh First version */ -#include "include/device/spi.h" +#include "include/device/mr_spi.h" #ifdef MR_USING_SPI #ifdef MR_USING_PIN -#include "include/device/pin.h" +#include "include/device/mr_pin.h" #else #warning "Please define MR_USING_PIN. Otherwise SPI-CS will not work." #endif /* MR_USING_PIN */ diff --git a/device/timer.c b/device/timer.c index d0c90e2..4c5aa2e 100644 --- a/device/timer.c +++ b/device/timer.c @@ -1,12 +1,12 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * * @date 2023-11-15 MacRsh First version */ -#include "include/device/timer.h" +#include "include/device/mr_timer.h" #ifdef MR_USING_TIMER diff --git a/include/components/mr_msh.h b/include/components/mr_msh.h index 64eb32e..7bd1d03 100644 --- a/include/components/mr_msh.h +++ b/include/components/mr_msh.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/device/adc.h b/include/device/mr_adc.h similarity index 97% rename from include/device/adc.h rename to include/device/mr_adc.h index d927c00..bda145c 100644 --- a/include/device/adc.h +++ b/include/device/mr_adc.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/device/can.h b/include/device/mr_can.h similarity index 98% rename from include/device/can.h rename to include/device/mr_can.h index 9f198ff..52f505b 100644 --- a/include/device/can.h +++ b/include/device/mr_can.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/device/dac.h b/include/device/mr_dac.h similarity index 97% rename from include/device/dac.h rename to include/device/mr_dac.h index 02c7a06..5c2b622 100644 --- a/include/device/dac.h +++ b/include/device/mr_dac.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/device/i2c.h b/include/device/mr_i2c.h similarity index 98% rename from include/device/i2c.h rename to include/device/mr_i2c.h index 540ddce..5e3e4cc 100644 --- a/include/device/i2c.h +++ b/include/device/mr_i2c.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/device/pin.h b/include/device/mr_pin.h similarity index 98% rename from include/device/pin.h rename to include/device/mr_pin.h index b33d12b..26f488e 100644 --- a/include/device/pin.h +++ b/include/device/mr_pin.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/device/pwm.h b/include/device/mr_pwm.h similarity index 98% rename from include/device/pwm.h rename to include/device/mr_pwm.h index faa3862..484eda1 100644 --- a/include/device/pwm.h +++ b/include/device/mr_pwm.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/device/serial.h b/include/device/mr_serial.h similarity index 99% rename from include/device/serial.h rename to include/device/mr_serial.h index 54dd4a6..26ad03a 100644 --- a/include/device/serial.h +++ b/include/device/mr_serial.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/device/soft_i2c.h b/include/device/mr_soft_i2c.h similarity index 92% rename from include/device/soft_i2c.h rename to include/device/mr_soft_i2c.h index 8982407..8b4824d 100644 --- a/include/device/soft_i2c.h +++ b/include/device/mr_soft_i2c.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * @@ -17,7 +17,7 @@ extern "C" { #if defined(MR_USING_I2C) && defined(MR_USING_SOFT_I2C) -#include "include/device/i2c.h" +#include "include/device/mr_i2c.h" /** * @brief Soft-I2C bus structure. diff --git a/include/device/spi.h b/include/device/mr_spi.h similarity index 99% rename from include/device/spi.h rename to include/device/mr_spi.h index dc3826a..8d3a199 100644 --- a/include/device/spi.h +++ b/include/device/mr_spi.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/device/timer.h b/include/device/mr_timer.h similarity index 98% rename from include/device/timer.h rename to include/device/mr_timer.h index 02b631a..41dad00 100644 --- a/include/device/timer.h +++ b/include/device/mr_timer.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/mr_api.h b/include/mr_api.h index b6cc8ed..3cd7787 100644 --- a/include/mr_api.h +++ b/include/mr_api.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/mr_def.h b/include/mr_def.h index 4cfd8fc..f7d201a 100644 --- a/include/mr_def.h +++ b/include/mr_def.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/include/mr_service.h b/include/mr_service.h index e40a4b8..e5102e1 100644 --- a/include/mr_service.h +++ b/include/mr_service.h @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/kconfig.py b/kconfig.py index 611854a..d21a2d2 100644 --- a/kconfig.py +++ b/kconfig.py @@ -1,7 +1,7 @@ #!/usr/bin/env python """ -@copyright (c) 2023, MR Development Team +@copyright (c) 2023-2024, MR Development Team @license SPDX-License-Identifier: Apache-2.0 diff --git a/source/device.c b/source/device.c index 7df6ff7..7af27c9 100644 --- a/source/device.c +++ b/source/device.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/source/memory.c b/source/memory.c index 4d9ef26..bbdaf56 100644 --- a/source/memory.c +++ b/source/memory.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 * diff --git a/source/service.c b/source/service.c index e406d52..4c9965c 100644 --- a/source/service.c +++ b/source/service.c @@ -1,5 +1,5 @@ /* - * @copyright (c) 2023, MR Development Team + * @copyright (c) 2023-2024, MR Development Team * * @license SPDX-License-Identifier: Apache-2.0 *