[Ports] Merge Nspire port and Fxcg improvements

Close #327
This commit is contained in:
Yaya-Cout
2023-06-06 21:25:07 +02:00
parent a124ed72b5
commit 73450419bb
47 changed files with 4139 additions and 28 deletions

View 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))

View 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

View 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

View File

@@ -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