summaryrefslogtreecommitdiff
path: root/ports/raspberrypi/Makefile
AgeCommit message (Collapse)Author
2021-03-24Use GCC @file to shorten linker command lengthScott Shawcroft
This hopefully fixes linking on Windows with cmd.exe
2021-03-22Fix doc build and address feedbackScott 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-12Speed up a bit moreScott Shawcroft
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-10clean uphathach
2021-03-10rp2040 add double reset to uf2, also update pico-sdk to 1.1.0hathach
2021-03-03add 1sec timeouts for I2C read and writeDan Halbert
2021-03-01raspberrypi: allow directly specifying the original boot .S fileJeff Epler
.. all the necessary steps to transform it into a padded, checksummed file are now done by the build system. Since it is assigned by "?=", it _should_ be the case that individual builds can override it. I did not "test" this per se, but it gives the same content and checksum (except for the identifying comment with a path) as #4302.
2021-02-17raspberrypi: implement os.urandomJeff Epler
Since the datasheet cast some doubt on the strength of the "rosc_hw->randombit", I use the SHA256 hash function to create a high quality random seed from random values of uncertain entropy, as well as to generate a sequence of random values from that seed using SHA256 as a cryptographically-secure random number generator. In practice, it produces over 100kB/s of random data which does not have any gross problems according to _PractRand_.
2021-02-09Add PWM based audio playbackScott Shawcroft
See https://learn.adafruit.com/circuitpython-essentials/circuitpython-audio-out to get started. Fixes #4037
2021-02-05Update to the very latest SDK w/GP15 restoreScott Shawcroft
Also adds unique id support Fixes #4039 and hopefully #4107
2021-02-02rtc implementation for rp2040microDev
2021-01-20Temporarily turn off string op overflow checkScott Shawcroft
2021-01-20Add initial RP2040 supportScott Shawcroft
The RP2040 is new microcontroller from Raspberry Pi that features two Cortex M0s and eight PIO state machines that are good for crunching lots of data. It has 264k RAM and a built in UF2 bootloader too. Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf