sn32: platform definition updates (#35)
* sn32: fix platform names * sn32: Introduce board specific name definition * sn32: update mcu family naming
This commit is contained in:
parent
cda95f33c7
commit
68a138c41d
|
@ -35,7 +35,7 @@
|
|||
* @name Platform identification macros
|
||||
* @{
|
||||
*/
|
||||
#define PLATFORM_NAME "SN32F240x"
|
||||
#define PLATFORM_NAME "SN32F24x"
|
||||
/** @} */
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* @file sn32_registry.h
|
||||
* @brief SN32F24xx capabilities registry.
|
||||
* @file SN32F240/sn32_registry.h
|
||||
* @brief SN32F24x capabilities registry.
|
||||
*
|
||||
* @addtogroup HAL
|
||||
* @{
|
||||
|
@ -25,8 +25,9 @@
|
|||
#ifndef SN32_REGISTRY_H
|
||||
#define SN32_REGISTRY_H
|
||||
|
||||
#if !defined(SN32F24xx) || defined(__DOXYGEN__)
|
||||
#define SN32F24xx
|
||||
/* Common identifier of all SN32F2xx devices.*/
|
||||
#if !defined(SN32F2xx) || defined(__DOXYGEN__)
|
||||
#define SN32F2xx
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
@ -34,10 +35,15 @@
|
|||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @name SN32F24xx capabilities
|
||||
* @name SN32F24x capabilities
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* Common identifier of all SN32F24x devices.*/
|
||||
#if !defined(SN32F240) || defined(__DOXYGEN__)
|
||||
#define SN32F240
|
||||
#endif
|
||||
|
||||
/*
|
||||
* ST unit
|
||||
*/
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* @name Platform identification macros
|
||||
* @{
|
||||
*/
|
||||
#define PLATFORM_NAME "SN32F240x"
|
||||
#define PLATFORM_NAME "SN32F24xB"
|
||||
/** @} */
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* @file SN32F24xx/sn32_registry.h
|
||||
* @brief SN32F24xx capabilities registry.
|
||||
* @file SN32F240B/sn32_registry.h
|
||||
* @brief SN32F24xB capabilities registry.
|
||||
*
|
||||
* @addtogroup HAL
|
||||
* @{
|
||||
|
@ -25,8 +25,9 @@
|
|||
#ifndef SN32_REGISTRY_H
|
||||
#define SN32_REGISTRY_H
|
||||
|
||||
#if !defined(SN32F24xx) || defined(__DOXYGEN__)
|
||||
#define SN32F24xx
|
||||
/* Common identifier of all SN32F2xx devices.*/
|
||||
#if !defined(SN32F2xx) || defined(__DOXYGEN__)
|
||||
#define SN32F2xx
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
@ -34,10 +35,15 @@
|
|||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @name SN32F24xx capabilities
|
||||
* @name SN32F24xB capabilities
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* Common identifier of all SN32F24xB devices.*/
|
||||
#if !defined(SN32F240B) || defined(__DOXYGEN__)
|
||||
#define SN32F240B
|
||||
#endif
|
||||
|
||||
/*
|
||||
* ST unit
|
||||
*/
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* @file sn32_registry.h
|
||||
* @file SN32F260/sn32_registry.h
|
||||
* @brief SN32F26x capabilities registry.
|
||||
*
|
||||
* @addtogroup HAL
|
||||
|
@ -25,14 +25,9 @@
|
|||
#ifndef SN32_REGISTRY_H
|
||||
#define SN32_REGISTRY_H
|
||||
|
||||
// There is some usage of SN32F24xx in:
|
||||
// - qmk_firmware/tmk_core/protocol/chibios/main.c
|
||||
// - qmk_firmware/tmk_core/common/chibios/suspend.c
|
||||
// - qmk_firmware/tmk_core/common/chibios/sleep_led.c
|
||||
// But it is me not really clear what this does.
|
||||
// SN32F24x and SN32F24xB both have this defines, so also define it here I guess
|
||||
#if !defined(SN32F24xx) || defined(__DOXYGEN__)
|
||||
#define SN32F24xx
|
||||
/* Common identifier of all SN32F2xx devices.*/
|
||||
#if !defined(SN32F2xx) || defined(__DOXYGEN__)
|
||||
#define SN32F2xx
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
@ -44,6 +39,11 @@
|
|||
* @{
|
||||
*/
|
||||
|
||||
/* Common identifier of all SN32F26x devices.*/
|
||||
#if !defined(SN32F260) || defined(__DOXYGEN__)
|
||||
#define SN32F260
|
||||
#endif
|
||||
|
||||
/*
|
||||
* ST unit
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue