Skip to content

Commit

Permalink
multi: disable array bounds checks
Browse files Browse the repository at this point in the history
JIRA: RTOS-927
  • Loading branch information
badochov committed Sep 27, 2024
1 parent 5c588e7 commit 83a0142
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions multi/grlib-multi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ LOCAL_SRCS := adc.c gpio.c spacewire.c spi.c uart.c grlib-multi.c
LOCAL_HEADERS := grlib-multi.h
DEP_LIBS := libtty libklog libpseudodev libgrdmac2

# FIXME: adapt code to array-bounds checker
LOCAL_CFLAGS := -Wno-array-bounds

include $(binary.mk)
3 changes: 3 additions & 0 deletions multi/imxrt-multi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ DEP_LIBS := libtty libklog libpseudodev i2c-common
LIBS := libdummyfs libklog libpseudodev libposixsrv
LOCAL_HEADERS := imxrt-multi.h

# FIXME: adapt code to array-bounds checker
LOCAL_CFLAGS := -Wno-array-bounds

include $(binary.mk)
4 changes: 4 additions & 0 deletions multi/stm32l1-multi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
NAME := stm32l1-multi
LOCAL_SRCS = stm32l1-multi.c uart.c rcc.c gpio.c adc.c i2c.c lcd.c rtc.c flash.c spi.c exti.c dma.c
LOCAL_HEADERS := stm32l1-multi.h

# FIXME: adapt code to array-bounds checker
LOCAL_CFLAGS := -Wno-array-bounds

include $(binary.mk)
3 changes: 3 additions & 0 deletions multi/stm32l4-multi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ LOCAL_HEADERS := stm32l4-multi.h
DEP_LIBS := libstm32l4-multi libtty libklog
LIBS := libdummyfs libklog libposixsrv

# FIXME: adapt code to array-bounds checker
LOCAL_CFLAGS := -Wno-array-bounds

include $(binary.mk)

0 comments on commit 83a0142

Please sign in to comment.