From d69a5f0f8be20f951e1b052aae3af94203c91ec6 Mon Sep 17 00:00:00 2001 From: Antonio Sapuppo Date: Thu, 5 Oct 2023 14:10:49 +0200 Subject: [PATCH 1/2] added namino bianco board + other fix --- boards.txt | 254 +++++++++++++++++++++++++- variants/namino_bianco/pins_arduino.h | 205 +++++++++++++++++++++ 2 files changed, 449 insertions(+), 10 deletions(-) create mode 100644 variants/namino_bianco/pins_arduino.h diff --git a/boards.txt b/boards.txt index 23952fde19a..23ba014334a 100644 --- a/boards.txt +++ b/boards.txt @@ -25688,15 +25688,13 @@ namino_rosso.menu.PSRAM.opi=OPI PSRAM namino_rosso.menu.PSRAM.opi.build.defines=-DBOARD_HAS_PSRAM namino_rosso.menu.PSRAM.opi.build.psram_type=opi -namino_rosso.menu.PartitionScheme.tinyuf2=TinyUF2 4MB (1.3MB APP/960KB FATFS) -namino_rosso.menu.PartitionScheme.tinyuf2.build.custom_bootloader=bootloader-tinyuf2 -namino_rosso.menu.PartitionScheme.tinyuf2.build.custom_partitions=partitions-4MB-tinyuf2 -namino_rosso.menu.PartitionScheme.tinyuf2.upload.maximum_size=1441792 -namino_rosso.menu.PartitionScheme.tinyuf2.upload.extra_flags=0x2d0000 "{runtime.platform.path}/variants/{build.variant}/tinyuf2.bin" namino_rosso.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) namino_rosso.menu.PartitionScheme.default.build.partitions=default namino_rosso.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS) namino_rosso.menu.PartitionScheme.defaultffat.build.partitions=default_ffat +namino_rosso.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS) +namino_rosso.menu.PartitionScheme.default_8MB.build.partitions=default_8MB +namino_rosso.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336 namino_rosso.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS) namino_rosso.menu.PartitionScheme.minimal.build.partitions=minimal namino_rosso.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS) @@ -25717,6 +25715,21 @@ namino_rosso.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 namino_rosso.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS) namino_rosso.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs namino_rosso.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 +namino_rosso.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FATFS) +namino_rosso.menu.PartitionScheme.fatflash.build.partitions=ffat +namino_rosso.menu.PartitionScheme.fatflash.upload.maximum_size=2097152 +namino_rosso.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS) +namino_rosso.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB +namino_rosso.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728 +namino_rosso.menu.PartitionScheme.rainmaker=RainMaker +namino_rosso.menu.PartitionScheme.rainmaker.build.partitions=rainmaker +namino_rosso.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728 +namino_rosso.menu.PartitionScheme.app5M_fat24M_32MB=32M Flash (4.8MB APP/22MB FATFS) +namino_rosso.menu.PartitionScheme.app5M_fat24M_32MB.build.partitions=large_fat_32MB +namino_rosso.menu.PartitionScheme.app5M_fat24M_32MB.upload.maximum_size=4718592 +namino_rosso.menu.PartitionScheme.app5M_little24M_32MB=32M Flash (4.8MB APP/22MB LittleFS) +namino_rosso.menu.PartitionScheme.app5M_little24M_32MB.build.partitions=large_littlefs_32MB +namino_rosso.menu.PartitionScheme.app5M_little24M_32MB.upload.maximum_size=4718592 namino_rosso.menu.CPUFreq.240=240MHz (WiFi) namino_rosso.menu.CPUFreq.240.build.f_cpu=240000000L @@ -25884,15 +25897,13 @@ namino_arancio.menu.PSRAM.opi=OPI PSRAM namino_arancio.menu.PSRAM.opi.build.defines=-DBOARD_HAS_PSRAM namino_arancio.menu.PSRAM.opi.build.psram_type=opi -namino_arancio.menu.PartitionScheme.tinyuf2=TinyUF2 4MB (1.3MB APP/960KB FATFS) -namino_arancio.menu.PartitionScheme.tinyuf2.build.custom_bootloader=bootloader-tinyuf2 -namino_arancio.menu.PartitionScheme.tinyuf2.build.custom_partitions=partitions-4MB-tinyuf2 -namino_arancio.menu.PartitionScheme.tinyuf2.upload.maximum_size=1441792 -namino_arancio.menu.PartitionScheme.tinyuf2.upload.extra_flags=0x2d0000 "{runtime.platform.path}/variants/{build.variant}/tinyuf2.bin" namino_arancio.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) namino_arancio.menu.PartitionScheme.default.build.partitions=default namino_arancio.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS) namino_arancio.menu.PartitionScheme.defaultffat.build.partitions=default_ffat +namino_arancio.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS) +namino_arancio.menu.PartitionScheme.default_8MB.build.partitions=default_8MB +namino_arancio.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336 namino_arancio.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS) namino_arancio.menu.PartitionScheme.minimal.build.partitions=minimal namino_arancio.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS) @@ -25913,6 +25924,21 @@ namino_arancio.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 namino_arancio.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS) namino_arancio.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs namino_arancio.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 +namino_arancio.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FATFS) +namino_arancio.menu.PartitionScheme.fatflash.build.partitions=ffat +namino_arancio.menu.PartitionScheme.fatflash.upload.maximum_size=2097152 +namino_arancio.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS) +namino_arancio.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB +namino_arancio.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728 +namino_arancio.menu.PartitionScheme.rainmaker=RainMaker +namino_arancio.menu.PartitionScheme.rainmaker.build.partitions=rainmaker +namino_arancio.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728 +namino_arancio.menu.PartitionScheme.app5M_fat24M_32MB=32M Flash (4.8MB APP/22MB FATFS) +namino_arancio.menu.PartitionScheme.app5M_fat24M_32MB.build.partitions=large_fat_32MB +namino_arancio.menu.PartitionScheme.app5M_fat24M_32MB.upload.maximum_size=4718592 +namino_arancio.menu.PartitionScheme.app5M_little24M_32MB=32M Flash (4.8MB APP/22MB LittleFS) +namino_arancio.menu.PartitionScheme.app5M_little24M_32MB.build.partitions=large_littlefs_32MB +namino_arancio.menu.PartitionScheme.app5M_little24M_32MB.upload.maximum_size=4718592 namino_arancio.menu.CPUFreq.240=240MHz (WiFi) namino_arancio.menu.CPUFreq.240.build.f_cpu=240000000L @@ -25985,7 +26011,215 @@ namino_arancio.menu.EraseFlash.all=Enabled namino_arancio.menu.EraseFlash.all.upload.erase_cmd=-e ############################################################## +# Namino Bianco + +namino_bianco.name=Namino Bianco +namino_bianco.vid.0=0x303a +namino_bianco.pid.0=0x1001 + +namino_bianco.bootloader.tool=esptool_py +namino_bianco.bootloader.tool.default=esptool_py + +namino_bianco.upload.tool=esptool_py +namino_bianco.upload.tool.default=esptool_py +namino_bianco.upload.tool.network=esp_ota + +namino_bianco.upload.maximum_size=1310720 +namino_bianco.upload.maximum_data_size=327680 +namino_bianco.upload.flags= +namino_bianco.upload.extra_flags= +namino_bianco.upload.use_1200bps_touch=true +namino_bianco.upload.wait_for_upload_port=true + +namino_bianco.serial.disableDTR=false +namino_bianco.serial.disableRTS=false + +namino_bianco.build.tarch=xtensa +namino_bianco.build.bootloader_addr=0x0 +namino_bianco.build.target=esp32s3 +namino_bianco.build.mcu=esp32s3 +namino_bianco.build.core=esp32 +namino_bianco.build.variant=namino_bianco +namino_bianco.build.board=NAMINO_BIANCO + +namino_bianco.build.usb_mode=0 +namino_bianco.build.cdc_on_boot=1 +namino_bianco.build.msc_on_boot=0 +namino_bianco.build.dfu_on_boot=0 +namino_bianco.build.f_cpu=240000000L +namino_bianco.build.flash_size=4MB +namino_bianco.build.flash_freq=80m +namino_bianco.build.flash_mode=dio +namino_bianco.build.boot=qio +namino_bianco.build.partitions=default +namino_bianco.build.defines= +namino_bianco.build.loop_core= +namino_bianco.build.event_core= +namino_bianco.build.flash_type=qio +namino_bianco.build.psram_type=qspi +namino_bianco.build.memory_type={build.flash_type}_{build.psram_type} + +namino_bianco.menu.LoopCore.1=Core 1 +namino_bianco.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1 +namino_bianco.menu.LoopCore.0=Core 0 +namino_bianco.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0 + +namino_bianco.menu.EventsCore.1=Core 1 +namino_bianco.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1 +namino_bianco.menu.EventsCore.0=Core 0 +namino_bianco.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0 + +namino_bianco.menu.USBMode.default=USB-OTG (TinyUSB) +namino_bianco.menu.USBMode.default.build.usb_mode=0 +namino_bianco.menu.USBMode.hwcdc=Hardware CDC and JTAG +namino_bianco.menu.USBMode.hwcdc.build.usb_mode=1 + +namino_bianco.menu.CDCOnBoot.cdc=Enabled +namino_bianco.menu.CDCOnBoot.cdc.build.cdc_on_boot=1 +namino_bianco.menu.CDCOnBoot.default=Disabled +namino_bianco.menu.CDCOnBoot.default.build.cdc_on_boot=0 + +namino_bianco.menu.MSCOnBoot.default=Disabled +namino_bianco.menu.MSCOnBoot.default.build.msc_on_boot=0 +namino_bianco.menu.MSCOnBoot.msc=Enabled (Requires USB-OTG Mode) +namino_bianco.menu.MSCOnBoot.msc.build.msc_on_boot=1 + +namino_bianco.menu.DFUOnBoot.default=Disabled +namino_bianco.menu.DFUOnBoot.default.build.dfu_on_boot=0 +namino_bianco.menu.DFUOnBoot.dfu=Enabled (Requires USB-OTG Mode) +namino_bianco.menu.DFUOnBoot.dfu.build.dfu_on_boot=1 + +namino_bianco.menu.UploadMode.cdc=USB-OTG CDC (TinyUSB) +namino_bianco.menu.UploadMode.cdc.upload.use_1200bps_touch=true +namino_bianco.menu.UploadMode.cdc.upload.wait_for_upload_port=true +namino_bianco.menu.UploadMode.default=UART0 / Hardware CDC +namino_bianco.menu.UploadMode.default.upload.use_1200bps_touch=false +namino_bianco.menu.UploadMode.default.upload.wait_for_upload_port=false + +namino_bianco.menu.PSRAM.enabled=QSPI PSRAM +namino_bianco.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM +namino_bianco.menu.PSRAM.enabled.build.psram_type=qspi +namino_bianco.menu.PSRAM.disabled=Disabled +namino_bianco.menu.PSRAM.disabled.build.defines= +namino_bianco.menu.PSRAM.disabled.build.psram_type=qspi +namino_bianco.menu.PSRAM.opi=OPI PSRAM +namino_bianco.menu.PSRAM.opi.build.defines=-DBOARD_HAS_PSRAM +namino_bianco.menu.PSRAM.opi.build.psram_type=opi + +namino_bianco.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) +namino_bianco.menu.PartitionScheme.default.build.partitions=default +namino_bianco.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS) +namino_bianco.menu.PartitionScheme.defaultffat.build.partitions=default_ffat +namino_bianco.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS) +namino_bianco.menu.PartitionScheme.default_8MB.build.partitions=default_8MB +namino_bianco.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336 +namino_bianco.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS) +namino_bianco.menu.PartitionScheme.minimal.build.partitions=minimal +namino_bianco.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS) +namino_bianco.menu.PartitionScheme.no_ota.build.partitions=no_ota +namino_bianco.menu.PartitionScheme.no_ota.upload.maximum_size=2097152 +namino_bianco.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS) +namino_bianco.menu.PartitionScheme.noota_3g.build.partitions=noota_3g +namino_bianco.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576 +namino_bianco.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS) +namino_bianco.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat +namino_bianco.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152 +namino_bianco.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS) +namino_bianco.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat +namino_bianco.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576 +namino_bianco.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS) +namino_bianco.menu.PartitionScheme.huge_app.build.partitions=huge_app +namino_bianco.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 +namino_bianco.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS) +namino_bianco.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs +namino_bianco.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 +namino_bianco.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FATFS) +namino_bianco.menu.PartitionScheme.fatflash.build.partitions=ffat +namino_bianco.menu.PartitionScheme.fatflash.upload.maximum_size=2097152 +namino_bianco.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS) +namino_bianco.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB +namino_bianco.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728 +namino_bianco.menu.PartitionScheme.rainmaker=RainMaker +namino_bianco.menu.PartitionScheme.rainmaker.build.partitions=rainmaker +namino_bianco.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728 +namino_bianco.menu.PartitionScheme.app5M_fat24M_32MB=32M Flash (4.8MB APP/22MB FATFS) +namino_bianco.menu.PartitionScheme.app5M_fat24M_32MB.build.partitions=large_fat_32MB +namino_bianco.menu.PartitionScheme.app5M_fat24M_32MB.upload.maximum_size=4718592 +namino_bianco.menu.PartitionScheme.app5M_little24M_32MB=32M Flash (4.8MB APP/22MB LittleFS) +namino_bianco.menu.PartitionScheme.app5M_little24M_32MB.build.partitions=large_littlefs_32MB +namino_bianco.menu.PartitionScheme.app5M_little24M_32MB.upload.maximum_size=4718592 + +namino_bianco.menu.CPUFreq.240=240MHz (WiFi) +namino_bianco.menu.CPUFreq.240.build.f_cpu=240000000L +namino_bianco.menu.CPUFreq.160=160MHz (WiFi) +namino_bianco.menu.CPUFreq.160.build.f_cpu=160000000L +namino_bianco.menu.CPUFreq.80=80MHz (WiFi) +namino_bianco.menu.CPUFreq.80.build.f_cpu=80000000L +namino_bianco.menu.CPUFreq.40=40MHz +namino_bianco.menu.CPUFreq.40.build.f_cpu=40000000L +namino_bianco.menu.CPUFreq.20=20MHz +namino_bianco.menu.CPUFreq.20.build.f_cpu=20000000L +namino_bianco.menu.CPUFreq.10=10MHz +namino_bianco.menu.CPUFreq.10.build.f_cpu=10000000L + +namino_bianco.menu.FlashMode.qio=QIO 80MHz +namino_bianco.menu.FlashMode.qio.build.flash_mode=dio +namino_bianco.menu.FlashMode.qio.build.boot=qio +namino_bianco.menu.FlashMode.qio.build.boot_freq=80m +namino_bianco.menu.FlashMode.qio.build.flash_freq=80m +namino_bianco.menu.FlashMode.qio120=QIO 120MHz +namino_bianco.menu.FlashMode.qio120.build.flash_mode=dio +namino_bianco.menu.FlashMode.qio120.build.boot=qio +namino_bianco.menu.FlashMode.qio120.build.boot_freq=120m +namino_bianco.menu.FlashMode.qio120.build.flash_freq=80m +namino_bianco.menu.FlashMode.dio=DIO 80MHz +namino_bianco.menu.FlashMode.dio.build.flash_mode=dio +namino_bianco.menu.FlashMode.dio.build.boot=dio +namino_bianco.menu.FlashMode.dio.build.boot_freq=80m +namino_bianco.menu.FlashMode.dio.build.flash_freq=80m +namino_bianco.menu.FlashMode.opi=OPI 80MHz +namino_bianco.menu.FlashMode.opi.build.flash_mode=dout +namino_bianco.menu.FlashMode.opi.build.boot=opi +namino_bianco.menu.FlashMode.opi.build.boot_freq=80m +namino_bianco.menu.FlashMode.opi.build.flash_freq=80m + +namino_bianco.menu.FlashSize.4M=4MB (32Mb) +namino_bianco.menu.FlashSize.4M.build.flash_size=4MB + +namino_bianco.menu.UploadSpeed.921600=921600 +namino_bianco.menu.UploadSpeed.921600.upload.speed=921600 +namino_bianco.menu.UploadSpeed.115200=115200 +namino_bianco.menu.UploadSpeed.115200.upload.speed=115200 +namino_bianco.menu.UploadSpeed.256000.windows=256000 +namino_bianco.menu.UploadSpeed.256000.upload.speed=256000 +namino_bianco.menu.UploadSpeed.230400.windows.upload.speed=256000 +namino_bianco.menu.UploadSpeed.230400=230400 +namino_bianco.menu.UploadSpeed.230400.upload.speed=230400 +namino_bianco.menu.UploadSpeed.460800.linux=460800 +namino_bianco.menu.UploadSpeed.460800.macosx=460800 +namino_bianco.menu.UploadSpeed.460800.upload.speed=460800 +namino_bianco.menu.UploadSpeed.512000.windows=512000 +namino_bianco.menu.UploadSpeed.512000.upload.speed=512000 + +namino_bianco.menu.DebugLevel.none=None +namino_bianco.menu.DebugLevel.none.build.code_debug=0 +namino_bianco.menu.DebugLevel.error=Error +namino_bianco.menu.DebugLevel.error.build.code_debug=1 +namino_bianco.menu.DebugLevel.warn=Warn +namino_bianco.menu.DebugLevel.warn.build.code_debug=2 +namino_bianco.menu.DebugLevel.info=Info +namino_bianco.menu.DebugLevel.info.build.code_debug=3 +namino_bianco.menu.DebugLevel.debug=Debug +namino_bianco.menu.DebugLevel.debug.build.code_debug=4 +namino_bianco.menu.DebugLevel.verbose=Verbose +namino_bianco.menu.DebugLevel.verbose.build.code_debug=5 + +namino_bianco.menu.EraseFlash.none=Disabled +namino_bianco.menu.EraseFlash.none.upload.erase_cmd= +namino_bianco.menu.EraseFlash.all=Enabled +namino_bianco.menu.EraseFlash.all.upload.erase_cmd=-e +############################################################## ioxesp32.name=IOXESP32 ioxesp32.bootloader.tool=esptool_py diff --git a/variants/namino_bianco/pins_arduino.h b/variants/namino_bianco/pins_arduino.h new file mode 100644 index 00000000000..295b92c2cac --- /dev/null +++ b/variants/namino_bianco/pins_arduino.h @@ -0,0 +1,205 @@ +// +// Copyright (c) 2023 Namino Team, bianco version: 1.0.0 @ 2023-10-04 +// +// +#ifndef Pins_Arduino_h +#define Pins_Arduino_h + +#include +#include "soc/soc_caps.h" + +#define USB_VID 0x303a +#define USB_PID 0x1001 + +#define NAMINO_BIANCO_BOARD + +#define NUM_DIGITAL_PINS SOC_GPIO_PIN_COUNT // GPIO 0..48 +#define NUM_ANALOG_INPUTS 20 // GPIO 1..20 +#define EXTERNAL_NUM_INTERRUPTS NUM_DIGITAL_PINS // All GPIOs +#define analogInputToDigitalPin(p) (((p) Date: Fri, 6 Oct 2023 09:14:33 +0200 Subject: [PATCH 2/2] fix boards menu options --- boards.txt | 72 ++++---------------------- variants/namino_arancio/pins_arduino.h | 9 +--- variants/namino_bianco/pins_arduino.h | 9 +--- variants/namino_rosso/pins_arduino.h | 9 +--- 4 files changed, 12 insertions(+), 87 deletions(-) diff --git a/boards.txt b/boards.txt index 066010d7a5b..3888d2cf662 100644 --- a/boards.txt +++ b/boards.txt @@ -26010,12 +26010,12 @@ namino_rosso.menu.UploadMode.default=UART0 / Hardware CDC namino_rosso.menu.UploadMode.default.upload.use_1200bps_touch=false namino_rosso.menu.UploadMode.default.upload.wait_for_upload_port=false -namino_rosso.menu.PSRAM.enabled=QSPI PSRAM -namino_rosso.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -namino_rosso.menu.PSRAM.enabled.build.psram_type=qspi namino_rosso.menu.PSRAM.disabled=Disabled namino_rosso.menu.PSRAM.disabled.build.defines= namino_rosso.menu.PSRAM.disabled.build.psram_type=qspi +namino_rosso.menu.PSRAM.enabled=QSPI PSRAM +namino_rosso.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM +namino_rosso.menu.PSRAM.enabled.build.psram_type=qspi namino_rosso.menu.PSRAM.opi=OPI PSRAM namino_rosso.menu.PSRAM.opi.build.defines=-DBOARD_HAS_PSRAM namino_rosso.menu.PSRAM.opi.build.psram_type=opi @@ -26024,9 +26024,6 @@ namino_rosso.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5 namino_rosso.menu.PartitionScheme.default.build.partitions=default namino_rosso.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS) namino_rosso.menu.PartitionScheme.defaultffat.build.partitions=default_ffat -namino_rosso.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS) -namino_rosso.menu.PartitionScheme.default_8MB.build.partitions=default_8MB -namino_rosso.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336 namino_rosso.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS) namino_rosso.menu.PartitionScheme.minimal.build.partitions=minimal namino_rosso.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS) @@ -26047,21 +26044,6 @@ namino_rosso.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 namino_rosso.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS) namino_rosso.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs namino_rosso.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 -namino_rosso.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FATFS) -namino_rosso.menu.PartitionScheme.fatflash.build.partitions=ffat -namino_rosso.menu.PartitionScheme.fatflash.upload.maximum_size=2097152 -namino_rosso.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS) -namino_rosso.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB -namino_rosso.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728 -namino_rosso.menu.PartitionScheme.rainmaker=RainMaker -namino_rosso.menu.PartitionScheme.rainmaker.build.partitions=rainmaker -namino_rosso.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728 -namino_rosso.menu.PartitionScheme.app5M_fat24M_32MB=32M Flash (4.8MB APP/22MB FATFS) -namino_rosso.menu.PartitionScheme.app5M_fat24M_32MB.build.partitions=large_fat_32MB -namino_rosso.menu.PartitionScheme.app5M_fat24M_32MB.upload.maximum_size=4718592 -namino_rosso.menu.PartitionScheme.app5M_little24M_32MB=32M Flash (4.8MB APP/22MB LittleFS) -namino_rosso.menu.PartitionScheme.app5M_little24M_32MB.build.partitions=large_littlefs_32MB -namino_rosso.menu.PartitionScheme.app5M_little24M_32MB.upload.maximum_size=4718592 namino_rosso.menu.CPUFreq.240=240MHz (WiFi) namino_rosso.menu.CPUFreq.240.build.f_cpu=240000000L @@ -26219,12 +26201,12 @@ namino_arancio.menu.UploadMode.default=UART0 / Hardware CDC namino_arancio.menu.UploadMode.default.upload.use_1200bps_touch=false namino_arancio.menu.UploadMode.default.upload.wait_for_upload_port=false -namino_arancio.menu.PSRAM.enabled=QSPI PSRAM -namino_arancio.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -namino_arancio.menu.PSRAM.enabled.build.psram_type=qspi namino_arancio.menu.PSRAM.disabled=Disabled namino_arancio.menu.PSRAM.disabled.build.defines= namino_arancio.menu.PSRAM.disabled.build.psram_type=qspi +namino_arancio.menu.PSRAM.enabled=QSPI PSRAM +namino_arancio.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM +namino_arancio.menu.PSRAM.enabled.build.psram_type=qspi namino_arancio.menu.PSRAM.opi=OPI PSRAM namino_arancio.menu.PSRAM.opi.build.defines=-DBOARD_HAS_PSRAM namino_arancio.menu.PSRAM.opi.build.psram_type=opi @@ -26233,9 +26215,6 @@ namino_arancio.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1 namino_arancio.menu.PartitionScheme.default.build.partitions=default namino_arancio.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS) namino_arancio.menu.PartitionScheme.defaultffat.build.partitions=default_ffat -namino_arancio.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS) -namino_arancio.menu.PartitionScheme.default_8MB.build.partitions=default_8MB -namino_arancio.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336 namino_arancio.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS) namino_arancio.menu.PartitionScheme.minimal.build.partitions=minimal namino_arancio.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS) @@ -26256,21 +26235,6 @@ namino_arancio.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 namino_arancio.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS) namino_arancio.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs namino_arancio.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 -namino_arancio.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FATFS) -namino_arancio.menu.PartitionScheme.fatflash.build.partitions=ffat -namino_arancio.menu.PartitionScheme.fatflash.upload.maximum_size=2097152 -namino_arancio.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS) -namino_arancio.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB -namino_arancio.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728 -namino_arancio.menu.PartitionScheme.rainmaker=RainMaker -namino_arancio.menu.PartitionScheme.rainmaker.build.partitions=rainmaker -namino_arancio.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728 -namino_arancio.menu.PartitionScheme.app5M_fat24M_32MB=32M Flash (4.8MB APP/22MB FATFS) -namino_arancio.menu.PartitionScheme.app5M_fat24M_32MB.build.partitions=large_fat_32MB -namino_arancio.menu.PartitionScheme.app5M_fat24M_32MB.upload.maximum_size=4718592 -namino_arancio.menu.PartitionScheme.app5M_little24M_32MB=32M Flash (4.8MB APP/22MB LittleFS) -namino_arancio.menu.PartitionScheme.app5M_little24M_32MB.build.partitions=large_littlefs_32MB -namino_arancio.menu.PartitionScheme.app5M_little24M_32MB.upload.maximum_size=4718592 namino_arancio.menu.CPUFreq.240=240MHz (WiFi) namino_arancio.menu.CPUFreq.240.build.f_cpu=240000000L @@ -26428,12 +26392,12 @@ namino_bianco.menu.UploadMode.default=UART0 / Hardware CDC namino_bianco.menu.UploadMode.default.upload.use_1200bps_touch=false namino_bianco.menu.UploadMode.default.upload.wait_for_upload_port=false -namino_bianco.menu.PSRAM.enabled=QSPI PSRAM -namino_bianco.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -namino_bianco.menu.PSRAM.enabled.build.psram_type=qspi namino_bianco.menu.PSRAM.disabled=Disabled namino_bianco.menu.PSRAM.disabled.build.defines= namino_bianco.menu.PSRAM.disabled.build.psram_type=qspi +namino_bianco.menu.PSRAM.enabled=QSPI PSRAM +namino_bianco.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM +namino_bianco.menu.PSRAM.enabled.build.psram_type=qspi namino_bianco.menu.PSRAM.opi=OPI PSRAM namino_bianco.menu.PSRAM.opi.build.defines=-DBOARD_HAS_PSRAM namino_bianco.menu.PSRAM.opi.build.psram_type=opi @@ -26442,9 +26406,6 @@ namino_bianco.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1. namino_bianco.menu.PartitionScheme.default.build.partitions=default namino_bianco.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS) namino_bianco.menu.PartitionScheme.defaultffat.build.partitions=default_ffat -namino_bianco.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS) -namino_bianco.menu.PartitionScheme.default_8MB.build.partitions=default_8MB -namino_bianco.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336 namino_bianco.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS) namino_bianco.menu.PartitionScheme.minimal.build.partitions=minimal namino_bianco.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS) @@ -26465,21 +26426,6 @@ namino_bianco.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 namino_bianco.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS) namino_bianco.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs namino_bianco.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 -namino_bianco.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FATFS) -namino_bianco.menu.PartitionScheme.fatflash.build.partitions=ffat -namino_bianco.menu.PartitionScheme.fatflash.upload.maximum_size=2097152 -namino_bianco.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9.9MB FATFS) -namino_bianco.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB -namino_bianco.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728 -namino_bianco.menu.PartitionScheme.rainmaker=RainMaker -namino_bianco.menu.PartitionScheme.rainmaker.build.partitions=rainmaker -namino_bianco.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728 -namino_bianco.menu.PartitionScheme.app5M_fat24M_32MB=32M Flash (4.8MB APP/22MB FATFS) -namino_bianco.menu.PartitionScheme.app5M_fat24M_32MB.build.partitions=large_fat_32MB -namino_bianco.menu.PartitionScheme.app5M_fat24M_32MB.upload.maximum_size=4718592 -namino_bianco.menu.PartitionScheme.app5M_little24M_32MB=32M Flash (4.8MB APP/22MB LittleFS) -namino_bianco.menu.PartitionScheme.app5M_little24M_32MB.build.partitions=large_littlefs_32MB -namino_bianco.menu.PartitionScheme.app5M_little24M_32MB.upload.maximum_size=4718592 namino_bianco.menu.CPUFreq.240=240MHz (WiFi) namino_bianco.menu.CPUFreq.240.build.f_cpu=240000000L diff --git a/variants/namino_arancio/pins_arduino.h b/variants/namino_arancio/pins_arduino.h index 6f1972a4b5b..a253cdcc9ab 100644 --- a/variants/namino_arancio/pins_arduino.h +++ b/variants/namino_arancio/pins_arduino.h @@ -1,5 +1,5 @@ // -// Copyright (c) 2023 Namino Team, version: 1.0.19 @ 2023-07-24 +// Copyright (c) 2023 Namino Team, version: 1.0.20 @ 2023-10-06 // // #ifndef Pins_Arduino_h @@ -13,13 +13,6 @@ #define NAMINO_ARANCIO_BOARD -#define NUM_DIGITAL_PINS SOC_GPIO_PIN_COUNT // GPIO 0..48 -#define NUM_ANALOG_INPUTS 20 // GPIO 1..20 -#define EXTERNAL_NUM_INTERRUPTS NUM_DIGITAL_PINS // All GPIOs -#define analogInputToDigitalPin(p) (((p)