diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml
index d70487e..e2e38cf 100644
--- a/.github/workflows/examples.yml
+++ b/.github/workflows/examples.yml
@@ -7,26 +7,24 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [ubuntu-latest]
- python-version: [3.7]
+ os: [ubuntu-latest, windows-latest, macos-latest]
example:
+ - "examples/arduino-blink"
- "examples/arduino-blink"
- "examples/arduino-blink-earlephilhower"
- - "examples/arduino-external-libs"
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
submodules: "recursive"
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v1
+ - name: Set up Python
+ uses: actions/setup-python@v3
with:
- python-version: ${{ matrix.python-version }}
+ python-version: "3.9"
- name: Install dependencies
run: |
- python -m pip install --upgrade pip
pip install -U https://github.com/platformio/platformio/archive/develop.zip
pio pkg install --global --platform symlink://.
- name: Build examples
run: |
- platformio run -d ${{ matrix.example }}
+ pio run -d ${{ matrix.example }}
diff --git a/README.md b/README.md
index 47b4217..2f2ee78 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ RP2040 is a low-cost, high-performance microcontroller device with a large on-ch
# Usage
-1. [Install PlatformIO](http://platformio.org)
+1. [Install PlatformIO](https://platformio.org)
2. Create PlatformIO project and configure a platform option in [platformio.ini](https://docs.platformio.org/page/projectconf.html) file:
## Stable version
diff --git a/boards/pico.json b/boards/pico.json
index cb6350d..eaec305 100644
--- a/boards/pico.json
+++ b/boards/pico.json
@@ -50,4 +50,4 @@
},
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
"vendor": "Raspberry Pi"
-}
\ No newline at end of file
+}
diff --git a/builder/frameworks/_bare.py b/builder/frameworks/_bare.py
index 4fd489e..a083fa9 100644
--- a/builder/frameworks/_bare.py
+++ b/builder/frameworks/_bare.py
@@ -21,7 +21,12 @@ from SCons.Script import DefaultEnvironment
env = DefaultEnvironment()
env.Append(
- ASFLAGS=["-x", "assembler-with-cpp"],
+ ASFLAGS=[
+ "-mthumb",
+ ],
+ ASPPFLAGS=[
+ "-x", "assembler-with-cpp",
+ ],
CCFLAGS=[
"-Os", # optimize for size
@@ -54,6 +59,9 @@ env.Append(
if "BOARD" in env:
env.Append(
+ ASFLAGS=[
+ "-mcpu=%s" % env.BoardConfig().get("build.cpu")
+ ],
CCFLAGS=[
"-mcpu=%s" % env.BoardConfig().get("build.cpu")
],
@@ -61,6 +69,3 @@ if "BOARD" in env:
"-mcpu=%s" % env.BoardConfig().get("build.cpu")
]
)
-
-# copy CCFLAGS to ASFLAGS (-x assembler-with-cpp mode)
-env.Append(ASFLAGS=env.get("CCFLAGS", [])[:])
diff --git a/builder/main.py b/builder/main.py
index 433bba9..1cb67f1 100644
--- a/builder/main.py
+++ b/builder/main.py
@@ -15,12 +15,11 @@
import sys
from platform import system
from os import makedirs
-from os.path import isdir, join, isfile
-from shutil import copyfile
+from os.path import isdir, join
import re
import time
-from platformio.util import get_serial_ports
+from platformio.public import list_serial_ports
from SCons.Script import (ARGUMENTS, COMMAND_LINE_TARGETS, AlwaysBuild,
Builder, Default, DefaultEnvironment)
@@ -32,7 +31,7 @@ def BeforeUpload(target, source, env): # pylint: disable=W0613,W0621
upload_options = env.BoardConfig().get("upload", {})
env.AutodetectUploadPort()
- before_ports = get_serial_ports()
+ before_ports = list_serial_ports()
if upload_options.get("use_1200bps_touch", False):
env.TouchSerialPort("$UPLOAD_PORT", 1200)
@@ -239,7 +238,7 @@ def _update_max_upload_size(env):
fetch_fs_size(env)
env.BoardConfig().update("upload.maximum_size", env["PICO_FLASH_LENGTH"])
-# update max upload size based on CSV file
+# update max upload size based on set sketch size (or raw maximum size)
if env.get("PIOMAINPROG"):
env.AddPreAction(
"checkprogsize",
@@ -391,9 +390,6 @@ elif upload_protocol in debug_tools:
"tool-openocd-raspberrypi") or "")
for f in openocd_args
]
- # use ELF file for upload, not bin (target_firm). otherwise needs
- # offset 0x10000000
- #upload_source = target_elf
env.Replace(
UPLOADER="openocd",
UPLOADERFLAGS=openocd_args,
diff --git a/misc/svd/rp2040.svd b/misc/svd/rp2040.svd
index f600d47..95e1990 100644
--- a/misc/svd/rp2040.svd
+++ b/misc/svd/rp2040.svd
@@ -22320,18 +22320,18 @@
read-write
[20:20]
- Multiplies the startup_delay by 4. This is of little value to the user given that the delay can be programmed directly
+ Multiplies the startup_delay by 4. This is of little value to the user given that the delay can be programmed directly.
X4
read-write
[13:0]
- in multiples of 256*xtal_period
+ in multiples of 256*xtal_period. The reset value of 0xc4 corresponds to approx 50 000 cycles.
DELAY
STARTUP
- 0x00000000
+ 0x000000c4
0x001c
@@ -24228,7 +24228,76 @@
registers
0x40044000
- DW_apb_i2c address block
+ DW_apb_i2c address block\n\n
+ List of configuration constants for the Synopsys I2C hardware (you may see references to these in I2C register header; these are *fixed* values, set at hardware design time):\n\n
+ IC_ULTRA_FAST_MODE ................ 0x0\n
+ IC_UFM_TBUF_CNT_DEFAULT ........... 0x8\n
+ IC_UFM_SCL_LOW_COUNT .............. 0x0008\n
+ IC_UFM_SCL_HIGH_COUNT ............. 0x0006\n
+ IC_TX_TL .......................... 0x0\n
+ IC_TX_CMD_BLOCK ................... 0x1\n
+ IC_HAS_DMA ........................ 0x1\n
+ IC_HAS_ASYNC_FIFO ................. 0x0\n
+ IC_SMBUS_ARP ...................... 0x0\n
+ IC_FIRST_DATA_BYTE_STATUS ......... 0x1\n
+ IC_INTR_IO ........................ 0x1\n
+ IC_MASTER_MODE .................... 0x1\n
+ IC_DEFAULT_ACK_GENERAL_CALL ....... 0x1\n
+ IC_INTR_POL ....................... 0x1\n
+ IC_OPTIONAL_SAR ................... 0x0\n
+ IC_DEFAULT_TAR_SLAVE_ADDR ......... 0x055\n
+ IC_DEFAULT_SLAVE_ADDR ............. 0x055\n
+ IC_DEFAULT_HS_SPKLEN .............. 0x1\n
+ IC_FS_SCL_HIGH_COUNT .............. 0x0006\n
+ IC_HS_SCL_LOW_COUNT ............... 0x0008\n
+ IC_DEVICE_ID_VALUE ................ 0x0\n
+ IC_10BITADDR_MASTER ............... 0x0\n
+ IC_CLK_FREQ_OPTIMIZATION .......... 0x0\n
+ IC_DEFAULT_FS_SPKLEN .............. 0x7\n
+ IC_ADD_ENCODED_PARAMS ............. 0x0\n
+ IC_DEFAULT_SDA_HOLD ............... 0x000001\n
+ IC_DEFAULT_SDA_SETUP .............. 0x64\n
+ IC_AVOID_RX_FIFO_FLUSH_ON_TX_ABRT . 0x0\n
+ IC_CLOCK_PERIOD ................... 100\n
+ IC_EMPTYFIFO_HOLD_MASTER_EN ....... 1\n
+ IC_RESTART_EN ..................... 0x1\n
+ IC_TX_CMD_BLOCK_DEFAULT ........... 0x0\n
+ IC_BUS_CLEAR_FEATURE .............. 0x0\n
+ IC_CAP_LOADING .................... 100\n
+ IC_FS_SCL_LOW_COUNT ............... 0x000d\n
+ APB_DATA_WIDTH .................... 32\n
+ IC_SDA_STUCK_TIMEOUT_DEFAULT ...... 0xffffffff\n
+ IC_SLV_DATA_NACK_ONLY ............. 0x1\n
+ IC_10BITADDR_SLAVE ................ 0x0\n
+ IC_CLK_TYPE ....................... 0x0\n
+ IC_SMBUS_UDID_MSB ................. 0x0\n
+ IC_SMBUS_SUSPEND_ALERT ............ 0x0\n
+ IC_HS_SCL_HIGH_COUNT .............. 0x0006\n
+ IC_SLV_RESTART_DET_EN ............. 0x1\n
+ IC_SMBUS .......................... 0x0\n
+ IC_OPTIONAL_SAR_DEFAULT ........... 0x0\n
+ IC_PERSISTANT_SLV_ADDR_DEFAULT .... 0x0\n
+ IC_USE_COUNTS ..................... 0x0\n
+ IC_RX_BUFFER_DEPTH ................ 16\n
+ IC_SCL_STUCK_TIMEOUT_DEFAULT ...... 0xffffffff\n
+ IC_RX_FULL_HLD_BUS_EN ............. 0x1\n
+ IC_SLAVE_DISABLE .................. 0x1\n
+ IC_RX_TL .......................... 0x0\n
+ IC_DEVICE_ID ...................... 0x0\n
+ IC_HC_COUNT_VALUES ................ 0x0\n
+ I2C_DYNAMIC_TAR_UPDATE ............ 0\n
+ IC_SMBUS_CLK_LOW_MEXT_DEFAULT ..... 0xffffffff\n
+ IC_SMBUS_CLK_LOW_SEXT_DEFAULT ..... 0xffffffff\n
+ IC_HS_MASTER_CODE ................. 0x1\n
+ IC_SMBUS_RST_IDLE_CNT_DEFAULT ..... 0xffff\n
+ IC_SMBUS_UDID_LSB_DEFAULT ......... 0xffffffff\n
+ IC_SS_SCL_HIGH_COUNT .............. 0x0028\n
+ IC_SS_SCL_LOW_COUNT ............... 0x002f\n
+ IC_MAX_SPEED_MODE ................. 0x2\n
+ IC_STAT_FOR_CLK_STRETCH ........... 0x0\n
+ IC_STOP_DET_IF_MASTER_ACTIVE ...... 0x0\n
+ IC_DEFAULT_UFM_SPKLEN ............. 0x1\n
+ IC_TX_BUFFER_DEPTH ................ 16
I2C0_IRQ
23
@@ -29685,8 +29754,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (0).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -29762,28 +29830,28 @@
0x00000000
- read-only
+ read-write
0x0010
Alias for channel 0 CTRL register
CH0_AL1_CTRL
0x00000000
- read-only
+ read-write
0x0014
Alias for channel 0 READ_ADDR register
CH0_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x0018
Alias for channel 0 WRITE_ADDR register
CH0_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x001c
Alias for channel 0 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -29792,28 +29860,28 @@
0x00000000
- read-only
+ read-write
0x0020
Alias for channel 0 CTRL register
CH0_AL2_CTRL
0x00000000
- read-only
+ read-write
0x0024
Alias for channel 0 TRANS_COUNT register
CH0_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x0028
Alias for channel 0 READ_ADDR register
CH0_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x002c
Alias for channel 0 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -29822,28 +29890,28 @@
0x00000000
- read-only
+ read-write
0x0030
Alias for channel 0 CTRL register
CH0_AL3_CTRL
0x00000000
- read-only
+ read-write
0x0034
Alias for channel 0 WRITE_ADDR register
CH0_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x0038
Alias for channel 0 TRANS_COUNT register
CH0_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x003c
Alias for channel 0 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -29970,8 +30038,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (1).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -30044,31 +30111,31 @@
CH1_CTRL_TRIG
- 0x00000800
+ 0x00000000
- read-only
+ read-write
0x0050
Alias for channel 1 CTRL register
CH1_AL1_CTRL
0x00000000
- read-only
+ read-write
0x0054
Alias for channel 1 READ_ADDR register
CH1_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x0058
Alias for channel 1 WRITE_ADDR register
CH1_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x005c
Alias for channel 1 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30077,28 +30144,28 @@
0x00000000
- read-only
+ read-write
0x0060
Alias for channel 1 CTRL register
CH1_AL2_CTRL
0x00000000
- read-only
+ read-write
0x0064
Alias for channel 1 TRANS_COUNT register
CH1_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x0068
Alias for channel 1 READ_ADDR register
CH1_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x006c
Alias for channel 1 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30107,28 +30174,28 @@
0x00000000
- read-only
+ read-write
0x0070
Alias for channel 1 CTRL register
CH1_AL3_CTRL
0x00000000
- read-only
+ read-write
0x0074
Alias for channel 1 WRITE_ADDR register
CH1_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x0078
Alias for channel 1 TRANS_COUNT register
CH1_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x007c
Alias for channel 1 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30255,8 +30322,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (2).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -30329,31 +30395,31 @@
CH2_CTRL_TRIG
- 0x00001000
+ 0x00000000
- read-only
+ read-write
0x0090
Alias for channel 2 CTRL register
CH2_AL1_CTRL
0x00000000
- read-only
+ read-write
0x0094
Alias for channel 2 READ_ADDR register
CH2_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x0098
Alias for channel 2 WRITE_ADDR register
CH2_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x009c
Alias for channel 2 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30362,28 +30428,28 @@
0x00000000
- read-only
+ read-write
0x00a0
Alias for channel 2 CTRL register
CH2_AL2_CTRL
0x00000000
- read-only
+ read-write
0x00a4
Alias for channel 2 TRANS_COUNT register
CH2_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x00a8
Alias for channel 2 READ_ADDR register
CH2_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x00ac
Alias for channel 2 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30392,28 +30458,28 @@
0x00000000
- read-only
+ read-write
0x00b0
Alias for channel 2 CTRL register
CH2_AL3_CTRL
0x00000000
- read-only
+ read-write
0x00b4
Alias for channel 2 WRITE_ADDR register
CH2_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x00b8
Alias for channel 2 TRANS_COUNT register
CH2_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x00bc
Alias for channel 2 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30540,8 +30606,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (3).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -30614,31 +30679,31 @@
CH3_CTRL_TRIG
- 0x00001800
+ 0x00000000
- read-only
+ read-write
0x00d0
Alias for channel 3 CTRL register
CH3_AL1_CTRL
0x00000000
- read-only
+ read-write
0x00d4
Alias for channel 3 READ_ADDR register
CH3_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x00d8
Alias for channel 3 WRITE_ADDR register
CH3_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x00dc
Alias for channel 3 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30647,28 +30712,28 @@
0x00000000
- read-only
+ read-write
0x00e0
Alias for channel 3 CTRL register
CH3_AL2_CTRL
0x00000000
- read-only
+ read-write
0x00e4
Alias for channel 3 TRANS_COUNT register
CH3_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x00e8
Alias for channel 3 READ_ADDR register
CH3_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x00ec
Alias for channel 3 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30677,28 +30742,28 @@
0x00000000
- read-only
+ read-write
0x00f0
Alias for channel 3 CTRL register
CH3_AL3_CTRL
0x00000000
- read-only
+ read-write
0x00f4
Alias for channel 3 WRITE_ADDR register
CH3_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x00f8
Alias for channel 3 TRANS_COUNT register
CH3_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x00fc
Alias for channel 3 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30825,8 +30890,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (4).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -30899,31 +30963,31 @@
CH4_CTRL_TRIG
- 0x00002000
+ 0x00000000
- read-only
+ read-write
0x0110
Alias for channel 4 CTRL register
CH4_AL1_CTRL
0x00000000
- read-only
+ read-write
0x0114
Alias for channel 4 READ_ADDR register
CH4_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x0118
Alias for channel 4 WRITE_ADDR register
CH4_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x011c
Alias for channel 4 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30932,28 +30996,28 @@
0x00000000
- read-only
+ read-write
0x0120
Alias for channel 4 CTRL register
CH4_AL2_CTRL
0x00000000
- read-only
+ read-write
0x0124
Alias for channel 4 TRANS_COUNT register
CH4_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x0128
Alias for channel 4 READ_ADDR register
CH4_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x012c
Alias for channel 4 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -30962,28 +31026,28 @@
0x00000000
- read-only
+ read-write
0x0130
Alias for channel 4 CTRL register
CH4_AL3_CTRL
0x00000000
- read-only
+ read-write
0x0134
Alias for channel 4 WRITE_ADDR register
CH4_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x0138
Alias for channel 4 TRANS_COUNT register
CH4_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x013c
Alias for channel 4 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -31110,8 +31174,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (5).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -31184,31 +31247,31 @@
CH5_CTRL_TRIG
- 0x00002800
+ 0x00000000
- read-only
+ read-write
0x0150
Alias for channel 5 CTRL register
CH5_AL1_CTRL
0x00000000
- read-only
+ read-write
0x0154
Alias for channel 5 READ_ADDR register
CH5_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x0158
Alias for channel 5 WRITE_ADDR register
CH5_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x015c
Alias for channel 5 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -31217,28 +31280,28 @@
0x00000000
- read-only
+ read-write
0x0160
Alias for channel 5 CTRL register
CH5_AL2_CTRL
0x00000000
- read-only
+ read-write
0x0164
Alias for channel 5 TRANS_COUNT register
CH5_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x0168
Alias for channel 5 READ_ADDR register
CH5_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x016c
Alias for channel 5 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -31247,28 +31310,28 @@
0x00000000
- read-only
+ read-write
0x0170
Alias for channel 5 CTRL register
CH5_AL3_CTRL
0x00000000
- read-only
+ read-write
0x0174
Alias for channel 5 WRITE_ADDR register
CH5_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x0178
Alias for channel 5 TRANS_COUNT register
CH5_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x017c
Alias for channel 5 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -31395,8 +31458,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (6).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -31469,31 +31531,31 @@
CH6_CTRL_TRIG
- 0x00003000
+ 0x00000000
- read-only
+ read-write
0x0190
Alias for channel 6 CTRL register
CH6_AL1_CTRL
0x00000000
- read-only
+ read-write
0x0194
Alias for channel 6 READ_ADDR register
CH6_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x0198
Alias for channel 6 WRITE_ADDR register
CH6_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x019c
Alias for channel 6 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -31502,28 +31564,28 @@
0x00000000
- read-only
+ read-write
0x01a0
Alias for channel 6 CTRL register
CH6_AL2_CTRL
0x00000000
- read-only
+ read-write
0x01a4
Alias for channel 6 TRANS_COUNT register
CH6_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x01a8
Alias for channel 6 READ_ADDR register
CH6_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x01ac
Alias for channel 6 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -31532,28 +31594,28 @@
0x00000000
- read-only
+ read-write
0x01b0
Alias for channel 6 CTRL register
CH6_AL3_CTRL
0x00000000
- read-only
+ read-write
0x01b4
Alias for channel 6 WRITE_ADDR register
CH6_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x01b8
Alias for channel 6 TRANS_COUNT register
CH6_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x01bc
Alias for channel 6 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -31680,8 +31742,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (7).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -31754,31 +31815,31 @@
CH7_CTRL_TRIG
- 0x00003800
+ 0x00000000
- read-only
+ read-write
0x01d0
Alias for channel 7 CTRL register
CH7_AL1_CTRL
0x00000000
- read-only
+ read-write
0x01d4
Alias for channel 7 READ_ADDR register
CH7_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x01d8
Alias for channel 7 WRITE_ADDR register
CH7_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x01dc
Alias for channel 7 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -31787,28 +31848,28 @@
0x00000000
- read-only
+ read-write
0x01e0
Alias for channel 7 CTRL register
CH7_AL2_CTRL
0x00000000
- read-only
+ read-write
0x01e4
Alias for channel 7 TRANS_COUNT register
CH7_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x01e8
Alias for channel 7 READ_ADDR register
CH7_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x01ec
Alias for channel 7 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -31817,28 +31878,28 @@
0x00000000
- read-only
+ read-write
0x01f0
Alias for channel 7 CTRL register
CH7_AL3_CTRL
0x00000000
- read-only
+ read-write
0x01f4
Alias for channel 7 WRITE_ADDR register
CH7_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x01f8
Alias for channel 7 TRANS_COUNT register
CH7_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x01fc
Alias for channel 7 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -31965,8 +32026,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (8).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -32039,31 +32099,31 @@
CH8_CTRL_TRIG
- 0x00004000
+ 0x00000000
- read-only
+ read-write
0x0210
Alias for channel 8 CTRL register
CH8_AL1_CTRL
0x00000000
- read-only
+ read-write
0x0214
Alias for channel 8 READ_ADDR register
CH8_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x0218
Alias for channel 8 WRITE_ADDR register
CH8_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x021c
Alias for channel 8 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32072,28 +32132,28 @@
0x00000000
- read-only
+ read-write
0x0220
Alias for channel 8 CTRL register
CH8_AL2_CTRL
0x00000000
- read-only
+ read-write
0x0224
Alias for channel 8 TRANS_COUNT register
CH8_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x0228
Alias for channel 8 READ_ADDR register
CH8_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x022c
Alias for channel 8 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32102,28 +32162,28 @@
0x00000000
- read-only
+ read-write
0x0230
Alias for channel 8 CTRL register
CH8_AL3_CTRL
0x00000000
- read-only
+ read-write
0x0234
Alias for channel 8 WRITE_ADDR register
CH8_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x0238
Alias for channel 8 TRANS_COUNT register
CH8_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x023c
Alias for channel 8 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32250,8 +32310,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (9).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -32324,31 +32383,31 @@
CH9_CTRL_TRIG
- 0x00004800
+ 0x00000000
- read-only
+ read-write
0x0250
Alias for channel 9 CTRL register
CH9_AL1_CTRL
0x00000000
- read-only
+ read-write
0x0254
Alias for channel 9 READ_ADDR register
CH9_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x0258
Alias for channel 9 WRITE_ADDR register
CH9_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x025c
Alias for channel 9 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32357,28 +32416,28 @@
0x00000000
- read-only
+ read-write
0x0260
Alias for channel 9 CTRL register
CH9_AL2_CTRL
0x00000000
- read-only
+ read-write
0x0264
Alias for channel 9 TRANS_COUNT register
CH9_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x0268
Alias for channel 9 READ_ADDR register
CH9_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x026c
Alias for channel 9 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32387,28 +32446,28 @@
0x00000000
- read-only
+ read-write
0x0270
Alias for channel 9 CTRL register
CH9_AL3_CTRL
0x00000000
- read-only
+ read-write
0x0274
Alias for channel 9 WRITE_ADDR register
CH9_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x0278
Alias for channel 9 TRANS_COUNT register
CH9_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x027c
Alias for channel 9 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32535,8 +32594,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (10).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -32609,31 +32667,31 @@
CH10_CTRL_TRIG
- 0x00005000
+ 0x00000000
- read-only
+ read-write
0x0290
Alias for channel 10 CTRL register
CH10_AL1_CTRL
0x00000000
- read-only
+ read-write
0x0294
Alias for channel 10 READ_ADDR register
CH10_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x0298
Alias for channel 10 WRITE_ADDR register
CH10_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x029c
Alias for channel 10 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32642,28 +32700,28 @@
0x00000000
- read-only
+ read-write
0x02a0
Alias for channel 10 CTRL register
CH10_AL2_CTRL
0x00000000
- read-only
+ read-write
0x02a4
Alias for channel 10 TRANS_COUNT register
CH10_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x02a8
Alias for channel 10 READ_ADDR register
CH10_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x02ac
Alias for channel 10 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32672,28 +32730,28 @@
0x00000000
- read-only
+ read-write
0x02b0
Alias for channel 10 CTRL register
CH10_AL3_CTRL
0x00000000
- read-only
+ read-write
0x02b4
Alias for channel 10 WRITE_ADDR register
CH10_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x02b8
Alias for channel 10 TRANS_COUNT register
CH10_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x02bc
Alias for channel 10 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32820,8 +32878,7 @@
read-write
[14:11]
- When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.\n
- Reset value is equal to channel number (11).
+ When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_.
CHAIN_TO
@@ -32894,31 +32951,31 @@
CH11_CTRL_TRIG
- 0x00005800
+ 0x00000000
- read-only
+ read-write
0x02d0
Alias for channel 11 CTRL register
CH11_AL1_CTRL
0x00000000
- read-only
+ read-write
0x02d4
Alias for channel 11 READ_ADDR register
CH11_AL1_READ_ADDR
0x00000000
- read-only
+ read-write
0x02d8
Alias for channel 11 WRITE_ADDR register
CH11_AL1_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x02dc
Alias for channel 11 TRANS_COUNT register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32927,28 +32984,28 @@
0x00000000
- read-only
+ read-write
0x02e0
Alias for channel 11 CTRL register
CH11_AL2_CTRL
0x00000000
- read-only
+ read-write
0x02e4
Alias for channel 11 TRANS_COUNT register
CH11_AL2_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x02e8
Alias for channel 11 READ_ADDR register
CH11_AL2_READ_ADDR
0x00000000
- read-only
+ read-write
0x02ec
Alias for channel 11 WRITE_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -32957,28 +33014,28 @@
0x00000000
- read-only
+ read-write
0x02f0
Alias for channel 11 CTRL register
CH11_AL3_CTRL
0x00000000
- read-only
+ read-write
0x02f4
Alias for channel 11 WRITE_ADDR register
CH11_AL3_WRITE_ADDR
0x00000000
- read-only
+ read-write
0x02f8
Alias for channel 11 TRANS_COUNT register
CH11_AL3_TRANS_COUNT
0x00000000
- read-only
+ read-write
0x02fc
Alias for channel 11 READ_ADDR register\n
This is a trigger register (0xc). Writing a nonzero value will\n
@@ -33334,8 +33391,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH0_DBG_CTDREQ
@@ -33354,8 +33412,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH1_DBG_CTDREQ
@@ -33374,8 +33433,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH2_DBG_CTDREQ
@@ -33394,8 +33454,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH3_DBG_CTDREQ
@@ -33414,8 +33475,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH4_DBG_CTDREQ
@@ -33434,8 +33496,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH5_DBG_CTDREQ
@@ -33454,8 +33517,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH6_DBG_CTDREQ
@@ -33474,8 +33538,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH7_DBG_CTDREQ
@@ -33494,8 +33559,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH8_DBG_CTDREQ
@@ -33514,8 +33580,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH9_DBG_CTDREQ
@@ -33534,8 +33601,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH10_DBG_CTDREQ
@@ -33554,8 +33622,9 @@
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.
- read-only
+ read-write
[5:0]
+ oneToClear
CH11_DBG_CTDREQ
@@ -35883,7 +35952,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -35989,7 +36058,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -36095,7 +36164,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -36201,7 +36270,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -36307,7 +36376,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -36413,7 +36482,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -36519,7 +36588,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -36625,7 +36694,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -36731,7 +36800,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -36837,7 +36906,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -36943,7 +37012,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -37049,7 +37118,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -37155,7 +37224,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -37261,7 +37330,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -37367,7 +37436,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -37473,7 +37542,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -37579,7 +37648,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -37685,7 +37754,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -37791,7 +37860,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -37897,7 +37966,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -38003,7 +38072,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -38109,7 +38178,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -38215,7 +38284,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -38321,7 +38390,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -38427,7 +38496,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -38533,7 +38602,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -38639,7 +38708,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -38745,7 +38814,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -38851,7 +38920,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -38957,7 +39026,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -39063,7 +39132,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -39169,7 +39238,7 @@
read-write
[9:0]
- The length of the data in buffer 1.
+ The length of the data in buffer 0.
LENGTH_0
@@ -39992,9 +40061,10 @@
SETUP_REC
- read-only
+ read-write
[16:16]
Device: connected
+ oneToClear
CONNECTED
@@ -40011,15 +40081,17 @@
VBUS_OVER_CURR
- read-only
+ read-write
[9:8]
Host: device speed. Disconnected = 00, LS = 01, FS = 10
+ oneToClear
SPEED
- read-only
+ read-write
[4:4]
Bus in suspended state. Valid for device and host. Host and device will go into suspend if neither Keep Alive / SOF frames are enabled.
+ oneToClear
SUSPENDED
@@ -41389,7 +41461,7 @@
read-only
[11:11]
- Source: SIE_STATUS.VBUS_DETECT
+ Source: SIE_STATUS.VBUS_DETECTED
VBUS_DETECT
@@ -41517,7 +41589,7 @@
read-write
[11:11]
- Source: SIE_STATUS.VBUS_DETECT
+ Source: SIE_STATUS.VBUS_DETECTED
VBUS_DETECT
@@ -41645,7 +41717,7 @@
read-write
[11:11]
- Source: SIE_STATUS.VBUS_DETECT
+ Source: SIE_STATUS.VBUS_DETECTED
VBUS_DETECT
@@ -41773,7 +41845,7 @@
read-only
[11:11]
- Source: SIE_STATUS.VBUS_DETECT
+ Source: SIE_STATUS.VBUS_DETECTED
VBUS_DETECT
@@ -42112,14 +42184,14 @@
read-only
0x003c
- Read to sample the pad output values PIO is currently driving to the GPIOs.
+ Read to sample the pad output values PIO is currently driving to the GPIOs. On RP2040 there are 30 GPIOs, so the two most significant bits are hardwired to 0.
DBG_PADOUT
0x00000000
read-only
0x0040
- Read to sample the pad output enables (direction) PIO is currently driving to the GPIOs.
+ Read to sample the pad output enables (direction) PIO is currently driving to the GPIOs. On RP2040 there are 30 GPIOs, so the two most significant bits are hardwired to 0.
DBG_PADOE
0x00000000
@@ -42157,7 +42229,7 @@
Write-only access to instruction memory location 0
- read-write
+ write-only
[15:0]
INSTR_MEM0
@@ -42170,7 +42242,7 @@
Write-only access to instruction memory location 1
- read-write
+ write-only
[15:0]
INSTR_MEM1
@@ -42183,7 +42255,7 @@
Write-only access to instruction memory location 2
- read-write
+ write-only
[15:0]
INSTR_MEM2
@@ -42196,7 +42268,7 @@
Write-only access to instruction memory location 3
- read-write
+ write-only
[15:0]
INSTR_MEM3
@@ -42209,7 +42281,7 @@
Write-only access to instruction memory location 4
- read-write
+ write-only
[15:0]
INSTR_MEM4
@@ -42222,7 +42294,7 @@
Write-only access to instruction memory location 5
- read-write
+ write-only
[15:0]
INSTR_MEM5
@@ -42235,7 +42307,7 @@
Write-only access to instruction memory location 6
- read-write
+ write-only
[15:0]
INSTR_MEM6
@@ -42248,7 +42320,7 @@
Write-only access to instruction memory location 7
- read-write
+ write-only
[15:0]
INSTR_MEM7
@@ -42261,7 +42333,7 @@
Write-only access to instruction memory location 8
- read-write
+ write-only
[15:0]
INSTR_MEM8
@@ -42274,7 +42346,7 @@
Write-only access to instruction memory location 9
- read-write
+ write-only
[15:0]
INSTR_MEM9
@@ -42287,7 +42359,7 @@
Write-only access to instruction memory location 10
- read-write
+ write-only
[15:0]
INSTR_MEM10
@@ -42300,7 +42372,7 @@
Write-only access to instruction memory location 11
- read-write
+ write-only
[15:0]
INSTR_MEM11
@@ -42313,7 +42385,7 @@
Write-only access to instruction memory location 12
- read-write
+ write-only
[15:0]
INSTR_MEM12
@@ -42326,7 +42398,7 @@
Write-only access to instruction memory location 13
- read-write
+ write-only
[15:0]
INSTR_MEM13
@@ -42339,7 +42411,7 @@
Write-only access to instruction memory location 14
- read-write
+ write-only
[15:0]
INSTR_MEM14
@@ -42352,7 +42424,7 @@
Write-only access to instruction memory location 15
- read-write
+ write-only
[15:0]
INSTR_MEM15
@@ -42365,7 +42437,7 @@
Write-only access to instruction memory location 16
- read-write
+ write-only
[15:0]
INSTR_MEM16
@@ -42378,7 +42450,7 @@
Write-only access to instruction memory location 17
- read-write
+ write-only
[15:0]
INSTR_MEM17
@@ -42391,7 +42463,7 @@
Write-only access to instruction memory location 18
- read-write
+ write-only
[15:0]
INSTR_MEM18
@@ -42404,7 +42476,7 @@
Write-only access to instruction memory location 19
- read-write
+ write-only
[15:0]
INSTR_MEM19
@@ -42417,7 +42489,7 @@
Write-only access to instruction memory location 20
- read-write
+ write-only
[15:0]
INSTR_MEM20
@@ -42430,7 +42502,7 @@
Write-only access to instruction memory location 21
- read-write
+ write-only
[15:0]
INSTR_MEM21
@@ -42443,7 +42515,7 @@
Write-only access to instruction memory location 22
- read-write
+ write-only
[15:0]
INSTR_MEM22
@@ -42456,7 +42528,7 @@
Write-only access to instruction memory location 23
- read-write
+ write-only
[15:0]
INSTR_MEM23
@@ -42469,7 +42541,7 @@
Write-only access to instruction memory location 24
- read-write
+ write-only
[15:0]
INSTR_MEM24
@@ -42482,7 +42554,7 @@
Write-only access to instruction memory location 25
- read-write
+ write-only
[15:0]
INSTR_MEM25
@@ -42495,7 +42567,7 @@
Write-only access to instruction memory location 26
- read-write
+ write-only
[15:0]
INSTR_MEM26
@@ -42508,7 +42580,7 @@
Write-only access to instruction memory location 27
- read-write
+ write-only
[15:0]
INSTR_MEM27
@@ -42521,7 +42593,7 @@
Write-only access to instruction memory location 28
- read-write
+ write-only
[15:0]
INSTR_MEM28
@@ -42534,7 +42606,7 @@
Write-only access to instruction memory location 29
- read-write
+ write-only
[15:0]
INSTR_MEM29
@@ -42547,7 +42619,7 @@
Write-only access to instruction memory location 30
- read-write
+ write-only
[15:0]
INSTR_MEM30
@@ -42560,7 +42632,7 @@
Write-only access to instruction memory location 31
- read-write
+ write-only
[15:0]
INSTR_MEM31
@@ -44142,7 +44214,7 @@
GPIO output value set
- read-write
+ write-only
[29:0]
Perform an atomic bit-set on GPIO_OUT, i.e. `GPIO_OUT |= wdata`
GPIO_OUT_SET
@@ -44156,7 +44228,7 @@
GPIO output value clear
- read-write
+ write-only
[29:0]
Perform an atomic bit-clear on GPIO_OUT, i.e. `GPIO_OUT &= ~wdata`
GPIO_OUT_CLR
@@ -44170,7 +44242,7 @@
GPIO output value XOR
- read-write
+ write-only
[29:0]
Perform an atomic bitwise XOR on GPIO_OUT, i.e. `GPIO_OUT ^= wdata`
GPIO_OUT_XOR
@@ -44202,7 +44274,7 @@
GPIO output enable set
- read-write
+ write-only
[29:0]
Perform an atomic bit-set on GPIO_OE, i.e. `GPIO_OE |= wdata`
GPIO_OE_SET
@@ -44216,7 +44288,7 @@
GPIO output enable clear
- read-write
+ write-only
[29:0]
Perform an atomic bit-clear on GPIO_OE, i.e. `GPIO_OE &= ~wdata`
GPIO_OE_CLR
@@ -44230,7 +44302,7 @@
GPIO output enable XOR
- read-write
+ write-only
[29:0]
Perform an atomic bitwise XOR on GPIO_OE, i.e. `GPIO_OE ^= wdata`
GPIO_OE_XOR
@@ -44262,7 +44334,7 @@
QSPI output value set
- read-write
+ write-only
[5:0]
Perform an atomic bit-set on GPIO_HI_OUT, i.e. `GPIO_HI_OUT |= wdata`
GPIO_HI_OUT_SET
@@ -44276,7 +44348,7 @@
QSPI output value clear
- read-write
+ write-only
[5:0]
Perform an atomic bit-clear on GPIO_HI_OUT, i.e. `GPIO_HI_OUT &= ~wdata`
GPIO_HI_OUT_CLR
@@ -44290,7 +44362,7 @@
QSPI output value XOR
- read-write
+ write-only
[5:0]
Perform an atomic bitwise XOR on GPIO_HI_OUT, i.e. `GPIO_HI_OUT ^= wdata`
GPIO_HI_OUT_XOR
@@ -44322,7 +44394,7 @@
QSPI output enable set
- read-write
+ write-only
[5:0]
Perform an atomic bit-set on GPIO_HI_OE, i.e. `GPIO_HI_OE |= wdata`
GPIO_HI_OE_SET
@@ -44336,7 +44408,7 @@
QSPI output enable clear
- read-write
+ write-only
[5:0]
Perform an atomic bit-clear on GPIO_HI_OE, i.e. `GPIO_HI_OE &= ~wdata`
GPIO_HI_OE_CLR
@@ -44350,7 +44422,7 @@
QSPI output enable XOR
- read-write
+ write-only
[5:0]
Perform an atomic bitwise XOR on GPIO_HI_OE, i.e. `GPIO_HI_OE ^= wdata`
GPIO_HI_OE_XOR
@@ -44437,7 +44509,7 @@
Divider unsigned divisor\n
Write to the DIVISOR operand of the divider, i.e. the q in `p / q`.\n
Any operand write starts a new calculation. The results appear in QUOTIENT, REMAINDER.\n
- UDIVIDEND/SDIVIDEND are aliases of the same internal register. The U alias starts an\n
+ UDIVISOR/SDIVISOR are aliases of the same internal register. The U alias starts an\n
unsigned calculation, and the S alias starts a signed calculation.
DIV_UDIVISOR
0x00000000
@@ -44767,7 +44839,7 @@
0x00000000
- read-write
+ write-only
0x00bc
On write, the lower 16 bits go to BASE0, upper bits to BASE1 simultaneously.\n
Each half is sign-extended to 32 bits if that lane's SIGNED flag is set.
@@ -45029,7 +45101,7 @@
0x00000000
- read-write
+ write-only
0x00fc
On write, the lower 16 bits go to BASE0, upper bits to BASE1 simultaneously.\n
Each half is sign-extended to 32 bits if that lane's SIGNED flag is set.
@@ -45037,7 +45109,7 @@
0x00000000
- read-only
+ read-write
0x0100
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45049,7 +45121,7 @@
0x00000000
- read-only
+ read-write
0x0104
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45061,7 +45133,7 @@
0x00000000
- read-only
+ read-write
0x0108
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45073,7 +45145,7 @@
0x00000000
- read-only
+ read-write
0x010c
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45085,7 +45157,7 @@
0x00000000
- read-only
+ read-write
0x0110
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45097,7 +45169,7 @@
0x00000000
- read-only
+ read-write
0x0114
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45109,7 +45181,7 @@
0x00000000
- read-only
+ read-write
0x0118
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45121,7 +45193,7 @@
0x00000000
- read-only
+ read-write
0x011c
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45133,7 +45205,7 @@
0x00000000
- read-only
+ read-write
0x0120
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45145,7 +45217,7 @@
0x00000000
- read-only
+ read-write
0x0124
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45157,7 +45229,7 @@
0x00000000
- read-only
+ read-write
0x0128
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45169,7 +45241,7 @@
0x00000000
- read-only
+ read-write
0x012c
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45181,7 +45253,7 @@
0x00000000
- read-only
+ read-write
0x0130
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45193,7 +45265,7 @@
0x00000000
- read-only
+ read-write
0x0134
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45205,7 +45277,7 @@
0x00000000
- read-only
+ read-write
0x0138
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45217,7 +45289,7 @@
0x00000000
- read-only
+ read-write
0x013c
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45229,7 +45301,7 @@
0x00000000
- read-only
+ read-write
0x0140
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45241,7 +45313,7 @@
0x00000000
- read-only
+ read-write
0x0144
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45253,7 +45325,7 @@
0x00000000
- read-only
+ read-write
0x0148
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45265,7 +45337,7 @@
0x00000000
- read-only
+ read-write
0x014c
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45277,7 +45349,7 @@
0x00000000
- read-only
+ read-write
0x0150
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45289,7 +45361,7 @@
0x00000000
- read-only
+ read-write
0x0154
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45301,7 +45373,7 @@
0x00000000
- read-only
+ read-write
0x0158
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45313,7 +45385,7 @@
0x00000000
- read-only
+ read-write
0x015c
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45325,7 +45397,7 @@
0x00000000
- read-only
+ read-write
0x0160
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45337,7 +45409,7 @@
0x00000000
- read-only
+ read-write
0x0164
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45349,7 +45421,7 @@
0x00000000
- read-only
+ read-write
0x0168
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45361,7 +45433,7 @@
0x00000000
- read-only
+ read-write
0x016c
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45373,7 +45445,7 @@
0x00000000
- read-only
+ read-write
0x0170
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45385,7 +45457,7 @@
0x00000000
- read-only
+ read-write
0x0174
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45397,7 +45469,7 @@
0x00000000
- read-only
+ read-write
0x0178
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
@@ -45409,7 +45481,7 @@
0x00000000
- read-only
+ read-write
0x017c
Reading from a spinlock address will:\n
- Return 0 if lock is already locked\n
diff --git a/platform.json b/platform.json
index d75fb40..c1c2b49 100644
--- a/platform.json
+++ b/platform.json
@@ -12,13 +12,13 @@
"RP2040"
],
"engines": {
- "platformio": "^5"
+ "platformio": "^6"
},
"repository": {
"type": "git",
"url": "https://github.com/platformio/platform-raspberrypi.git"
},
- "version": "1.6.0",
+ "version": "1.7.0",
"frameworks": {
"arduino": {
"package": "framework-arduino-mbed",
@@ -41,7 +41,7 @@
"type": "framework",
"optional": true,
"owner": "platformio",
- "version": "~3.0.1"
+ "version": "~3.1.1"
},
"framework-arduinopico": {
"type": "framework",
diff --git a/platform.py b/platform.py
index c419ab2..106a8f4 100644
--- a/platform.py
+++ b/platform.py
@@ -12,11 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import sys
-import copy
import platform
-from platformio.managers.platform import PlatformBase
+from platformio.public import PlatformBase
class RaspberrypiPlatform(PlatformBase):
@@ -50,7 +48,7 @@ class RaspberrypiPlatform(PlatformBase):
# if we want to build a filesystem, we need the tools.
if "buildfs" in targets:
- self.packages['tool-mklittlefs']['optional'] = False
+ self.packages['tool-mklittlefs-rp2040-earlephilhower']['optional'] = False
# configure J-LINK tool
jlink_conds = [
@@ -67,16 +65,16 @@ class RaspberrypiPlatform(PlatformBase):
if not any(jlink_conds) and jlink_pkgname in self.packages:
del self.packages[jlink_pkgname]
- return PlatformBase.configure_default_packages(self, variables, targets)
+ return super().configure_default_packages(variables, targets)
def get_boards(self, id_=None):
- result = PlatformBase.get_boards(self, id_)
+ result = super().get_boards(id_)
if not result:
return result
if id_:
return self._add_default_debug_tools(result)
else:
- for key, value in result.items():
+ for key in result:
result[key] = self._add_default_debug_tools(result[key])
return result
@@ -131,7 +129,6 @@ class RaspberrypiPlatform(PlatformBase):
def configure_debug_session(self, debug_config):
adapter_speed = debug_config.speed or "5000"
-
server_options = debug_config.server or {}
server_arguments = server_options.get("arguments", [])
if "interface/cmsis-dap.cfg" in server_arguments: