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

Add 8MB flash board #435

Merged
merged 1 commit into from
Mar 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions boards/fujinet-v1-8mb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"build": {
"arduino":{
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_ESP32_DEV",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"variant": "esp32",
"partitions": "fujinet_partitions_8MB.csv"
},
"connectivity": [
"wifi",
"bluetooth",
"ethernet",
"can"
],
"debug": {
"default_tool": "ftdi",
"onboard_tools": [
"ftdi"
],
"openocd_board": "esp-wrover.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "#FujiNet v1 8MB",
"upload": {
"flash_size": "8MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"protocols": [
"esptool",
"espota",
"ftdi"
],
"require_upload_port": true,
"speed": 460800
},
"url": "https://github.com/FujiNetWIFI/atariwifi",
"vendor": "FujiNet Project"
}
11 changes: 11 additions & 0 deletions fujinet_partitions_8MB.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Name, Type, SubType, Offset, Size, Flags
#
#nvs 36,864 to 57,344 : size 20,480
#otdata 57,344 to 65,536 : size 8,192
#app0 65,536 to 6,291,456 : size 6,225,920
#spiffs 6,291,456 to 8,388,608 : size 2,097,152
#
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x5F0000,
spiffs, data, spiffs, 0x600000,0x200000,
14 changes: 14 additions & 0 deletions platformio-sample - Copy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ build_flags =
;-D VERBOSE_DISK
;-D VERBOSE_ATX

; ESP32 WROVER (8MB Flash, 8MB PSRAM) based FujiNet
[env:fujinet-v1-8mb]
board = fujinet-v1-8mb
build_type = debug
build_flags =
;-D JTAG
-D DEBUG_SPEED=921600
-D BLUETOOTH_SUPPORT
;-D FN_HISPEED_INDEX=0
;-D VERBOSE_SIO
;-D VERBOSE_TNFS
;-D VERBOSE_DISK
;-D VERBOSE_ATX

; ESP32 WROVER (4MB Flash, 8MB PSRAM) based FujiNet
[env:fujinet-v1-4mb]
board = fujinet-v1-4mb
Expand Down