Skip to content

Commit

Permalink
Removed more compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebiroll committed May 22, 2019
1 parent 25d71a0 commit bea84c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lib_deps = system_utils, obme280, wakeup
platform = ststm32
board = rak811
framework=cmsis
build_flags = -g -fno-builtin -D STM32L151xB -D STM32L151CBU6 -D REGION_EU868 -D USE_HAL_DRIVER -std=gnu99 -I lib/wakeup -I lib/crypto -I lib/radio -I lib/radio/sx1276 -I src/mac -I src/usb/dfu/inc -I src/mac/region -I lib/system_utils/crypto -I src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Inc/ -I src/boards/mcu/stm32/STM32_USB_Device_Library/Class/CDC/Inc/ -I src/usb/cdc/inc -I src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/ -I src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ -I src/peripherals/ -I src/boards/mcu/stm32/ -I src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc -I src/RAK811BreakBoard/cmsis/ -I src/RAK811BreakBoard/ -IRAK811_BreakBoard/src -I lib/system_utils -I RAK811_BreakBoard/src/boards/RAK811BreakBoard -I RAK811_BreakBoard/src/boards/RAK811BreakBoard/cmsis -I .piolibdeps/mbed-dev_ID2491/targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device/ -I RAK811_BreakBoard/src/boards/mcu/stm32/cmsis/ -I RAK811_BreakBoard/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc -I RAK811_BreakBoard/src/boards/mcu/stm32 -I RAK811_BreakBoard/src/system/ -I RAK811_BreakBoard/src/radio -I RAK811_BreakBoard/src/peripherals/ -I RAK811_BreakBoard/src/mac -I RAK811_BreakBoard/src/mac/region/
build_flags = -g -fno-builtin -D STM32L151xB -D STM32L151CBU6 -D REGION_EU868 -D USE_HAL_DRIVER -std=gnu99 -I src -I lib/wakeup -I lib/crypto -I lib/radio -I lib/radio/sx1276 -I src/mac -I src/usb/dfu/inc -I src/mac/region -I lib/system_utils/crypto -I src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Inc/ -I src/boards/mcu/stm32/STM32_USB_Device_Library/Class/CDC/Inc/ -I src/usb/cdc/inc -I src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/ -I src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ -I src/peripherals/ -I src/boards/mcu/stm32/ -I src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc -I src/RAK811BreakBoard/cmsis/ -I src/RAK811BreakBoard/ -IRAK811_BreakBoard/src -I lib/system_utils -I RAK811_BreakBoard/src/boards/RAK811BreakBoard -I RAK811_BreakBoard/src/boards/RAK811BreakBoard/cmsis -I .piolibdeps/mbed-dev_ID2491/targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device/ -I RAK811_BreakBoard/src/boards/mcu/stm32/cmsis/ -I RAK811_BreakBoard/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc -I RAK811_BreakBoard/src/boards/mcu/stm32 -I RAK811_BreakBoard/src/system/ -I RAK811_BreakBoard/src/radio -I RAK811_BreakBoard/src/peripherals/ -I RAK811_BreakBoard/src/mac -I RAK811_BreakBoard/src/mac/region/

[env:wistrio]
lib_dir = lib
Expand All @@ -30,4 +30,4 @@ lib_deps = system_utils, obme280, wakeup
platform = ststm32
board = rak811
framework=cmsis
build_flags = -g -fno-builtin -D WISTRIO -D STM32L151xB -D STM32L151CBU6 -D REGION_EU868 -D USE_HAL_DRIVER -std=gnu99 -I lib/wakeup -I lib/crypto -I lib/radio -I lib/radio/sx1276 -I src/mac -I src/usb/dfu/inc -I src/mac/region -I lib/system_utils/crypto -I src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Inc/ -I src/boards/mcu/stm32/STM32_USB_Device_Library/Class/CDC/Inc/ -I src/usb/cdc/inc -I src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/ -I src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ -I src/peripherals/ -I src/boards/mcu/stm32/ -I src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc -I src/RAK811BreakBoard/cmsis/ -I src/RAK811BreakBoard/ -IRAK811_BreakBoard/src -I lib/system_utils -I RAK811_BreakBoard/src/boards/RAK811BreakBoard -I RAK811_BreakBoard/src/boards/RAK811BreakBoard/cmsis -I .piolibdeps/mbed-dev_ID2491/targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device/ -I RAK811_BreakBoard/src/boards/mcu/stm32/cmsis/ -I RAK811_BreakBoard/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc -I RAK811_BreakBoard/src/boards/mcu/stm32 -I RAK811_BreakBoard/src/system/ -I RAK811_BreakBoard/src/radio -I RAK811_BreakBoard/src/peripherals/ -I RAK811_BreakBoard/src/mac -I RAK811_BreakBoard/src/mac/region/
build_flags = -g -fno-builtin -D WISTRIO -D STM32L151xB -D STM32L151CBU6 -D REGION_EU868 -D USE_HAL_DRIVER -std=gnu99 -I src -I lib/wakeup -I lib/crypto -I lib/radio -I lib/radio/sx1276 -I src/mac -I src/usb/dfu/inc -I src/mac/region -I lib/system_utils/crypto -I src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Inc/ -I src/boards/mcu/stm32/STM32_USB_Device_Library/Class/CDC/Inc/ -I src/usb/cdc/inc -I src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/ -I src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ -I src/peripherals/ -I src/boards/mcu/stm32/ -I src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc -I src/RAK811BreakBoard/cmsis/ -I src/RAK811BreakBoard/ -IRAK811_BreakBoard/src -I lib/system_utils -I RAK811_BreakBoard/src/boards/RAK811BreakBoard -I RAK811_BreakBoard/src/boards/RAK811BreakBoard/cmsis -I .piolibdeps/mbed-dev_ID2491/targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device/ -I RAK811_BreakBoard/src/boards/mcu/stm32/cmsis/ -I RAK811_BreakBoard/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc -I RAK811_BreakBoard/src/boards/mcu/stm32 -I RAK811_BreakBoard/src/system/ -I RAK811_BreakBoard/src/radio -I RAK811_BreakBoard/src/peripherals/ -I RAK811_BreakBoard/src/mac -I RAK811_BreakBoard/src/mac/region/
1 change: 1 addition & 0 deletions src/RAK811BreakBoard/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Maintainer: Miguel Luis and Gregory Cristian
#include "rtc-board.h"
#include "sx1276-board.h"
#include "uart-board.h"
#include "swo.h"

#if defined( USE_USB_CDC )
#include "uart-usb-board.h"
Expand Down

0 comments on commit bea84c1

Please sign in to comment.