Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rpi-4b-blink/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ TOOLSROOT := $(REPOROOT)/Tools
TOOLSET := $(TOOLSROOT)/Toolsets/rpi-5-elf.json
LLVM_OBJCOPY := llvm-objcopy
SWIFT_BUILD := swift build
BUILD_SYSTEM := native

# Flags
ARCH := aarch64
TARGET := $(ARCH)-none-none-elf
SWIFT_BUILD_ARGS := \
--build-system $(BUILD_SYSTEM) \
--configuration release \
--triple $(TARGET) \
--toolset $(TOOLSET)
Expand Down
2 changes: 2 additions & 0 deletions rpi-5-blink/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ TOOLSROOT := $(REPOROOT)/Tools
TOOLSET := $(TOOLSROOT)/Toolsets/rpi-5-elf.json
LLVM_OBJCOPY := llvm-objcopy
SWIFT_BUILD := swift build
BUILD_SYSTEM := native

# Flags
ARCH := aarch64
TARGET := $(ARCH)-none-none-elf
SWIFT_BUILD_ARGS := \
--build-system $(BUILD_SYSTEM) \
--configuration release \
--triple $(TARGET) \
--toolset $(TOOLSET)
Expand Down
2 changes: 2 additions & 0 deletions rpi-pico-blink/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ TOOLSROOT := $(REPOROOT)/Tools
TOOLSET := $(TOOLSROOT)/Toolsets/pico.json
MACHO2UF2 := $(TOOLSROOT)/macho2uf2.py
SWIFT_BUILD := swift build
BUILD_SYSTEM := native

# Flags
PICO_FAMILY := rp2040
ARCH := armv6m
TARGET := $(ARCH)-apple-none-macho
SWIFT_BUILD_ARGS := \
--build-system $(BUILD_SYSTEM) \
--configuration release \
--triple $(TARGET) \
--toolset $(TOOLSET)
Expand Down
2 changes: 2 additions & 0 deletions rpi-pico2-neopixel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ TOOLSROOT := $(REPOROOT)/Tools
TOOLSET := $(TOOLSROOT)/Toolsets/pico2.json
MACHO2UF2 := $(TOOLSROOT)/macho2uf2.py
SWIFT_BUILD := swift build
BUILD_SYSTEM := native

# Setup tools and build flags
ARCH := armv7em
TARGET := $(ARCH)-apple-none-macho
SWIFT_BUILD_ARGS := \
--build-system $(BUILD_SYSTEM) \
--configuration release \
--triple $(TARGET) \
--toolset $(TOOLSET)
Expand Down
2 changes: 2 additions & 0 deletions stm32-lvgl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ ELF2HEX := $(TOOLSROOT)/elf2hex.py
SWIFT_BUILD := swift build
NM := nm
LLVM_TOOLCHAIN := $(PWD)/llvm-toolchain
BUILD_SYSTEM := native

# Flags
ARCH := armv7em
TARGET := $(ARCH)-none-none-eabi
SWIFT_BUILD_ARGS := \
--build-system $(BUILD_SYSTEM) \
--configuration release \
--triple $(TARGET) \
--toolset $(TOOLSET) \
Expand Down
2 changes: 2 additions & 0 deletions stm32-neopixel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ TOOLSROOT := $(REPOROOT)/Tools
TOOLSET := $(TOOLSROOT)/Toolsets/stm32f74x.json
MACHO2BIN := $(TOOLSROOT)/macho2bin.py
SWIFT_BUILD := swift build
BUILD_SYSTEM := native

# Flags
ARCH := armv7em
TARGET := $(ARCH)-apple-none-macho
SWIFT_BUILD_ARGS := \
--build-system $(BUILD_SYSTEM) \
--configuration release \
--triple $(TARGET) \
--toolset $(TOOLSET)
Expand Down
2 changes: 2 additions & 0 deletions stm32-uart-echo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ TOOLSROOT := $(REPOROOT)/Tools
TOOLSET := $(TOOLSROOT)/Toolsets/stm32f74x.json
MACHO2BIN := $(TOOLSROOT)/macho2bin.py
SWIFT_BUILD := swift build
BUILD_SYSTEM := native

# Flags
ARCH := armv7em
TARGET := $(ARCH)-apple-none-macho
SWIFT_BUILD_ARGS := \
--build-system $(BUILD_SYSTEM) \
--configuration release \
--triple $(TARGET) \
--toolset $(TOOLSET)
Expand Down
Loading