Re-add TinyS2 to boards.txt (#5093)

* Removed ProS2 and added TinyS2 to boards.txt

* Fixed incorrect NUM_OUTPUT_PINS - should be 47 not 45
This is why my APA doesn't work on my FeatherS2 as it usess IO45 and the check is for < not <=

* TinyS2 from boards.txt got stomped with old proS2 stuff (no idea why), so adding it back in.
This commit is contained in:
Unexpected Maker 2021-04-22 01:57:10 +10:00 committed by GitHub
parent 0c3597f8d7
commit cdd48e4ee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -962,132 +962,117 @@ feathers2.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
pros2.name=UM ProS2
pros2.vid.0=0x239A
pros2.pid.0=0x80A9
tinys2.name=UM TinyS2
tinys2.vid.0=0x303a
tinys2.pid.0=0x8001
pros2.upload.tool=esptool_py
pros2.upload.maximum_size=1310720
pros2.upload.maximum_data_size=327680
pros2.upload.flags=
pros2.upload.extra_flags=
pros2.upload.use_1200bps_touch=true
pros2.upload.wait_for_upload_port=true
tinys2.upload.tool=esptool_py
tinys2.upload.maximum_size=1310720
tinys2.upload.maximum_data_size=327680
tinys2.upload.flags=
tinys2.upload.use_1200bps_touch=true
tinys2.upload.wait_for_upload_port=true
pros2.serial.disableDTR=false
pros2.serial.disableRTS=false
tinys2.serial.disableDTR=false
tinys2.serial.disableRTS=false
pros2.build.tarch=xtensa
pros2.build.bootloader_addr=0x1000
pros2.build.target=esp32s2
pros2.build.mcu=esp32s2
pros2.build.core=esp32
pros2.build.variant=um_pros2
pros2.build.board=PROS2
tinys2.build.tarch=xtensa
tinys2.build.bootloader_addr=0x1000
tinys2.build.target=esp32s2
tinys2.build.mcu=esp32s2
tinys2.build.core=esp32
tinys2.build.variant=um_tinys2
tinys2.build.board=TINYS2
pros2.build.serial=1
pros2.build.f_cpu=240000000L
pros2.build.flash_size=16MB
pros2.build.flash_freq=80m
pros2.build.flash_mode=dio
pros2.build.boot=qio
pros2.build.partitions=fatflash
pros2.build.defines=
tinys2.build.serial=1
tinys2.build.f_cpu=240000000L
tinys2.build.flash_size=4MB
tinys2.build.flash_freq=80m
tinys2.build.flash_mode=dio
tinys2.build.boot=qio
tinys2.build.partitions=default
tinys2.build.defines=
pros2.menu.SerialMode.cdc=USB CDC
pros2.menu.SerialMode.cdc.build.serial=1
pros2.menu.SerialMode.default=UART0
pros2.menu.SerialMode.default.build.serial=0
tinys2.menu.SerialMode.cdc=USB CDC
tinys2.menu.SerialMode.cdc.build.serial=1
tinys2.menu.SerialMode.default=UART0
tinys2.menu.SerialMode.default.build.serial=0
pros2.menu.PSRAM.enabled=Enabled
pros2.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
pros2.menu.PSRAM.disabled=Disabled
pros2.menu.PSRAM.disabled.build.defines=
tinys2.menu.PSRAM.enabled=Enabled
tinys2.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
tinys2.menu.PSRAM.disabled=Disabled
tinys2.menu.PSRAM.disabled.build.defines=
pros2.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
pros2.menu.PartitionScheme.fatflash.build.partitions=ffat
pros2.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
pros2.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9MB FATFS)
pros2.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
pros2.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
pros2.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
pros2.menu.PartitionScheme.default.build.partitions=default
pros2.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
pros2.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
pros2.menu.PartitionScheme.default_8MB=8M Flash (3MB APP/1.5MB FAT)
pros2.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
pros2.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
pros2.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
pros2.menu.PartitionScheme.minimal.build.partitions=minimal
pros2.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
pros2.menu.PartitionScheme.no_ota.build.partitions=no_ota
pros2.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
pros2.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
pros2.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
pros2.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
pros2.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
pros2.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
pros2.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
pros2.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
pros2.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
pros2.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
pros2.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
pros2.menu.PartitionScheme.huge_app.build.partitions=huge_app
pros2.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
pros2.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
pros2.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
pros2.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
tinys2.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
tinys2.menu.PartitionScheme.default.build.partitions=default
tinys2.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
tinys2.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
tinys2.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
tinys2.menu.PartitionScheme.minimal.build.partitions=minimal
tinys2.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
tinys2.menu.PartitionScheme.no_ota.build.partitions=no_ota
tinys2.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
tinys2.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
tinys2.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
tinys2.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
tinys2.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
tinys2.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
tinys2.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
tinys2.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
tinys2.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
tinys2.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
tinys2.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
tinys2.menu.PartitionScheme.huge_app.build.partitions=huge_app
tinys2.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
tinys2.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
tinys2.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
tinys2.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
pros2.menu.CPUFreq.240=240MHz (WiFi)
pros2.menu.CPUFreq.240.build.f_cpu=240000000L
pros2.menu.CPUFreq.160=160MHz (WiFi)
pros2.menu.CPUFreq.160.build.f_cpu=160000000L
pros2.menu.CPUFreq.80=80MHz (WiFi)
pros2.menu.CPUFreq.80.build.f_cpu=80000000L
pros2.menu.CPUFreq.40=40MHz
pros2.menu.CPUFreq.40.build.f_cpu=40000000L
pros2.menu.CPUFreq.20=20MHz
pros2.menu.CPUFreq.20.build.f_cpu=20000000L
pros2.menu.CPUFreq.10=10MHz
pros2.menu.CPUFreq.10.build.f_cpu=10000000L
tinys2.menu.CPUFreq.240=240MHz (WiFi)
tinys2.menu.CPUFreq.240.build.f_cpu=240000000L
tinys2.menu.CPUFreq.160=160MHz (WiFi)
tinys2.menu.CPUFreq.160.build.f_cpu=160000000L
tinys2.menu.CPUFreq.80=80MHz (WiFi)
tinys2.menu.CPUFreq.80.build.f_cpu=80000000L
tinys2.menu.CPUFreq.40=40MHz
tinys2.menu.CPUFreq.40.build.f_cpu=40000000L
tinys2.menu.CPUFreq.20=20MHz
tinys2.menu.CPUFreq.20.build.f_cpu=20000000L
tinys2.menu.CPUFreq.10=10MHz
tinys2.menu.CPUFreq.10.build.f_cpu=10000000L
pros2.menu.FlashSize.16M=16MB (128Mb)
pros2.menu.FlashSize.16M.build.flash_size=16MB
pros2.menu.FlashSize.4M=4MB (32Mb)
pros2.menu.FlashSize.4M.build.flash_size=4MB
pros2.menu.FlashSize.8M=8MB (64Mb)
pros2.menu.FlashSize.8M.build.flash_size=8MB
pros2.menu.FlashSize.8M.build.partitions=default_8MB
pros2.menu.FlashSize.2M=2MB (16Mb)
pros2.menu.FlashSize.2M.build.flash_size=2MB
pros2.menu.FlashSize.2M.build.partitions=minimal
tinys2.menu.FlashSize.4M=4MB (32Mb)
tinys2.menu.FlashSize.4M.build.flash_size=4MB
tinys2.menu.FlashSize.2M=2MB (16Mb)
tinys2.menu.FlashSize.2M.build.flash_size=2MB
tinys2.menu.FlashSize.2M.build.partitions=minimal
pros2.menu.UploadSpeed.921600=921600
pros2.menu.UploadSpeed.921600.upload.speed=921600
pros2.menu.UploadSpeed.115200=115200
pros2.menu.UploadSpeed.115200.upload.speed=115200
pros2.menu.UploadSpeed.256000.windows=256000
pros2.menu.UploadSpeed.256000.upload.speed=256000
pros2.menu.UploadSpeed.230400.windows.upload.speed=256000
pros2.menu.UploadSpeed.230400=230400
pros2.menu.UploadSpeed.230400.upload.speed=230400
pros2.menu.UploadSpeed.460800.linux=460800
pros2.menu.UploadSpeed.460800.macosx=460800
pros2.menu.UploadSpeed.460800.upload.speed=460800
tinys2.menu.UploadSpeed.921600=921600
tinys2.menu.UploadSpeed.921600.upload.speed=921600
tinys2.menu.UploadSpeed.115200=115200
tinys2.menu.UploadSpeed.115200.upload.speed=115200
tinys2.menu.UploadSpeed.256000.windows=256000
tinys2.menu.UploadSpeed.256000.upload.speed=256000
tinys2.menu.UploadSpeed.230400.windows.upload.speed=256000
tinys2.menu.UploadSpeed.230400=230400
tinys2.menu.UploadSpeed.230400.upload.speed=230400
tinys2.menu.UploadSpeed.460800.linux=460800
tinys2.menu.UploadSpeed.460800.macosx=460800
tinys2.menu.UploadSpeed.460800.upload.speed=460800
pros2.menu.DebugLevel.none=None
pros2.menu.DebugLevel.none.build.code_debug=0
pros2.menu.DebugLevel.error=Error
pros2.menu.DebugLevel.error.build.code_debug=1
pros2.menu.DebugLevel.warn=Warn
pros2.menu.DebugLevel.warn.build.code_debug=2
pros2.menu.DebugLevel.info=Info
pros2.menu.DebugLevel.info.build.code_debug=3
pros2.menu.DebugLevel.debug=Debug
pros2.menu.DebugLevel.debug.build.code_debug=4
pros2.menu.DebugLevel.verbose=Verbose
pros2.menu.DebugLevel.verbose.build.code_debug=5
tinys2.menu.DebugLevel.none=None
tinys2.menu.DebugLevel.none.build.code_debug=0
tinys2.menu.DebugLevel.error=Error
tinys2.menu.DebugLevel.error.build.code_debug=1
tinys2.menu.DebugLevel.warn=Warn
tinys2.menu.DebugLevel.warn.build.code_debug=2
tinys2.menu.DebugLevel.info=Info
tinys2.menu.DebugLevel.info.build.code_debug=3
tinys2.menu.DebugLevel.debug=Debug
tinys2.menu.DebugLevel.debug.build.code_debug=4
tinys2.menu.DebugLevel.verbose=Verbose
tinys2.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
S_ODI_Ultra.name=S.ODI Ultra v1