mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
11
build/platform.simulator.nspire.mak
Normal file
11
build/platform.simulator.nspire.mak
Normal file
@@ -0,0 +1,11 @@
|
||||
TOOLCHAIN = nspire-gcc
|
||||
EXE = elf
|
||||
|
||||
EPSILON_TELEMETRY ?= 0
|
||||
|
||||
HANDY_TARGETS_EXTENSIONS = tns
|
||||
|
||||
USE_LIBA = 0
|
||||
POINCARE_TREE_LOG = 0
|
||||
|
||||
SFLAGS := $(filter-out -fPIE, $(SFLAGS))
|
||||
6
build/targets.simulator.nspire.mak
Normal file
6
build/targets.simulator.nspire.mak
Normal file
@@ -0,0 +1,6 @@
|
||||
$(BUILD_DIR)/%.tns: $(BUILD_DIR)/%.elf
|
||||
# comment one of these lines. For B&W old nspire, do not use the compress option
|
||||
genzehn --compress --input $(BUILD_DIR)/epsilon.elf --output upsilon.tns --name "upsilon" --uses-lcd-blit true
|
||||
# genzehn --input $(BUILD_DIR)/epsilon.elf --output upsilon.tns --name "upsilon" --uses-lcd-blit true
|
||||
genzehn --info --input upsilon.tns
|
||||
firebird-send upsilon.tns /ndless
|
||||
9
build/toolchain.nspire-gcc.mak
Normal file
9
build/toolchain.nspire-gcc.mak
Normal file
@@ -0,0 +1,9 @@
|
||||
CC = nspire-gcc
|
||||
CXX = nspire-g++
|
||||
LD = nspire-g++
|
||||
GDB = gdb
|
||||
OBJCOPY = nspire-objcopy
|
||||
SIZE = nspire-size
|
||||
AS = nspire-as
|
||||
|
||||
SFLAGS += -DNSPIRE_NEWLIB -DSTRING_STORAGE
|
||||
@@ -7,4 +7,4 @@ SIZE = sh-elf-size
|
||||
AS = sh-elf-as
|
||||
FXGXA = fxgxa
|
||||
|
||||
SFLAGS += -D_FXCG -D_BIG_ENDIAN
|
||||
SFLAGS += -D_FXCG -D_BIG_ENDIAN -DSTRING_STORAGE
|
||||
|
||||
Reference in New Issue
Block a user