diff options
| -rw-r--r-- | os/ports/RC/STM8/chcore.h | 14 | ||||
| -rw-r--r-- | os/ports/cosmic/STM8/chcore.h | 14 | 
2 files changed, 24 insertions, 4 deletions
diff --git a/os/ports/RC/STM8/chcore.h b/os/ports/RC/STM8/chcore.h index 4de8bea54..07b7fa0b6 100644 --- a/os/ports/RC/STM8/chcore.h +++ b/os/ports/RC/STM8/chcore.h @@ -39,7 +39,7 @@   * @brief   Enables the use of the WFI instruction in the idle thread loop.
   */
  #ifndef STM8_ENABLE_WFI_IDLE
 -#define STM8_ENABLE_WFI_IDLE    FALSE
 +#define STM8_ENABLE_WFI_IDLE            FALSE
  #endif
  /*===========================================================================*/
 @@ -54,7 +54,17 @@  /**
   * @brief   Name of the implemented architecture.
   */
 -#define CH_ARCHITECTURE_NAME    "STM8"
 +#define CH_ARCHITECTURE_NAME            "STM8"
 +
 +/**
 + * @brief   Name of the compiler supported by this port.
 + */
 +#define CH_COMPILER_NAME                "Raisonance"
 +
 +/**
 + * @brief   Port-specific information string.
 + */
 +#define CH_PORT_INFO                    "None"
  /*===========================================================================*/
  /* Port implementation part.                                                 */
 diff --git a/os/ports/cosmic/STM8/chcore.h b/os/ports/cosmic/STM8/chcore.h index e154b8914..93a4c24f0 100644 --- a/os/ports/cosmic/STM8/chcore.h +++ b/os/ports/cosmic/STM8/chcore.h @@ -37,7 +37,7 @@   * @brief   Enables the use of the WFI instruction in the idle thread loop.
   */
  #ifndef STM8_ENABLE_WFI_IDLE
 -#define STM8_ENABLE_WFI_IDLE    FALSE
 +#define STM8_ENABLE_WFI_IDLE            FALSE
  #endif
  /*===========================================================================*/
 @@ -52,7 +52,17 @@  /**
   * @brief   Name of the implemented architecture.
   */
 -#define CH_ARCHITECTURE_NAME    "STM8"
 +#define CH_ARCHITECTURE_NAME            "STM8"
 +
 +/**
 + * @brief   Name of the compiler supported by this port.
 + */
 +#define CH_COMPILER_NAME                "Cosmic"
 +
 +/**
 + * @brief   Port-specific information string.
 + */
 +#define CH_PORT_INFO                    "None"
  /*===========================================================================*/
  /* Port implementation part.                                                 */
  | 
