Skip to content
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

Added the import of wallpaper from .png format #12

Open
wants to merge 115 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
5dce37a
Added the import of wallpaper from .png format
Lauryy06 Jul 6, 2021
4ff9c4c
Added an error message if the device does not have enough free space
Lauryy06 Jul 8, 2021
d9fbe6f
Merge branch 'Omega-Numworks:master' into master
Lauryy06 Sep 14, 2021
f652d61
Added CHIP-8
ArtichOwO Sep 14, 2021
175163f
[CHIP-8] Backspace now resets the rom execution
ArtichOwO Sep 14, 2021
31e9f44
[CHIP-8] A bit more clear GUI
ArtichOwO Sep 14, 2021
083ebbb
Merge pull request #1 from ArtichOwO/master
Lauryy06 Sep 15, 2021
f2f8d0c
Merge branch 'error-message'
Lauryy06 Sep 15, 2021
f2e97bb
Added normalization of .txt files
Lauryy06 Sep 25, 2021
a0b1931
Added cropper for wallpapers
Lauryy06 Oct 10, 2021
b51f446
Remove CNAME
Lauryy06 Oct 10, 2021
1b3e321
Fix bug with cropper.min.css
Lauryy06 Oct 11, 2021
ef39f9f
Fix a bug when cancel cropping wallpaper
Lauryy06 Oct 11, 2021
d3fc4ce
Remove useless message for wallpaper input
Lauryy06 Nov 18, 2021
aa00b03
Updated file selector to can support multiple files at one upload (#3)
Yaya-Cout Dec 1, 2021
33fa47c
Update to python3 (#4)
Yaya-Cout Dec 16, 2021
e31eb26
Fix typo and apply Upsilon branding (#5)
Lisra-git Jan 19, 2022
4c1e477
Reader fix (#7)
Yaya-Cout Mar 11, 2022
435fedb
Update README.MD
LukasMFR Apr 3, 2022
4bb9602
Delete app.icon
LukasMFR Apr 3, 2022
cfee902
Delete icon.png
LukasMFR Apr 3, 2022
b3d546c
Add files via upload
LukasMFR Apr 3, 2022
562e9fa
Delete app.icon
LukasMFR Apr 3, 2022
4946637
Delete icon.png
LukasMFR Apr 3, 2022
3273471
Add files via upload
LukasMFR Apr 3, 2022
cd2562a
Delete app.icon
LukasMFR Apr 3, 2022
212ef7d
Delete icon.png
LukasMFR Apr 3, 2022
82e669c
Add files via upload
LukasMFR Apr 3, 2022
c69fd51
Specified which app icons are "fixed"
LukasMFR Apr 4, 2022
210e357
Update README.MD
LukasMFR Apr 4, 2022
e76d7a2
Added Example app
LukasMFR Apr 10, 2022
4739130
Added UnitCircle
LukasMFR Apr 10, 2022
6543377
Deleted Example
LukasMFR Apr 10, 2022
01a609a
Added UnitCircle
LukasMFR Apr 10, 2022
9ed87f0
Added UnitCircle
LukasMFR Apr 10, 2022
cb43b24
Removed UnitCircle from Makefile
LukasMFR Apr 10, 2022
9dfbbee
Removed UnitCircle from apps.js
LukasMFR Apr 10, 2022
071fe81
Removed UnitCircle folder
LukasMFR Apr 10, 2022
9ac8299
Deleted BadApple
LukasMFR Apr 10, 2022
67344d2
Added UnitCircle app as BadApple
LukasMFR Apr 10, 2022
a228f8b
Changed BadApple descriptions to Unit circle
LukasMFR Apr 10, 2022
1da8a1c
[Makefile] Changed BadApple to UnitCircle
LukasMFR Apr 10, 2022
d661996
[apps.js] Changed BadApple to UnitCircle
LukasMFR Apr 10, 2022
22cecba
Deleted BadApple folder to add UnitCircle
LukasMFR Apr 10, 2022
9b104ea
Added UnitCircle folder
LukasMFR Apr 10, 2022
bacd9e5
Delete icon.png
LukasMFR Apr 10, 2022
63087d3
Delete app.icon
LukasMFR Apr 10, 2022
84fdcaf
Added UnitCircle app icons
LukasMFR Apr 10, 2022
ad4865b
Removed to update the app
LukasMFR Apr 10, 2022
02f0c6f
Added app.elf
LukasMFR Apr 10, 2022
9150b6c
To update
LukasMFR Apr 10, 2022
196b30e
Updated file
LukasMFR Apr 10, 2022
bf190da
Removed for update
LukasMFR Apr 10, 2022
9fcddb9
Added the "circle"
LukasMFR Apr 10, 2022
51e1b4a
Removed for update
LukasMFR Apr 10, 2022
39ccae5
Modified unit circle with - and |
LukasMFR Apr 10, 2022
b9e4bb3
Removed for update
LukasMFR Apr 10, 2022
40ae10e
Added values like 1/2
LukasMFR Apr 10, 2022
9c2c2b1
Delete app.elf
LukasMFR Apr 10, 2022
978bcf0
Test Small Font for 1/2...
LukasMFR Apr 10, 2022
53149b8
Re upload
LukasMFR Apr 10, 2022
4d0e82a
Reuploade
LukasMFR Apr 10, 2022
9202b21
For update
LukasMFR Apr 10, 2022
c564623
Test small font
LukasMFR Apr 10, 2022
6bb9fb4
for update
LukasMFR Apr 10, 2022
f6bc3a7
Fixed size
LukasMFR Apr 10, 2022
63fef8c
update
LukasMFR Apr 10, 2022
e5b3f9b
Removed useless views
LukasMFR Apr 10, 2022
2c12543
fix upload
LukasMFR Apr 10, 2022
ffbc3fd
Just to fix the uploa
LukasMFR Apr 10, 2022
4e4e245
for update
LukasMFR Apr 10, 2022
9ee5bcd
Should now return to home screen after Unit Circle
LukasMFR Apr 10, 2022
b9fd02b
Added about UnitCircle
LukasMFR Apr 10, 2022
8103f41
update
LukasMFR Apr 12, 2022
8733982
New app icon
LukasMFR Apr 12, 2022
d2432b4
For new icon
LukasMFR Apr 12, 2022
a6df7af
For new icon
LukasMFR Apr 12, 2022
82a6a78
New app icon without border
LukasMFR Apr 12, 2022
40ad8bf
for update
LukasMFR Apr 12, 2022
e2c580e
for update
LukasMFR Apr 12, 2022
3a11b32
for update
LukasMFR Apr 12, 2022
c97e9ae
Changed icon and fix pixel shift
LukasMFR Apr 12, 2022
cabf1d7
For update
LukasMFR Apr 12, 2022
fbdd02b
For update
LukasMFR Apr 12, 2022
d787e87
For update
LukasMFR Apr 12, 2022
6e93a93
New app icon
LukasMFR Apr 12, 2022
ad6a80e
FOr update
LukasMFR Apr 12, 2022
2ede6da
Yellow BG
LukasMFR Apr 12, 2022
c6ab650
Should be faster
LukasMFR Apr 13, 2022
e54d85b
Changed title size
LukasMFR Apr 13, 2022
d5d7ce6
Fixes title and in caps now
LukasMFR Apr 13, 2022
40925a8
Revert back to old title
LukasMFR Apr 13, 2022
977634a
Added updated sources
LukasMFR Apr 13, 2022
531398c
Fix π-x and π+x stuff
LukasMFR Apr 15, 2022
7b1d44f
Updated KhiCAS
Lauryy06 Apr 29, 2022
7cc1ba9
End of updating KhiCAS
Lauryy06 Apr 29, 2022
7a63a2d
Merge remote-tracking branch 'Lukas/master'
LukasMFR Apr 29, 2022
042d0f4
Updated website
Lauryy06 Apr 29, 2022
016846d
Updated external api
Lauryy06 Apr 29, 2022
fd6a519
Warning when flash is locked
Lauryy06 May 2, 2022
74e145a
Fix link to upsilon website
Lauryy06 May 7, 2022
8de1f21
Add example application, documentation and improve external applicati…
May 7, 2022
27a4cb0
[apps] Add C++ example app (#12)
May 11, 2022
abb237d
[docs/Example] Add simulator support in the Example apps and in the d…
May 21, 2022
fcdf6e4
[Website] Add unable to claim interface and too much data warning (#14)
Jun 11, 2022
0e5394d
Add Docker for building, CI, update KhiCAS and add SDK installation d…
Jul 1, 2022
c00ffb7
[apps/Peanut-GB] Add palette and zoom support (#22)
Yaya-Cout Feb 17, 2023
9c157f7
Fix GitHub Pages deployment
Jul 11, 2023
ca93103
[CI] Run APT update
Jul 11, 2023
2e515b8
[JS] Add dynamic Erase and Install button instead of install
Sep 21, 2023
f037682
[apps/Peanut-GB] Add CGB support (#29)
babeuh Nov 4, 2023
f6f0ae2
[apps/Peanut-GB] Move GBC into another app
Jan 18, 2024
ac7bafc
[apps/Flash2Ram] Create File2Ram app
Yaya-Cout Apr 8, 2024
b7bed26
Add PngBrowser (#32)
Oiha-dev May 12, 2024
46537b5
[JS] Add stats support
Yaya-Cout Sep 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
166 changes: 166 additions & 0 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
name: Continuous integration
#on: [pull_request, push]
on:
push:
pull_request:
workflow_dispatch:

jobs:
KhiCAS:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make -C apps/KhiCAS cleanall
- run: make KhiCAS_rebuild
- run: ./tool/archive KhiCAS.tar KhiCAS
- uses: actions/upload-artifact@master
with:
name: KhiCAS
path: KhiCAS.tar
BadApple:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make BadApple_rebuild
- run: ./tool/archive BadApple.tar BadApple
- uses: actions/upload-artifact@master
with:
name: BadApple
path: BadApple.tar
CHIP-8:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make CHIP-8_rebuild
- run: ./tool/archive CHIP-8.tar CHIP-8
- uses: actions/upload-artifact@master
with:
name: CHIP-8
path: CHIP-8.tar
Example:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make Example_rebuild
- run: ./tool/archive Example.tar Example
- uses: actions/upload-artifact@master
with:
name: Example
path: Example.tar
Example-Cpp:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make Example-Cpp_rebuild
- run: ./tool/archive Example-Cpp.tar Example-Cpp
- uses: actions/upload-artifact@master
with:
name: Example-Cpp
path: Example-Cpp.tar
Flash2Ram:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make Flash2Ram_rebuild
- run: ./tool/archive Flash2Ram.tar Flash2Ram
- uses: actions/upload-artifact@master
with:
name: Flash2Ram
path: Flash2Ram.tar
HexEdit:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make HexEdit_rebuild
- run: ./tool/archive HexEdit.tar HexEdit
- uses: actions/upload-artifact@master
with:
name: HexEdit
path: HexEdit.tar
Nofrendo:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make Nofrendo_rebuild
- run: ./tool/archive Nofrendo.tar Nofrendo
- uses: actions/upload-artifact@master
with:
name: Nofrendo
path: Nofrendo.tar
Peanut-GB:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make Peanut-GB_rebuild
- run: ./tool/archive Peanut-GB.tar Peanut-GB
- uses: actions/upload-artifact@master
with:
name: Peanut-GB
path: Peanut-GB.tar
Periodic:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make Periodic_rebuild
- run: ./tool/archive Periodic.tar Periodic
- uses: actions/upload-artifact@master
with:
name: Periodic
path: Periodic.tar
UnitCircle:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y

- uses: actions/checkout@v1
with:
submodules: true
- run: make UnitCircle_rebuild
- run: ./tool/archive UnitCircle.tar UnitCircle
- uses: actions/upload-artifact@master
with:
name: UnitCircle
path: UnitCircle.tar

env:
ACCEPT_OFFICIAL_TOS: 1
41 changes: 41 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
41 changes: 41 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,45 @@ server.pem
*.tar
api/libapi.a
apps/nofrendo/epsilon/rom.c
apps/KhiCAS/src/include/*.h
apps/KhiCAS/libgiac_simulator.a
apps/KhiCAS/src/gmp*/**/Makefile
apps/KhiCAS/src/mpfr*/configure
apps/KhiCAS/src/mpfr*/**/Makefile
apps/KhiCAS/src/mpfr*/**/Makefile.in
apps/KhiCAS/src/mpfi*/**/Makefile.in
apps/KhiCAS/src/mpfi*/configure
apps/KhiCAS/src/mpfi*/mpfr_config.h.in
apps/KhiCAS/src/mpfi*/mpfr_config.h.in~
apps/KhiCAS/src/mpfr*/configure~
apps/KhiCAS/src/mpfi*/**/Makefile
apps/KhiCAS/src/mpfi*/mpfi_config.h.in
apps/KhiCAS/src/mpfi*/mpfi_config.h
apps/KhiCAS/src/mpfi*/stamp-h1
apps/KhiCAS/src/gmp*/demos/pexpr-config.h
apps/KhiCAS/src/gmp*/mpn/*.c
apps/KhiCAS/src/gmp*/config.h
apps/KhiCAS/src/gmp*/config.m4
apps/KhiCAS/src/gmp*/fac_table.h
apps/KhiCAS/src/gmp*/fib_table.h
apps/KhiCAS/src/gmp*/gen-*
!apps/KhiCAS/src/gmp*/gen-*.c
apps/KhiCAS/src/gmp*/gmp-mparam.h
apps/KhiCAS/src/gmp*/gmp.h
apps/KhiCAS/src/gmp*/mp_bases.h
apps/KhiCAS/src/gmp*/stamp-h1
apps/KhiCAS/src/gmp*/trialdivtab.h
*.tmp
*.log
*.P
*.Po
*.Plo
*.a
*.lo
*.la
*.lai
**/autom4te.cache/
**/config.status
*.pc
**/libtool
**/aclocal.m4
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Define base image
FROM ubuntu:latest
# Setup commands
RUN apt-get update
RUN apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
# We won't use add or copy, because we want to use the Dockerfile only to build the app, while editing the app from the host
# Define the working directory
WORKDIR /External
# Open a shell, to let the user execute commands
CMD ["/bin/bash"]
49 changes: 27 additions & 22 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,37 +1,42 @@
apps.tar: apps/KhiCAS/app.elf apps/Periodic/app.elf apps/Nofrendo/app.elf apps/Peanut-GB/app.elf apps/HexEdit/app.elf apps/BadApple/app.elf
./archive $@ $^

flash: apps.tar
dfu-util -i 0 -a 0 -s 0x90200000 -D $^
.PHONY: %_flash
%_flash: %_rebuild
./tool/archive apps.tar $@
@echo "Waiting for the calculator to be connected, use the bootloader to flash on Upsilon if your app is bigger than 2MB"
@until dfu-util -l | grep -E "0483:a291|0483:df11" > /dev/null 2>&1; do sleep 2;done
dfu-util -i 0 -a 0 -s 0x90200000 -D apps.tar

.PHONY: %_rebuild
%_rebuild: api/libapi.a
@echo "Rebuilding..."
# Because the Makefile can't interpret the `%` operator, we have
# to use the following command to rebuild the application.
./tool/rebuild.sh $@

.PHONE: %_clean
%_clean:
@echo "Cleaning..."
rm -rf apps.tar
rm -rf api/libapi.a
./tool/clean.sh $@

api/libapi.a:
make -C api

apps/Periodic/app.elf: api/libapi.a
make -C apps/Periodic

apps/Peanut-GB/app.elf: api/libapi.a
make -C apps/Peanut-GB

apps/KhiCAS/app.elf: api/libapi.a
make -C apps/KhiCAS

apps/Nofrendo/app.elf: api/libapi.a
make -C apps/Nofrendo

apps/HexEdit/app.elf: api/libapi.a
make -C apps/HexEdit

apps/BadApple/app.elf: api/libapi.a
make -C apps/BadApple
apps/%/app.elf: api/libapi.a
make -C apps/$@

clean:
@echo "make clean is deprecated, use make app-name_clean instead"
rm -f apps.tar
make -C api clean
make -C apps/Periodic clean
make -C apps/KhiCAS clean
make -C apps/Nofrendo clean
make -C apps/Peanut-GB clean
make -C apps/HexEdit clean
make -C apps/UnitCircle clean
make -C apps/BadApple clean
make -C apps/CHIP-8 clean
make -C apps/Example clean
make -C apps/Example-Cpp clean

26 changes: 20 additions & 6 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,39 @@ the "external" application and an API for accessing base functionality of epsilo

The modified sources can be found here : https://github.com/Delta-NumWorks/delta/tree/external

# If something goes wrong
## Developer info

To create a new application, go to [the external applications creation guide](docs/new-app.md)

## If something goes wrong

Reinstall Omega from https://getomega.dev/, doing a device recovery from there if necessary.

# Included applications
## Included applications

## KhiCAS
### KhiCAS

The port included here is a port from the delta firmware : https://github.com/Delta-NumWorks/delta/tree/delta

## Periodic
### Periodic

This is a port of https://github.com/M4xi1m3/nw-atom

## Nofrendo
### Nofrendo

This is a port of Nofrendo from https://www.baisoku.org/

# Developer info
### Unit Circle

A simple app showing an unit circle for trigonometry

### CHIP-8

This is a port of CHIP-8 from https://github.com/f0lg0/CHIP-8

### PngBrowser

An application that allows you to view PNG files https://github.com/Oiha-dev/PngBrowser

## Technical concepts

Expand Down
Loading