Skip to content

Commit

Permalink
Add some performance flags for X20 and raspberry pi
Browse files Browse the repository at this point in the history
  • Loading branch information
peteallenm committed Mar 16, 2024
1 parent 58d3470 commit 8b53828
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ EXTRA_CFLAGS += -Wno-cast-function-type
EXTRA_CFLAGS += -Wno-date-time
EXTRA_CFLAGS += -Wno-misleading-indentation
EXTRA_CFLAGS += -Wno-uninitialized

####EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
EXTRA_CFLAGS += -DCONFIG_USB_TX_AGGREGATION
CFLAGS += -Wno-declaration-after-statement
# Relax some warnings from '-Wextra' so we won't get flooded with warnings
EXTRA_CFLAGS += -Wno-sign-compare
Expand Down Expand Up @@ -716,6 +719,9 @@ endif
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
#EXTRA_CFLAGS += -DCONFIG_XMIT_THREAD_MODE # Currently appears not to work, but could be helpful
EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_TX
EXTRA_CFLAGS += -DCONFIG_REDUCE_USB_TX_INT
ARCH ?= arm
CROSS_COMPILE ?=
KVER ?= $(shell uname -r)
Expand Down

0 comments on commit 8b53828

Please sign in to comment.