Skip to content

Commit 7caddc9

Browse files
committed
add license
1 parent d6eb703 commit 7caddc9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+129
-0
lines changed

IchigoJam_BASIC/basic.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __BASIC_H__
24
#define __BASIC_H__
35

IchigoJam_BASIC/error.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __ERROR_H__
24
#define __ERROR_H__
35

IchigoJam_BASIC/ext_iot.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __IOT_H__
24
#define __IOT_H__
35

IchigoJam_BASIC/ext_morse.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#define ASCIIMORSE_LEN 63
24
#define ASCIIMORSE_MIN 33
35
#define ASCIIMORSE_MAX 95

IchigoJam_BASIC/ichigojam-jp.fnt.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __LANG_JP__
24
#define __LANG_JP__
35
#if VER_PLATFORM == PLATFORM_LPC1114

IchigoJam_BASIC/ichigojam-mn.fnt.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __LANG_MN__
24
#define __LANG_MN__
35
#if VER_PLATFORM == PLATFORM_LPC1114

IchigoJam_BASIC/ichigojam-vi.fnt.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __LANG_VI__
24
#define __LANG_VI__
35
#if VER_PLATFORM == PLATFORM_LPC1114

IchigoJam_BASIC/ichigojam-zh.fnt.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __LANG_ZH__
24
#define __LANG_ZH__
35
#if VER_PLATFORM == PLATFORM_LPC1114

IchigoJam_BASIC/lang.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __LANG_H__
24
#define __LANG_H__
35

IchigoJam_BASIC/main.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
//#define VERSION15
24

35
#ifdef VERSION15

IchigoJam_BASIC/psg.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __PSG_H__
24
#define __PSG_H__
35

IchigoJam_BASIC/ram.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
// IchigoJam RAM
24
#ifndef __RAM_H__
35
#define __RAM_H__

IchigoJam_BASIC/random.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __RANDOM_H__
24
#define __RANDOM_H__
35

IchigoJam_BASIC/romajikana.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __ROMAJIKANA_H__
24
#define __ROMAJIKANA_H__
35

IchigoJam_BASIC/screen.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __SCREEN_H__
24
#define __SCREEN_H__
35

IchigoJam_BASIC/stddef.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#define LANG_ALL 0 // all
24
#define LANG_JP 1 // Japan
35
#define LANG_MN 2 // Mongol

IchigoJam_BASIC/tokens_v1.4.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#define N_TOKEN 130
24
#define TOKEN_NULL 0
35
#define TOKEN_VAR 1

IchigoJam_BASIC/tokens_v1.5.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#define N_TOKEN 132
24
#define TOKEN_NULL 0
35
#define TOKEN_VAR 1

IchigoJam_BASIC/vars.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
// 24804
24
// 24736 // randam
35
// 24700 // main

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2014-2024 the IchigoJam authors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+9

SPRESENSE/README.md

+5

SPRESENSE/build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/sh
2+
3+
# Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
4+
25
USER=$(whoami)
36
OBJ=obj
47

SPRESENSE/src/config.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __CONFIG_H__
24
#define __CONFIG_H__
35

SPRESENSE/src/display.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#include "SPI.h"
24
#include "Adafruit_GFX.h"
35
#include "Adafruit_ILI9341.h"

SPRESENSE/src/ext_ws.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __EXT_WS_H__
24
#define __EXT_WS_H__
35

SPRESENSE/src/extension.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#include "audioplayer.h"
24

35
#define TOKEN_SPR_PLAY 1000

SPRESENSE/src/flashstorage.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#include <File.h>
24

35
extern SDClass theSD;

SPRESENSE/src/io.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
INLINE void IJB_pwm(int port, int plen, int len);
24
INLINE void pwm_off(int port);
35
void io_init();

SPRESENSE/src/keyboard.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __KEYBOARD_H__
24
#define __KEYBOARD_H__
35

SPRESENSE/src/psg.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
inline void psg_init() {
24
}
35
inline void psg_tick() {

SPRESENSE/src/sound.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
inline void sound_init();
24
void sound_on();
35
void sound_off();

SPRESENSE/src/system.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#include <Arduino.h>
24
//#include <Watchdog.h>
35

SPRESENSE/src/usr.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
inline int IJB_usr(int ad, int n);
24

35
inline int IJB_usr(int ad, int n) {

SPRESENSE/write.sh

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/sh
2+
3+
# Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
4+
25
USBSERIAL=/dev/cu.usbserial-110
36
#USBSERIAL=/dev/cu.usbserial-10
47
BPS=230400

console/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
# Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
all:
24
gcc -std=c99 -DC99 -I../IchigoJam_BASIC -I./src/ ../IchigoJam_BASIC/main.c

console/README.md

+4

console/src/config.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __CONFIG_H__
24
#define __CONFIG_H__
35

console/src/display.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
void video_on() {
24
SCREEN_W = 32;
35
SCREEN_H = 24;

console/src/ext_ws.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __EXT_WS_H__
24
#define __EXT_WS_H__
35

console/src/extension.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#define TOKEN_LOG 1000
24

35
void extension_init() {

console/src/flashstorage.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
void flash_init() {
24
}
35
inline int IJB_file() {

console/src/io.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
/*INLINE*/ void IJB_pwm(int port, int plen, int len);
24
INLINE void pwm_off(int port);
35
void io_init();

console/src/keyboard.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#ifndef __KEYBOARD_H__
24
#define __KEYBOARD_H__
35

console/src/psg.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
inline void psg_init() {
24
}
35
inline void psg_tick() {

console/src/sound.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
inline void sound_init();
24
void sound_on();
35
void sound_off();

console/src/system.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
#include <unistd.h>
24

35
void system_init();

console/src/usr.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2014-2024 the IchigoJam authors. All rights reserved. MIT license.
2+
13
inline int IJB_usr(int ad, int n);
24

35
inline int IJB_usr(int ad, int n) {

0 commit comments

Comments
 (0)