Skip to content

SparkFun updates for the PSRAM draft/work #3

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

Open
wants to merge 88 commits into
base: feature/psram
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
5a032da
lib/pico-sdk: Update to new rp2350 version.
dpgeorge Aug 8, 2024
9a9ceeb
lib/tinyusb: Update to support RP2350.
dpgeorge Aug 8, 2024
72d47a7
shared/tinyusb: Use new persistent-tx-fifo configure interface.
dpgeorge Aug 7, 2024
eb9e471
rp2/boards: Add RPI_PICO2 board.
peterharperuk May 22, 2024
d259bed
rp2/mpconfigport: Set MCU name for RP2350.
peterharperuk May 22, 2024
c29c969
rp2: Update custom linker scripts for new pico-sdk.
peterharperuk May 22, 2024
c3a2bd2
rp2/modmachine: Implement lightsleep for RP2350.
peterharperuk May 22, 2024
e5c098e
rp2/rp2_dma: Generalise DMA for RP2350.
peterharperuk Jun 3, 2024
2931e13
rp2: Integrate RP2350.
peterharperuk May 23, 2024
8d73218
rp2/CMakeLists.txt: Add float_conv_m33 for __aeabi_ul2f.
Gadgetoid Jun 28, 2024
49f9458
py/usermod.cmake: Check target exists.
Gadgetoid Jun 28, 2024
968086d
rp2: Add support for 48-pin RP2350 variant.
Gadgetoid Jul 1, 2024
7d90cf4
rp2/rp2_pio: Support RP2350A/B in rp2_pio.
Gadgetoid Jul 2, 2024
9d1045c
rp2: Pass gpio-num into make-pins.
peterharperuk Jul 8, 2024
9de998a
rp2: Fix RP2040 build issues.
peterharperuk Jul 9, 2024
b223805
rp2/machine_pin: Allow gpios >=32 to work.
peterharperuk Jul 10, 2024
3d84f06
rp2/rp2_pio: Raise error if pio_set_gpio_base fails.
peterharperuk Jul 10, 2024
1ebf9ec
rp2/machine_pin: Fix pin irq for pins > 32.
Gadgetoid Jul 8, 2024
e952692
rp2/clocks_extra: Update runtime_clocks_init.
peterharperuk Jul 10, 2024
c7e7106
rp2/machine_adc: Add ADC support for RP2350B.
Gadgetoid Aug 5, 2024
cef1b3c
rp2: Update to support RP2350-RISCV.
dpgeorge Aug 8, 2024
dec2561
rp2/mpconfigport: Enable RV32I native emitter on RISCV variants.
dpgeorge Aug 8, 2024
b42ad62
rp2/Makefile: Allow CMAKE_ARGS to be set by user.
dpgeorge Aug 8, 2024
1d5f792
rp2/machine_bitstream: Set SysTick reset value.
sfe-SparkFro Aug 5, 2024
19251f7
rp2/machine_uart: Allow new TX/RX pins on RP2350.
sfe-SparkFro Aug 6, 2024
6b4054c
rp2/mphalport: Implement mp_hal_ticks_cpu for RISCV using mcycle.
dpgeorge Aug 8, 2024
d99bd34
rp2/machine_bitstream: Implement bitstream for RISC-V using mcycle.
dpgeorge Aug 8, 2024
b10eec3
tests/ports/rp2: Update DMA test for higher freq CPU.
dpgeorge Aug 7, 2024
8e42463
tests/ports/rp2: Add simple UART test.
dpgeorge Aug 9, 2024
d06bf71
tools/ci.sh: Add RPI_PICO2 to CI.
dpgeorge Aug 9, 2024
cedb004
ports/rp2: PSRAM support.
Gadgetoid Aug 6, 2024
fd867f8
ports/rp2: PSRAM: Fix RP2040/Pico build.
Gadgetoid Aug 9, 2024
c945805
ports/rp2: Re-init PSRAM on CPU freq change.
Gadgetoid Aug 9, 2024
2a10aa6
ports/rp2: Make split-heap optional.
Gadgetoid Aug 9, 2024
4cb9a1c
ports/rp2: Compute QMI timing based on system clock.
MichaelBell Aug 11, 2024
2f05b87
ports/rp2: Fix garbage collection with large heap.
MichaelBell Aug 11, 2024
2be1fdf
ports/rp2: Remove flash timing control from PSRAM.
MichaelBell Aug 11, 2024
40ee10e
ports/rp2: Set flash divisor appropriately.
MichaelBell Aug 11, 2024
4b7b1af
ports/rp2: Reset flash timing before PSRAM timing.
MichaelBell Aug 15, 2024
870d858
ports/rp2: Add RP2350 slices to machine_pwm.
Gadgetoid Aug 15, 2024
684cb18
adding board def files for the SparkFun ProMicro RP2350
gigapod Aug 28, 2024
4e814d1
added freq for psram, and a few comments
gigapod Aug 28, 2024
b60484a
updated PSRAM logic based on work at SparkFun; cleaned up *magic numb…
gigapod Aug 28, 2024
9969d3f
lib/pico-sdk: Update to new rp2350 version.
dpgeorge Aug 8, 2024
1f2d23c
lib/tinyusb: Update to support RP2350.
dpgeorge Aug 8, 2024
e1fa6c2
shared/tinyusb: Use new persistent-tx-fifo configure interface.
dpgeorge Aug 7, 2024
8805abb
rp2/boards: Add RPI_PICO2 board.
peterharperuk May 22, 2024
fb2f955
rp2/mpconfigport: Set MCU name for RP2350.
peterharperuk May 22, 2024
8231d6e
rp2: Update custom linker scripts for new pico-sdk.
peterharperuk May 22, 2024
e10d3b2
rp2/modmachine: Implement lightsleep for RP2350.
peterharperuk May 22, 2024
5d7c56d
rp2/rp2_dma: Generalise DMA for RP2350.
peterharperuk Jun 3, 2024
ee6805e
rp2: Integrate RP2350.
peterharperuk May 23, 2024
e14d9ca
rp2/CMakeLists.txt: Add float_conv_m33 for __aeabi_ul2f.
Gadgetoid Jun 28, 2024
cef3691
py/usermod.cmake: Check target exists.
Gadgetoid Jun 28, 2024
5f99e4c
rp2: Add support for 48-pin RP2350 variant.
Gadgetoid Jul 1, 2024
0486a4c
rp2/rp2_pio: Add support for RP2350A/B in rp2_pio.
Gadgetoid Jul 2, 2024
f168c09
rp2: Pass gpio-num into make-pins.
peterharperuk Jul 8, 2024
805af30
rp2: Fix RP2040 build issues.
peterharperuk Jul 9, 2024
e856e80
rp2/machine_pin: Allow gpios >=32 to work.
peterharperuk Jul 10, 2024
a7f92d4
rp2/machine_pin: Fix pin irq for pins > 32.
Gadgetoid Jul 8, 2024
606e8c2
rp2/clocks_extra: Update runtime_clocks_init.
peterharperuk Jul 10, 2024
141a7c1
rp2/machine_adc: Add ADC support for RP2350B.
Gadgetoid Aug 5, 2024
cc214b1
rp2: Update to support RP2350-RISCV.
dpgeorge Aug 8, 2024
c056e80
rp2/mpconfigport: Enable RV32I native emitter on RISCV variants.
dpgeorge Aug 8, 2024
1275812
rp2/Makefile: Allow CMAKE_ARGS to be set by user.
dpgeorge Aug 8, 2024
9322e27
rp2/machine_bitstream: Set SysTick reset value.
sfe-SparkFro Aug 5, 2024
00f3223
rp2/machine_uart: Allow new TX/RX pins on RP2350.
sfe-SparkFro Aug 6, 2024
2393213
rp2/mphalport: Implement mp_hal_ticks_cpu for RISCV using mcycle.
dpgeorge Aug 8, 2024
6d027de
rp2/machine_bitstream: Implement bitstream for RISC-V using mcycle.
dpgeorge Aug 8, 2024
e008dbb
tests/ports/rp2: Update DMA test for higher freq CPU.
dpgeorge Aug 7, 2024
22b2f73
tests/ports/rp2: Add simple rp2-specific UART test.
dpgeorge Aug 9, 2024
df545f4
tools/ci.sh: Add RPI_PICO2 to CI.
dpgeorge Aug 9, 2024
89b17d1
rp2: Workaround pico_aon_timer timezone binary size increase.
projectgus Aug 13, 2024
a81963c
ports/rp2: PSRAM support.
Gadgetoid Aug 6, 2024
360e6ed
ports/rp2: PSRAM: Fix RP2040/Pico build.
Gadgetoid Aug 9, 2024
3cad8bb
ports/rp2: Re-init PSRAM on CPU freq change.
Gadgetoid Aug 9, 2024
562b929
ports/rp2: Make split-heap optional.
Gadgetoid Aug 9, 2024
aee2331
ports/rp2: Compute QMI timing based on system clock.
MichaelBell Aug 11, 2024
03c5d9f
ports/rp2: Fix garbage collection with large heap.
MichaelBell Aug 11, 2024
50dee90
ports/rp2: Remove flash timing control from PSRAM.
MichaelBell Aug 11, 2024
8070c71
ports/rp2: Set flash divisor appropriately.
MichaelBell Aug 11, 2024
291ca79
ports/rp2: Reset flash timing before PSRAM timing.
MichaelBell Aug 15, 2024
51cd340
ports/rp2: Add RP2350 slices to machine_pwm.
Gadgetoid Aug 15, 2024
4010a9f
ports/rp2: Fix rp2_pio for 48-pin RP2350B.
Gadgetoid Aug 30, 2024
ed4c0d2
comment tweak
gigapod Aug 30, 2024
c399dd2
updates/results from merge with the latest on the pimoroni-feature/ps…
gigapod Aug 30, 2024
e77a787
results of merge
gigapod Aug 30, 2024
16da9bd
enable split heap - include sram with psram in heap
gigapod Sep 8, 2024
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
Prev Previous commit
enable split heap - include sram with psram in heap
  • Loading branch information
gigapod committed Sep 8, 2024
commit 16da9bd8cae7ecff435bf72135cc9f81114c82c5
2 changes: 2 additions & 0 deletions ports/rp2/boards/SPARKFUN_PROMICRO_RP2350/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@
// PSRAM max frequency is based on VDD (see datasheet) - SparkFun Pro Micro RP2350 uses 3.3V => 109MHz
#define MICROPY_HW_PSRAM_MAX_SCK_HZ (109*1000*1000)

// Enable the heap split - heap is split between sram and psram memory
#define MICROPY_GC_SPLIT_HEAP (1)
// NeoPixel data GPIO25, power not toggleable