summaryrefslogtreecommitdiff
path: root/ports/raspberrypi
AgeCommit message (Collapse)Author
2021-03-31raspberypi: Allow mpconfigboard to override additional itemsJeff Epler
This allows more options to be overridden to 0 in an mpconfigboard.mk. Improved: * FRAMEBUFFERIO, FULL_BUILD, BITOPS, PWMIO, RGBMATRIX, OTARYIO, PULSEIO, WATCHDOG Still problematic (pull requests welcome): * RP2PIO & NEOPIXEL_WRITE, possibly only if a status neopixel is defined * BITBANGIO, possibly only if BUSIO is enabled * RTC Incidentally, with RP2PIO & NEOPIXEL_WRITE, BITBANGIO, and RTC re-enabled I get ``` 323956 bytes used, 720524 bytes free in flash firmware space out of 1044480 bytes (1020.0kB). 12072 bytes used, 250072 bytes free in ram for stack and heap out of 262144 bytes (256.0kB). ``` Closes #4515
2021-03-29Calculate RP2040 SDA hold timeDan Halbert
2021-03-26Incorporate https://github.com/adafruit/pico-sdk/pull/2Dan Halbert
2021-03-25Merge pull request #4378 from Gadgetoid/patch-remove-rp2040-i2c-bitbangDan Halbert
RP2040: Remove short-write bitbang from I2C
2021-03-24Use GCC @file to shorten linker command lengthScott Shawcroft
This hopefully fixes linking on Windows with cmd.exe
2021-03-23Improve Winbond naming and correct board settingsScott Shawcroft
2021-03-22Merge remote-tracking branch 'adafruit/main' into rp2040_flashScott Shawcroft
2021-03-22Fix doc build and address feedbackScott Shawcroft
2021-03-21qtpy is more of a button than a switch! add itsybitsy rev C fileslady ada
2021-03-21add USBBOOT switch, move RX pin, re-enable UART (tested)lady ada
2021-03-19Add requirements-dev.txt for python depsScott Shawcroft
2021-03-18Redo RP2040 flash settingsScott Shawcroft
This switches stage2 to C and uses Jinja to change the C code based on flash settings from https://github.com/adafruit/nvm.toml. It produces the fastest settings for the given set of external flashes. Flash size is no longer hard coded so switching flashes with similar capabilities but different sizes should *just work*. This PR also places "ITCM" code in RAM to save the XIP cache for code execution. Further optimization is possible. A blink code.py still requires a number of flash fetches every blink. Fixes #4041
2021-03-17Merge pull request #4419 from spe2/mainScott Shawcroft
Add board definition for Sparkfun Pro Micro RP2040
2021-03-17Merge pull request #4411 from mintakka/thingplus-rp2040Jeff Epler
added board configuration for Sparkfun ThingPlus RP2040
2021-03-17RP2040: Only bitbang 0-byte writesPhil Howard
The I2C.c for RP2040 included a special case for writes <=2 bytes to match the MicroPython implementation, however RP2040 does support 1 and 2 byte reads, with only 0 bytes being the exception. Signed-off-by: Philip Howard <phil@pimoroni.com>
2021-03-16renamed board folder to match board name in boards.ymlmintakka
2021-03-16Update ports/raspberrypi/boards/sparkfun_pro_micro_rp2040/mpconfigboard.mkspe2
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16Update ports/raspberrypi/boards/sparkfun_pro_micro_rp2040/mpconfigboard.hspe2
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16Update ports/raspberrypi/boards/sparkfun_thingplus_rp2040/mpconfigboard.hmintakka
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16Update ports/raspberrypi/boards/sparkfun_thingplus_rp2040/mpconfigboard.mkmintakka
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16Fixed formattinggamblor21
2021-03-15Add board config filesspe2
2021-03-15Create pins.cspe2
2021-03-15added sparkfun_thingplus_rp2040 to .github/workflows/boards.yml and renamed ↵mintakka
board folder to include chip
2021-03-15Update ports/raspberrypi/boards/sparkfun_thingplus/mpconfigboard.hmintakka
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-15Update ports/raspberrypi/boards/sparkfun_thingplus/mpconfigboard.mkmintakka
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-15Merge branch 'main' into rp_dp_parallelMark
2021-03-15Merge pull request #4405 from DavePutz/issue_4237Scott Shawcroft
Issue 4237 - Changed initial setting in program_struct
2021-03-15added board configuration for Sparkfun ThingPlus RP2040mintakka
2021-03-15run code formatting scriptmicroDev
2021-03-14Fixed initial settings for program_struct to allow more than 1 program per pioroot
2021-03-13Merge pull request #4393 from tannewt/raise_default_flash_speedDan Halbert
Speed up a bit more
2021-03-12Merge pull request #4262 from DavePutz/issue_4111Scott Shawcroft
Issue 4111 - Implement pulseio(pulsein) for RP2040
2021-03-12Speed up a bit moreScott Shawcroft
2021-03-12Added the correct filesDavePutz
2021-03-12Use StateMachine.c interrupt setup and simplify SM programDavePutz
2021-03-12Lower default flash speed.Scott Shawcroft
/ 6 leads to ~40mhz. 2M and 4M have a max 0x03 read speed of 60mhz. If the divisor is / 4 then the speed is just over 60mhz. Fixes #4377
2021-03-11Fix after rebasegamblor21
2021-03-11Changed frequency to match PIO having 2 instructionsgamblor21
2021-03-11Set frequency default 60Mhzgamblor21
2021-03-11Set the statemachine to never reset so REPL worksgamblor21
2021-03-11Updated to initalize pindirsgamblor21
2021-03-11Add frequency support to parallel busgamblor21
2021-03-11Removing debug info and clean upgamblor21
2021-03-11Initial commitgamblor21
2021-03-11Merge pull request #4380 from jepler/rp2040-audiomp3Jeff Epler
raspberrypi: Enable mp3 playback
2021-03-10raspberrypi: RTC: Ensure a time is setJeff Epler
Until a time is set, the RTC is not running, and rtc_get_datetime() returns false without assigning to the out-parameter. In CircuitPython, this would manifest as arbitrary values being returned, since uninitialized storage on the stack was being converted into a timestamp.
2021-03-10raspberrypi: Enable mp3 playbackJeff Epler
The rp2040 is _very_ marginal for mp3 playback, and currently sometimes triggers a bug that gives garbled audio output. However, it does work for some limited situations.
2021-03-10clean uphathach
2021-03-10rp2040 add double reset to uf2, also update pico-sdk to 1.1.0hathach