mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/cc13x2: rename cc13x2
cpu to cc26x2_cc13x2
The CC26x2 and CC13x2 share the same register definitions, and both are treated equally in the TI's technical reference manual. [1] - To avoid confusions in the future I renamed it to `cc26x2_cc13x2`. - Documentation was updated. - The `cc1312-launchpad` board that uses the `cc13x2` MCU was updated. - The `cc1352-launchpad` board that uses the `cc13x2` MCU was updated. [1]: https://www.ti.com/lit/ug/swcu185d/swcu185d.pdf Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
This commit is contained in:
parent
9999cec199
commit
a73f3809cc
@ -1,4 +1,4 @@
|
|||||||
CPU = cc13x2
|
CPU = cc26x2_cc13x2
|
||||||
CPU_MODEL = cc1312r1f3
|
CPU_MODEL = cc1312r1f3
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
CPU = cc13x2
|
CPU = cc26x2_cc13x2
|
||||||
CPU_MODEL = cc1352r1
|
CPU_MODEL = cc1352r1
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
/**
|
|
||||||
* @defgroup cpu_cc13x2 TI CC13x2
|
|
||||||
* @ingroup cpu
|
|
||||||
* @brief Texas Instruments CC13x2 Cortex-M4F MCU specific code
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @defgroup cpu_cc13x2_peripheral_memory_map TI CC13x2 peripheral memory map
|
|
||||||
* @ingroup cpu
|
|
||||||
* @brief Texas Instruments CC13x2 memory mappings for peripherals
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @defgroup cpu_cc13x2_definitions TI CC13x2 definitions
|
|
||||||
* @ingroup cpu_cc13x2
|
|
||||||
* @brief Texas Instruments CC13x2 specific defines
|
|
||||||
*/
|
|
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup cpu_cc13x2
|
* @ingroup cpu_cc26x2_cc13x2
|
||||||
* @{
|
* @{
|
||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
@ -23,7 +23,7 @@
|
|||||||
#include "periph/init.h"
|
#include "periph/init.h"
|
||||||
#include "stdio_base.h"
|
#include "stdio_base.h"
|
||||||
|
|
||||||
#include "cc13x2_prcm.h"
|
#include "cc26x2_cc13x2_prcm.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize the CPU, set IRQ priorities
|
* @brief Initialize the CPU, set IRQ priorities
|
17
cpu/cc26x2_cc13x2/doc.txt
Normal file
17
cpu/cc26x2_cc13x2/doc.txt
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
/**
|
||||||
|
* @defgroup cpu_cc26x2_cc13x2 TI CC26x2, CC13x2
|
||||||
|
* @ingroup cpu
|
||||||
|
* @brief Texas Instruments CC26x2, CC13x2 Cortex-M4F MCU specific code
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup cpu_cc26x2_cc13x2_peripheral_memory_map TI CC26x2, CC13x2 peripheral memory map
|
||||||
|
* @ingroup cpu
|
||||||
|
* @brief Texas Instruments CC26x2, CC13x2 memory mappings for peripherals
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup cpu_cc26x2_cc13x2_definitions TI CC26x2, CC13x2 definitions
|
||||||
|
* @ingroup cpu_cc26x2_cc13x2
|
||||||
|
* @brief Texas Instruments CC26x2, CC13x2 specific defines
|
||||||
|
*/
|
@ -7,15 +7,15 @@
|
|||||||
* details.
|
* details.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* @ingroup cpu_cc13x2_definitions
|
* @ingroup cpu_cc26x2_cc13x2_definitions
|
||||||
* @{
|
* @{
|
||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @brief CC13x2 AUX register definitions
|
* @brief CC26x2, CC13x2 AUX register definitions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CC13X2_AUX_H
|
#ifndef CC26X2_CC13X2_AUX_H
|
||||||
#define CC13X2_AUX_H
|
#define CC26X2_CC13X2_AUX_H
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
@ -341,6 +341,6 @@ typedef struct {
|
|||||||
} /* end extern "C" */
|
} /* end extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CC13X2_AUX_H */
|
#endif /* CC26X2_CC13X2_AUX_H */
|
||||||
|
|
||||||
/** @}*/
|
/** @}*/
|
@ -6,15 +6,15 @@
|
|||||||
* details.
|
* details.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* @ingroup cpu_cc13x2_definitions
|
* @ingroup cpu_cc26x2_cc13x2_definitions
|
||||||
* @{
|
* @{
|
||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @brief CC13x2 FCFG register definitions
|
* @brief CC26x2, CC13x2 FCFG register definitions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CC13X2_FCFG_H
|
#ifndef CC26X2_CC13X2_FCFG_H
|
||||||
#define CC13X2_FCFG_H
|
#define CC26X2_CC13X2_FCFG_H
|
||||||
|
|
||||||
#include <cc26xx_cc13xx.h>
|
#include <cc26xx_cc13xx.h>
|
||||||
|
|
||||||
@ -142,6 +142,6 @@ typedef struct {
|
|||||||
} /* end extern "C" */
|
} /* end extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CC13X2_FCFG_H */
|
#endif /* CC26X2_CC13X2_FCFG_H */
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
@ -7,15 +7,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup cpu_cc13x2_definitions
|
* @ingroup cpu_cc26x2_cc13x2_definitions
|
||||||
* @{
|
* @{
|
||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @brief CC13x2 PRCM register definitions
|
* @brief CC26x2, CC13x2 PRCM register definitions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CC13X2_PRCM_H
|
#ifndef CC26X2_CC13X2_PRCM_H
|
||||||
#define CC13X2_PRCM_H
|
#define CC26X2_CC13X2_PRCM_H
|
||||||
|
|
||||||
#include <cc26xx_cc13xx.h>
|
#include <cc26xx_cc13xx.h>
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ typedef struct {
|
|||||||
#define DDI_0_OSC_CTL0_XTAL_IS_24M 0x80000000
|
#define DDI_0_OSC_CTL0_XTAL_IS_24M 0x80000000
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/** @ingroup cpu_cc13x2_peripheral_memory_map
|
/** @ingroup cpu_cc26x2_cc13x2_peripheral_memory_map
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#define DDI0_OSC_BASE 0x400CA000 /**< DDI0_OSC base address */
|
#define DDI0_OSC_BASE 0x400CA000 /**< DDI0_OSC base address */
|
||||||
@ -232,6 +232,6 @@ typedef struct {
|
|||||||
} /* end extern "C" */
|
} /* end extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CC13X2_PRCM_H */
|
#endif /* CC26X2_CC13X2_PRCM_H */
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup cpu_cc13x2
|
* @addtogroup cpu_cc26x2_cc13x2
|
||||||
* @{
|
* @{
|
||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
@ -24,9 +24,9 @@
|
|||||||
#define __FPU_PRESENT 1U /**< Presence of FPU */
|
#define __FPU_PRESENT 1U /**< Presence of FPU */
|
||||||
#include "cpu_conf_cc26xx_cc13xx.h"
|
#include "cpu_conf_cc26xx_cc13xx.h"
|
||||||
|
|
||||||
#include "cc13x2_aux.h"
|
#include "cc26x2_cc13x2_aux.h"
|
||||||
#include "cc13x2_fcfg.h"
|
#include "cc26x2_cc13x2_fcfg.h"
|
||||||
#include "cc13x2_prcm.h"
|
#include "cc26x2_cc13x2_prcm.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup cpu_cc13x2
|
* @ingroup cpu_cc26x2_cc13x2
|
||||||
* @{
|
* @{
|
||||||
*
|
*
|
||||||
* @file
|
* @file
|
@ -4,7 +4,7 @@
|
|||||||
* @brief Common code for TI cc26xx/cc13xx family
|
* @brief Common code for TI cc26xx/cc13xx family
|
||||||
*
|
*
|
||||||
* This module contains code common to all cc26xx/cc13xx cpus
|
* This module contains code common to all cc26xx/cc13xx cpus
|
||||||
* supported by RIOT: @ref cpu_cc26x0, @ref cpu_cc13x2
|
* supported by RIOT: @ref cpu_cc26x0, @ref cpu_cc26x2_cc13x2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -14,6 +14,6 @@
|
|||||||
* @brief Common definitions for TI cc26xx/cc13xx family
|
* @brief Common definitions for TI cc26xx/cc13xx family
|
||||||
*
|
*
|
||||||
* This module contains definitions common to all cc26xx/cc13xx cpus
|
* This module contains definitions common to all cc26xx/cc13xx cpus
|
||||||
* supported by RIOT: @ref cpu_cc26x0, @ref cpu_cc13x2
|
* supported by RIOT: @ref cpu_cc26x0, @ref cpu_cc26x2_cc13x2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup cpu_cc13x2_definitions
|
* @ingroup cpu_cc26xx_cc13xx_definitions
|
||||||
* @{
|
* @{
|
||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @brief CC13x2 MCU interrupt definitions
|
* @brief CC26xx, CC13xx definitions
|
||||||
*
|
*
|
||||||
* @author Leon M. George <leon@georgemail.eu>
|
* @author Leon M. George <leon@georgemail.eu>
|
||||||
* @author Anton Gerasimov <tossel@gmail.com>
|
* @author Anton Gerasimov <tossel@gmail.com>
|
||||||
|
Loading…
Reference in New Issue
Block a user