Commit Graph

27717 Commits

Author SHA1 Message Date
Jeff Epler 33d6d55675
the basics work
the sequence has to be a minimum length, 8 entries, but this problem
is not detected. I don't THINK this is an insurmountable problem.
2022-04-19 15:14:50 -05:00
Alec Delaney 3a5973084f
Add return type for 3-argument random.randrange() 2022-04-19 16:14:01 -04:00
Alec Delaney 9274e6a681 Fix signature of random.randrange() to show multiple signatures in stub 2022-04-19 14:13:38 -04:00
Alec Delaney 211d42f58d Change value of base in math.log to e 2022-04-19 13:27:46 -04:00
Dan Halbert 36e7b49ddd update all frozen libraries 2022-04-19 13:26:10 -04:00
Siyabend Ürün 59ccbc6316
Translated using Weblate (Turkish)
Currently translated at 12.6% (133 of 1052 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-04-19 19:07:44 +02:00
Alec Delaney 20cc40a30f Merge branch 'doc/add-log-documentation' of https://github.com/tekktrik/circuitpython into doc/add-log-documentation 2022-04-19 12:57:55 -04:00
Alec Delaney 63c18ce748 Change signature of math.log() to use value for base 2022-04-19 12:57:42 -04:00
Dan Halbert af59f4938a
Missing double-quote 2022-04-19 12:57:22 -04:00
Jeff Epler 33f5598acc
Stub 'continuous write' functionality 2022-04-19 11:35:43 -05:00
Alec Delaney 2e2e3ad612 Add documentation for math.log() 2022-04-19 11:46:39 -04:00
Alec Delaney e73c5c768b Update documentation for end param in SPI.readinto() 2022-04-19 11:23:39 -04:00
foamyguy 6e3fe07943 remove redundant type check. remove blank line. revert locale change 2022-04-19 09:07:35 -05:00
Neradoc 17bba7b17d remove Adafruit_CircuitPython_BusDevice from frozen modules, it's built in now 2022-04-19 06:49:11 +02:00
foamyguy 459f896dd4 remove refactored function 2022-04-18 20:36:41 -05:00
foamyguy 9fdd804365 enforce new bitmap same size as previous 2022-04-18 20:31:47 -05:00
Dan Halbert 6425e937b5
Merge pull request #6289 from stonehippo/samd51_mm_flash
Samd51 mm flash
2022-04-18 18:59:58 -04:00
KurtE eab4867e61 Remove dead replaced code
As requested, I removed the dead code that was replaced
2022-04-18 15:46:36 -07:00
foamyguy d94f6b8f07 update frozen requests 2022-04-18 12:07:07 -05:00
foamyguy 65f085709c back to not using function 2022-04-18 10:25:49 -05:00
George White a068b6ba27 guard external flash setup hook 2022-04-18 14:59:30 +00:00
Dan Halbert 87b3998d66
Merge pull request #6291 from urunsiyabend/patch-1
New Turkish translations
2022-04-18 10:12:13 -04:00
George White 3b5171c4ff Move hook implementation to supervisor 2022-04-18 14:09:36 +00:00
Dan Halbert 4ab3881a82
Merge pull request #6282 from xuhow/elecfreaks_picoed
Elecfreaks picoed
2022-04-18 10:07:17 -04:00
George White 32fc084b39 Removed compiler flag in favor of MP_WEAK implementation 2022-04-18 13:10:12 +00:00
George White 0ba93b20e5 Setup flash pins on Sparkfun SAMD51 Micromod 2022-04-18 13:10:12 +00:00
George White f502703e52 Add hook to do some flash setup before filesystem init 2022-04-18 13:10:12 +00:00
Siyabend Ürün 92f2c6e53e
New Turkish translations 2022-04-18 07:04:39 +03:00
mjs513 208bfb33aa Deleted Warnings Chanaged ValueError Method 2022-04-17 15:04:16 -04:00
Mark 4f04cee729
Merge pull request #6283 from Neradoc/nera-fix-keypad-doc
Fixes to keypad docs
2022-04-16 17:45:28 -05:00
KurtE 02a0939d2e Fix PWM Support for the MIMXRT boards
There were two main issues with the PWM support.

The first is they would fail to work properly if the board goes
into low power mode, when you do things like:     time.sleep(0.25)
Can make partially work with this by turning on the proper flags
in each of the FlexPWMTimer Timers/sub-timers, but this did not
appear to work if for example you have both A and B channels
enabled.

Second main problem is that the code did not work with the X
channel of each timer/sub-timer.  It looks like someone had
earlier started support for this, But was not sufficient.

Needed to bypass the SDK code and get it closer to the PJRC code.

That is we set the PWM_CTRL_FULL_MASK, which then uses  base->SM[submodule].VAL1  to control
when the timer is reset, so it sets up your cycle/frequency.  But then this implies that X channel
which uses 0, 1 has to be handled specially. So for the different channels:
    A - Uses VAL2 to turn on (0) and VAL3=duty to turn off
    B - Uses VAL4 to turn on (0) and VAL5 to turn off
    X - As mentioned above VAL1 turns off, but its set to the timing for freqency. so
        VAL0 turns on, so we set it to VAL1 - duty
2022-04-16 09:00:45 -07:00
mjs513 0b6c451fdf Add Overclocking Warnings to Processor.c 2022-04-16 11:01:50 -04:00
Neradoc 3c111ba338 fix the keypad doc 2022-04-15 21:51:40 +02:00
mjs513 fd41c1ac5b Update based on PR Comments 2022-04-14 06:45:16 -04:00
Xu Hao 9c1b44a030 Modify USB VID and PID of the Pico:ed 2022-04-14 17:42:04 +08:00
ViktorWiz b30d2e0889 update w5100s-evb-pico mpconfigboard.h 2022-04-14 14:35:23 +09:00
mjs513 7a30176b49 Fix Build Errors for Other Boards 2022-04-13 13:44:22 -04:00
root 716497c132 corrected pre-commit errors 2022-04-13 12:04:28 -04:00
root 60e330fb0d Added Settable Clock for MIMXRT BOARDS 2022-04-13 09:47:55 -04:00
ZodiusInfuser 8cce2e6406 Updated motor pin names 2022-04-12 15:20:28 +01:00
Xu Hao 71a7ec6f76 Add ELECFREAKS Pico:ed board. 2022-04-12 16:10:02 +08:00
Dan Halbert 7be66a5733
Merge pull request #6265 from KurtE/teensyMM
Add Teensy MicroMod board
2022-04-11 12:31:42 -04:00
KurtE f95a68a37c Rename the board name
Renamed the board both name of directory within boards, but also the
name reported board name: board_id -- sparkfun_teensy_micromod

Adafruit CircuitPython 7.3.0-beta.0-10-g2a3eb49da-dirty on 2022-04-10; SparkFun Teensy MicroMod Processor with IMXRT1062DVL6A
2022-04-10 16:56:51 -07:00
foamyguy cea55cde9f enforce bitmap and tile_size in set_bitmap 2022-04-10 11:13:42 -05:00
Limor "Ladyada" Fried df74c681d2
Merge pull request #6273 from KurtE/t4x_board_dir_add_txrx_names
Add to board object other Serial and I2c pin names
2022-04-10 12:08:41 -04:00
foamyguy 948040f1f0 disable onewire instead of displayio on boards without room 2022-04-10 10:00:37 -05:00
KurtE ecf2f1c80c Add to board object other Serial and I2c pin names
While testing out this and the new MicroMod Teensy port, @mjs513
and myself found it desirable to have logical pin names for the
different Serial UART objects.  It is a lot easier and clearer
to use and maintain to do something
like: uart4 = busio.UART(board.TX4, board.RX4)
than have to go look up the pin numbers for each board.
2022-04-10 05:39:43 -07:00
Dan Halbert 4a65664c98
Merge pull request #6272 from dhalbert/feather_esp32_s2_tft-fix
Force pin 21 high; patch; need to diagnose further
2022-04-09 23:21:44 -04:00
Dan Halbert 7d4bb12f97
Merge pull request #6266 from ladyada/main
msys at least breaks elsewhere now
2022-04-09 23:21:25 -04:00
Dan Halbert c3cfbc1259 Force pin 21 high; patch; need to diagnose further 2022-04-09 22:03:16 -04:00