Skip to content

Commit

Permalink
Release v1.05
Browse files Browse the repository at this point in the history
- upgraded to HAL FW 1.10.0
- added target-specific configuration
  • Loading branch information
akospasztor committed Oct 30, 2017
2 parents c6e6b62 + 5c29804 commit 8b93b66
Show file tree
Hide file tree
Showing 21 changed files with 1,142 additions and 1,067 deletions.
4 changes: 2 additions & 2 deletions Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@
#endif /* USE_HAL_DRIVER */

/**
* @brief CMSIS Device version number $VERSION$
* @brief CMSIS Device version number
*/
#define __STM32L4_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
#define __STM32L4_CMSIS_VERSION_SUB1 (0x04) /*!< [23:16] sub1 version */
#define __STM32L4_CMSIS_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */
#define __STM32L4_CMSIS_VERSION_SUB2 (0x01) /*!< [15:8] sub2 version */
#define __STM32L4_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
#define __STM32L4_CMSIS_VERSION ((__STM32L4_CMSIS_VERSION_MAIN << 24)\
|(__STM32L4_CMSIS_VERSION_SUB1 << 16)\
Expand Down
444 changes: 223 additions & 221 deletions Drivers/STM32L4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ typedef enum
} while(0)

#define UNUSED(x) ((void)(x))

/** @brief Reset the Handle's State field.
* @param __HANDLE__: specifies the Peripheral Handle.
* @note This macro can be used for the following purpose:
* @note This macro can be used for the following purpose:
* - When the Handle is declared as local variable; before passing it as parameter
* to HAL_PPP_Init() for the first time, it is mandatory to use this macro
* to HAL_PPP_Init() for the first time, it is mandatory to use this macro
* to set to 0 the Handle's "State" field.
* Otherwise, "State" field may have any random value and the first time the function
* Otherwise, "State" field may have any random value and the first time the function
* HAL_PPP_Init() is called, the low level hardware initialization will be missed
* (i.e. HAL_PPP_MspInit() will not be executed).
* - When there is a need to reconfigure the low level hardware: instead of calling
Expand Down Expand Up @@ -123,7 +123,7 @@ typedef enum
}while (0)
#endif /* USE_RTOS */

#if defined ( __GNUC__ )
#if defined ( __GNUC__ ) && !defined (__CC_ARM) /* GNU Compiler */
#ifndef __weak
#define __weak __attribute__((weak))
#endif /* __weak */
Expand All @@ -134,7 +134,7 @@ typedef enum


/* Macro to get variable aligned on 4-bytes, for __ICCARM__ the directive "#pragma data_alignment=4" must be used instead */
#if defined (__GNUC__) /* GNU Compiler */
#if defined ( __GNUC__ ) && !defined (__CC_ARM) /* GNU Compiler */
#ifndef __ALIGN_END
#define __ALIGN_END __attribute__ ((aligned (4)))
#endif /* __ALIGN_END */
Expand Down Expand Up @@ -186,14 +186,14 @@ typedef enum

#endif

/**
/**
* @brief __NOINLINE definition
*/
*/
#if defined ( __CC_ARM ) || defined ( __GNUC__ )
/* ARM & GNUCompiler
----------------
/* ARM & GNUCompiler
----------------
*/
#define __NOINLINE __attribute__ ( (noinline) )
#define __NOINLINE __attribute__ ( (noinline) )

#elif defined ( __ICCARM__ )
/* ICCARM Compiler
Expand Down
2 changes: 1 addition & 1 deletion Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -1642,7 +1642,7 @@ typedef struct

#define __HAL_RCC_GPIOA_IS_CLK_ENABLED() (READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOAEN) != RESET)

#define __HAL_RCC_GPIOB_IS_CLK_ENABLED() (READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOCEN) != RESET)
#define __HAL_RCC_GPIOB_IS_CLK_ENABLED() (READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOBEN) != RESET)

#define __HAL_RCC_GPIOC_IS_CLK_ENABLED() (READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOCEN) != RESET)

Expand Down
Loading

0 comments on commit 8b93b66

Please sign in to comment.