Skip to content

Commit 55974f3

Browse files
committed
Added sunxi fex
1 parent 8a328c3 commit 55974f3

File tree

7 files changed

+60
-0
lines changed

7 files changed

+60
-0
lines changed

LICENSES/Unlicense.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Unlicense (Public Domain)
2+
============================
3+
4+
This is free and unencumbered software released into the public domain.
5+
6+
Anyone is free to copy, modify, publish, use, compile, sell, or
7+
distribute this software, either in source code form or as a compiled
8+
binary, for any purpose, commercial or non-commercial, and by any
9+
means.
10+
11+
In jurisdictions that recognize copyright laws, the author or authors
12+
of this software dedicate any and all copyright interest in the
13+
software to the public domain. We make this dedication for the benefit
14+
of the public at large and to the detriment of our heirs and
15+
successors. We intend this dedication to be an overt act of
16+
relinquishment in perpetuity of all present and future rights to this
17+
software under copyright law.
18+
19+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
23+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25+
OTHER DEALINGS IN THE SOFTWARE.
26+
27+
For more information, please refer to &lt;<https://unlicense.org/>&gt;

firmware/sunxi_fex/ReadMe.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2021 KOLANICH
3+
4+
SPDX-License-Identifier: Unlicense
5+
-->
6+
7+
## test.fex & test.fex.bin
8+
9+
Example files of sunxi fex format.
10+
11+
Source: own work

firmware/sunxi_fex/generate.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env sh
2+
3+
# SPDX-FileCopyrightText: 2021 KOLANICH
4+
# SPDX-License-Identifier: Unlicense
5+
6+
./sunxi-fexc -I fex -O bin test.fex test.fex.bin

firmware/sunxi_fex/test.fex

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[test]
2+
kaitai = "struct"
3+
version = 100500
4+
is_awesome =
5+
6+
[ports]
7+
python = port:PA01<1><2><3><4>
8+
js = port:PB01<1><2><3><default>
9+
scala = port:PC01<1><2><default><default>
10+
java = port:PD01<1><default><default><default>
11+
rust = port:power1<default><default><default><default>
12+

firmware/sunxi_fex/test.fex.bin

552 Bytes
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: 2021 KOLANICH
2+
SPDX-License-Identifier: Unlicense
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: 2021 KOLANICH
2+
SPDX-License-Identifier: Unlicense

0 commit comments

Comments
 (0)