This reverts commit de3c42125b
.
This commit is contained in:
parent
1efc79063c
commit
4c625d8286
3 changed files with 6 additions and 12 deletions
|
@ -12,7 +12,9 @@ HEX = $(OBJCOPY) -O $(FORMAT) -R .eeprom -R .fuse -R .lock -R .signature
|
|||
EEP = $(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O $(FORMAT)
|
||||
BIN =
|
||||
|
||||
COMPILEFLAGS += $(call cc-option, --param=min-pagesize=0)
|
||||
ifeq ("$(shell echo "int main(){}" | $(CC) --param=min-pagesize=0 -x c - -o /dev/null 2>&1)", "")
|
||||
COMPILEFLAGS += --param=min-pagesize=0
|
||||
endif
|
||||
|
||||
COMPILEFLAGS += -funsigned-char
|
||||
COMPILEFLAGS += -funsigned-bitfields
|
||||
|
|
|
@ -476,9 +476,6 @@ HEX = $(OBJCOPY) -O $(FORMAT)
|
|||
EEP =
|
||||
BIN = $(OBJCOPY) -O binary
|
||||
|
||||
# disable warning about RWX triggered by ChibiOS linker scripts
|
||||
SHARED_LDFLAGS += $(call cc-option, -Wl$(,)--no-warn-rwx-segments)
|
||||
|
||||
##############################################################################
|
||||
# Make targets
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue