Skip to content

Commit 17b9053

Browse files
authored
Merge branch 'master' into fix/allow-tabs-in-assembly
2 parents c3bddb8 + 67f9ce7 commit 17b9053

File tree

375 files changed

+34328
-12153
lines changed

Some content is hidden

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

375 files changed

+34328
-12153
lines changed

.github/workflows/autobuild.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,15 @@ jobs:
2020
runs-on: "ubuntu-latest"
2121
strategy:
2222
matrix:
23-
target-platform: [ATARI, ATARI-esp32-s3-wroom-1-n16r8, ADAM, APPLE, IEC-LOLIN-D32, IEC-NUGGET, COCO]
23+
target-platform:
24+
- ADAM
25+
- APPLE
26+
- ATARI
27+
- ATARI-esp32-s3-wroom-1-n16r8
28+
- COCO
29+
- IEC-LOLIN-D32
30+
- IEC-NUGGET
31+
- RS232
2432

2533
steps:
2634
- name: Checkout Source
@@ -72,3 +80,9 @@ jobs:
7280

7381
- name: Build release
7482
run: cd "$GITHUB_WORKSPACE" && /usr/bin/bash ./build.sh -z -l "$GITHUB_WORKSPACE"/.github/workflows/platformio.release-${{ matrix.target-platform }}.ini -i "$GITHUB_WORKSPACE"/platformio-generated.ini
83+
84+
- name: Upload firmware zip for ${{ matrix.target-platform }}
85+
uses: actions/upload-artifact@v4
86+
with:
87+
name: ${{ matrix.target-platform }}
88+
path: firmware/**

.github/workflows/check-formatting.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: "ubuntu-latest"
1313
strategy:
1414
matrix:
15-
target-platform: [ATARI, ADAM, APPLE, IEC-LOLIN-D32, IEC-NUGGET, COCO, MASTERIES-REVAB, MASTERIES-REVA-SPIFIX, RS232]
15+
target-platform: [ATARI, ATARI-8mb, ADAM, APPLE, IEC-LOLIN-D32, IEC-NUGGET, COCO, MASTERIES-REVAB, MASTERIES-REVA-SPIFIX, RS232]
1616

1717
steps:
1818
- name: Checkout Source

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,16 @@ jobs:
1717
runs-on: "ubuntu-latest"
1818
strategy:
1919
matrix:
20-
target-platform: [ATARI, ATARI-8mb, ADAM, APPLE, COCO, IEC-LOLIN-D32, MASTERIES-REVAB, MASTERIES-REVA-SPIFIX]
20+
target-platform:
21+
- ADAM
22+
- APPLE
23+
- ATARI
24+
- ATARI-8mb
25+
- COCO
26+
- IEC-LOLIN-D32
27+
- MASTERIES-REVA-SPIFIX
28+
- MASTERIES-REVAB
29+
- RS232
2130
env:
2231
TAG_NAME: ${{ github.event.inputs.tag || github.ref_name }}
2332

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@ fujinet_releases/*
5959
*.orig
6060
*.rej
6161
*.lst
62+
63+
# espressif managed components
64+
managed_components

Makefile

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SHELL=/bin/bash -o pipefail
22

33
define builder
4-
./build.sh $1 | sed -e 's/\033[[][0-9][0-9]*m//g'
4+
./build.sh $1 2>&1 | sed -e 's/'$$'\033''[[][0-9][0-9]*m//g'
55
endef
66

77
.PHONY: upload uploadfs build all
@@ -18,8 +18,23 @@ build:
1818
all:
1919
$(call builder, -a)
2020

21-
pc:
22-
$(call builder, -p APPLE)
21+
zip:
22+
$(call builder, -z)
23+
24+
atari-lwm:
25+
$(call builder, -p ATARI -g)
26+
27+
coco-lwm:
28+
$(call builder, -p COCO -g)
29+
30+
rs232-lwm:
31+
$(call builder, -p RS232 -g)
32+
33+
apple-lwm:
34+
$(call builder, -p APPLE -g)
35+
36+
pico-de-coco:
37+
make -C pico/coco/build
2338

2439
clean:
2540
$(call builder, -c)

boards/esp32-s3-xdrive-n4r2.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"ldscript": "esp32s3_out.ld"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DBOARD_HAS_PSRAM",
9+
"-DARDUINO_USB_MODE=1",
10+
"-DARDUINO_USB_CDC_ON_BOOT=1"
11+
],
12+
"f_cpu": "240000000L",
13+
"f_flash": "80000000L",
14+
"flash_mode": "qio",
15+
"mcu": "esp32s3",
16+
"variant": "esp32s3",
17+
"partitions": "fujinet_partitions_4MB_noupdate.csv"
18+
},
19+
"connectivity": [
20+
"wifi"
21+
],
22+
"debug": {
23+
"openocd_target": "esp32s3.cfg"
24+
},
25+
"frameworks": [
26+
"espidf"
27+
],
28+
"name": "ESP32-S3-XDRIVE N4R2",
29+
"upload": {
30+
"flash_size": "4MB",
31+
"maximum_ram_size": 327680,
32+
"maximum_size": 4194304,
33+
"use_1200bps_touch": true,
34+
"wait_for_upload_port": true,
35+
"require_upload_port": true,
36+
"speed": 460800
37+
},
38+
"url": "https://github.com/FujiNetWIFI/fujinet-firmware",
39+
"vendor": "FujiNet Project"
40+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[fujinet]
2+
build_platform = BUILD_ATARI
3+
build_bus = SIO
4+
build_board = fujinet-atari-esp32-s3-xdrive-n4r2
5+
6+
[env:fujinet-atari-esp32-s3-xdrive-n4r2]
7+
platform = espressif32@${fujinet.esp32_platform_version}
8+
platform_packages = ${fujinet.esp32_platform_packages}
9+
board = esp32-s3-xdrive-n4r2
10+
build_type = debug
11+
build_flags =
12+
${env.build_flags}
13+
-D PINMAP_ESP32S3_XDRIVE
14+
board_build.partitions = fujinet_partitions_4MB_noupdate.csv
15+

build-platforms/platformio-fujinet-coco-devkitc.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build_board = fujinet-coco-devkitc
77
upload_port = /dev/ttyUSB0
88
upload_speed = 460800
99
monitor_port = /dev/ttyUSB0
10-
monitor_speed = 115200
10+
monitor_speed = 460800
1111

1212
[env:fujinet-coco-devkitc]
1313
platform = espressif32@${fujinet.esp32_platform_version}

build_firmwarezip.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,25 @@ def makezip(source, target, env):
252252
"offset": "0xA70000"
253253
}
254254
]
255+
elif config[environment]['board'] == "esp32-s3-xdrive-n4r2":
256+
json_contents['files'] += [
257+
{
258+
"filename": "bootloader.bin",
259+
"offset": "0x0000"
260+
},
261+
{
262+
"filename": "partitions.bin",
263+
"offset": "0x8000"
264+
},
265+
{
266+
"filename": "firmware.bin",
267+
"offset": "0x10000"
268+
},
269+
{
270+
"filename": "littlefs.bin",
271+
"offset": "0x250000"
272+
}
273+
]
255274
# Save Release JSON
256275
with open('firmware/release.json', 'w') as f:
257276
f.write(json.dumps(json_contents, indent=4))

0 commit comments

Comments
 (0)