Example for Bluetooth low energy interface
Dependencies: mbed HC_SR04_Ultrasonic_Library
BlueNRG_F4_BSP/inc/cube_hal.h@3:829f081fde15, 2015-05-19 (annotated)
- Committer:
- julientiron
- Date:
- Tue May 19 20:42:25 2015 +0000
- Revision:
- 3:829f081fde15
- Parent:
- 0:3d641e170a74
hihi;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
julientiron | 0:3d641e170a74 | 1 | #ifndef _CUBE_HAL_H_ |
julientiron | 0:3d641e170a74 | 2 | #define _CUBE_HAL_H_ |
julientiron | 0:3d641e170a74 | 3 | /* Includes ------------------------------------------------------------------*/ |
julientiron | 0:3d641e170a74 | 4 | //#ifdef USE_STM32F4XX_NUCLEO |
julientiron | 0:3d641e170a74 | 5 | #include "stm32f4xx_hal.h" |
julientiron | 0:3d641e170a74 | 6 | #include "stm32f4xx_nucleo.h" |
julientiron | 0:3d641e170a74 | 7 | //#else |
julientiron | 0:3d641e170a74 | 8 | //#ifdef USE_STM32L0XX_NUCLEO |
julientiron | 0:3d641e170a74 | 9 | //#include "stm32l0xx_hal.h" |
julientiron | 0:3d641e170a74 | 10 | //#include "stm32l0xx_nucleo.h" |
julientiron | 0:3d641e170a74 | 11 | //#endif |
julientiron | 0:3d641e170a74 | 12 | //#endif |
julientiron | 0:3d641e170a74 | 13 | |
julientiron | 0:3d641e170a74 | 14 | #ifdef USE_STM32F4XX_NUCLEO |
julientiron | 0:3d641e170a74 | 15 | #include "stm32f4xx_bluenrg_shield_bsp.h" |
julientiron | 0:3d641e170a74 | 16 | #else |
julientiron | 0:3d641e170a74 | 17 | #ifdef USE_STM32L0XX_NUCLEO |
julientiron | 0:3d641e170a74 | 18 | #include "stm32l0xx_bluenrg_shield_bsp.h" |
julientiron | 0:3d641e170a74 | 19 | #endif |
julientiron | 0:3d641e170a74 | 20 | #endif |
julientiron | 0:3d641e170a74 | 21 | |
julientiron | 0:3d641e170a74 | 22 | /* Exported functions --------------------------------------------------------*/ |
julientiron | 0:3d641e170a74 | 23 | void SystemClock_Config(void); |
julientiron | 0:3d641e170a74 | 24 | |
julientiron | 0:3d641e170a74 | 25 | #endif //_CUBE_HAL_H_ |