Skip to content

Commit

Permalink
Merge pull request cleanflight#2641 from cleanflight/betaflight-master
Browse files Browse the repository at this point in the history
Merge betaflight master changes
  • Loading branch information
hydra committed Mar 6, 2017
2 parents ba26f7e + dfad9c4 commit d778ae9
Show file tree
Hide file tree
Showing 838 changed files with 1,150,752 additions and 1,118 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ make/local.mk

mcu.mak
mcu.mak.old
stm32.mak
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ install:
- make arm_sdk_install

before_script:
- tools/gcc-arm-none-eabi-6_2-2016q4/bin/arm-none-eabi-gcc --version
- tools/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc --version
- clang --version
- clang++ --version

Expand Down
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ COMMON_SRC = \
drivers/serial_escserial.c \
drivers/sonar_hcsr04.c \
drivers/vtx_common.c \
drivers/transponder_ir.c \
flight/navigation.c \
io/dashboard.c \
io/displayport_max7456.c \
Expand All @@ -671,6 +672,7 @@ COMMON_SRC = \
io/gps.c \
io/ledstrip.c \
io/osd.c \
io/transponder_ir.c \
sensors/sonar.c \
sensors/barometer.c \
telemetry/telemetry.c \
Expand Down Expand Up @@ -815,7 +817,7 @@ STM32F10x_COMMON_SRC = \
drivers/dma.c \
drivers/gpio_stm32f10x.c \
drivers/inverter.c \
drivers/light_ws2811strip_stm32f10x.c \
drivers/light_ws2811strip_stdperiph.c \
drivers/serial_uart_stm32f10x.c \
drivers/system_stm32f10x.c \
drivers/timer_stm32f10x.c
Expand All @@ -826,8 +828,8 @@ STM32F30x_COMMON_SRC = \
drivers/bus_i2c_stm32f30x.c \
drivers/dma.c \
drivers/gpio_stm32f30x.c \
drivers/light_ws2811strip_stm32f30x.c \
drivers/pwm_output_stm32f3xx.c \
drivers/light_ws2811strip_stdperiph.c \
drivers/pwm_output_dshot.c \
drivers/serial_uart_stm32f30x.c \
drivers/system_stm32f30x.c \
drivers/timer_stm32f30x.c
Expand All @@ -840,8 +842,8 @@ STM32F4xx_COMMON_SRC = \
drivers/dma_stm32f4xx.c \
drivers/gpio_stm32f4xx.c \
drivers/inverter.c \
drivers/light_ws2811strip_stm32f4xx.c \
drivers/pwm_output_stm32f4xx.c \
drivers/light_ws2811strip_stdperiph.c \
drivers/pwm_output_dshot.c \
drivers/serial_uart_stm32f4xx.c \
drivers/system_stm32f4xx.c \
drivers/timer_stm32f4xx.c
Expand Down Expand Up @@ -878,7 +880,7 @@ else ifeq ($(TARGET),$(filter $(TARGET),$(F1_TARGETS)))
TARGET_SRC := $(STARTUP_SRC) $(STM32F10x_COMMON_SRC) $(TARGET_SRC)
endif

ifneq ($(filter GYROFFT,$(FEATURES)),)
ifneq ($(filter $(TARGET),$(F4_TARGETS) $(F7_TARGETS)),)
DSPLIB := $(ROOT)/lib/main/DSP_Lib
DEVICE_FLAGS += -DARM_MATH_CM4 -DARM_MATH_MATRIX_CHECK -DARM_MATH_ROUNDING -D__FPU_PRESENT=1 -DUNALIGNED_SUPPORT_DISABLE

Expand Down
2 changes: 1 addition & 1 deletion lib/main/CMSIS/CM4/CoreSupport/arm_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -5215,7 +5215,7 @@ void arm_rfft_fast_f32(
#pragma GCC diagnostic ignored "-Wpedantic"
/* saturate the output */
out = (q15_t) (__SSAT((acc >> 15), 16));
#pragma GCC diagnostic push
#pragma GCC diagnostic pop

/* Update state */
S->state[1] = S->state[0];
Expand Down
Loading

0 comments on commit d778ae9

Please sign in to comment.