forked from Omega-Numworks/Omega
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TI-Nspire support #131
Draft
shezik
wants to merge
17
commits into
UpsilonNumworks:upsilon-dev
Choose a base branch
from
shezik:upsilon-dev
base: upsilon-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
ee08d8e
Add Nspire support
shezik 3fe28aa
Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev
shezik f3579af
Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev
shezik 0c2256e
Add Makefile rules for Nspire
shezik d771422
Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev
shezik 6039383
Fix Nspire makefile, remove n2DLib framebuffer dependency
shezik de142cd
Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev
shezik 24a9624
Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev
shezik 08bbb9d
Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev
shezik 7690a41
Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev
shezik e505e48
[Nspire] Invert screen color on B/W models
shezik f04c2b1
[Nspire] Resolve msleep() dead loop
shezik 08c4aef
Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev
shezik c78bce7
Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev
shezik 15be094
[Nspire] Update readme
shezik db6cd47
[Nspire] Handle keypad press
shezik 6c9c098
Merge branch 'upsilon-dev' of github.com:shezik/Upsilon into upsilon-dev
shezik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
TOOLCHAIN = nspire-gcc | ||
EXE = elf | ||
|
||
EPSILON_TELEMETRY ?= 0 | ||
|
||
HANDY_TARGETS_EXTENSIONS = tns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ZEHNFLAGS = --name "epsilon" | ||
|
||
$(BUILD_DIR)/%.tns: $(BUILD_DIR)/%.elf | ||
$(GENZEHN) --input $^ --output $@ $(ZEHNFLAGS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CC = nspire-gcc | ||
CXX = nspire-g++ | ||
LD = nspire-ld | ||
GDB = arm-none-eabi-gdb | ||
OBJCOPY = arm-none-eabi-objcopy | ||
SIZE = arm-none-eabi-size | ||
AS = nspire-as | ||
GENZEHN = genzehn | ||
|
||
SFLAGS += -U__STRICT_ANSI__ -D_NSPIRE -marm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
The sdl directory contains a snapshot of the SDL source code at revision | ||
13105:db9d0d0b7ebc | ||
|
||
The n2DLib directory contains a fork of n2DLib at https://github.com/gameblabla/n2DLib with prefix 'GRAFX_' attached to macro 'min' and 'max' | ||
|
||
Note that parts of SDL source code are also copied into the path | ||
ion/src/simulator/android/src/java because Gradle expects Java code to live | ||
there... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
undefine sdl_src | ||
undefine ion_simulator_sdl_src | ||
|
||
sdl_src += $(addprefix ion/src/simulator/external/n2DLib/, \ | ||
n2DLib.c \ | ||
) | ||
|
||
SFLAGS += -Iion/src/simulator/external/n2DLib |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you add
<br>
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
must be a relic of a mix between markdown and HTML