mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
tools/rp2040: Compile with C++14
This commit is contained in:
committed by
Xiang Xiao
parent
b9345c64c8
commit
422b596987
@@ -24,7 +24,7 @@ default: elf2uf2
|
|||||||
|
|
||||||
# Add CFLAGS=-g on the make command line to build debug versions
|
# Add CFLAGS=-g on the make command line to build debug versions
|
||||||
|
|
||||||
CFLAGS = -O2
|
CFLAGS = -O2 -std=c++14
|
||||||
CFLAGS += -I$(PICO_SDK_PATH)/src/common/boot_uf2/include
|
CFLAGS += -I$(PICO_SDK_PATH)/src/common/boot_uf2/include
|
||||||
|
|
||||||
elf2uf2: $(PICO_SDK_PATH)/tools/elf2uf2/main.cpp
|
elf2uf2: $(PICO_SDK_PATH)/tools/elf2uf2/main.cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user