Commit Graph

27747 Commits

Author SHA1 Message Date
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
BigTuna94
01cff3c4f8 add MIDI to frozen libs 2022-04-10 14:10:07 -04: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
foamyguy
7ad5fa511e disable displayio for some boards 2022-04-09 16:24:06 -05:00
foamyguy
16b81c855d adding bitmap property to TileGrid 2022-04-09 11:26:36 -05:00
lady ada
e5a613ba13 Revert "try reducing freq"
This reverts commit a9713b773f.
2022-04-09 11:39:09 -04:00
lady ada
3699cc7663 Merge branch 'main' of github.com:ladyada/circuitpython into main 2022-04-09 11:34:09 -04:00
lady ada
a9713b773f try reducing freq 2022-04-09 11:34:04 -04:00
Jeff Epler
b5ab73b111
whole conditional block no longer needed 2022-04-09 09:55:10 -05:00
Jeff Epler
3c70aa8845
Revert "fix paths with ('s or spaces"
This reverts commit f7b3247deb.
2022-04-09 08:49:26 -05:00
KurtE
7ff0036a26 Fix the pre-check stuff 2022-04-08 15:59:27 -07:00
lady ada
f7b3247deb fix paths with ('s or spaces 2022-04-08 17:44:28 -04:00
lady ada
d3a989f274 not sure why this changed...but it changed in mingw64? 2022-04-08 16:55:49 -04:00
lady ada
1f3dadcbb9 ok other waythen 2022-04-08 16:43:15 -04:00
lady ada
ea3dfa444a msys at least breaks elsewhere now 2022-04-08 16:39:47 -04:00
KurtE
2a3eb49da7 Update the pins.c
I fixed a couple issues in the pin name definitions.

The pin names are sort of Teensy centric in that the priority is given
to the pin names you would use in Arduino like D0, D1, ...

But also added names for the MicroMod names in particular the names
on the front of the ATP carrier board

Also updated manufacturer to be both PJRC and Sparkfun
2022-04-08 07:41:51 -07:00
Wai Weng
137aa83fac
Merge branch 'adafruit:main' into main 2022-04-08 10:31:36 +08:00
KurtE
93e9e3ad90 Fix end of line 2022-04-07 15:52:01 -07:00
KurtE
03e0acde94 Trying to cleanup the pre build messages 2022-04-07 14:11:22 -07:00
KurtE
83ffc617ba Merge branch 'teensyMM' of https://github.com/kurte/circuitpython into teensyMM 2022-04-07 14:08:31 -07:00
KurtE
2cb422fb19 Create W25Q128JV.ld
Add flash file needed for Teensy MicroMod,
2022-04-07 12:09:56 -07:00
Jeff Epler
766bf8f671
disable floppyio on kicksat-sprite 2022-04-07 10:57:37 -05:00
Jeff Epler
f7be4345d9
Merge remote-tracking branch 'origin/main' into floppy 2022-04-07 08:37:46 -05:00
ZodiusInfuser
769b182da4 Added definition for upcoming Pimoroni motor board 2022-04-07 07:24:55 +01:00
Dan Halbert
1f5744377c
Merge pull request #6262 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-04-06 21:40:02 -04:00
Hosted Weblate
9ec589ef0f
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2022-04-07 03:35:12 +02:00
Dan Halbert
d5deddcaf5
Merge pull request #6207 from domdfcoding/esp32-rotaryio
Add espressif rotaryio divisor support.
2022-04-06 21:35:02 -04:00
KurtE
a74ec22aa4 Start setting up a Teensy MicroMod port
I have done a first pass through the files
this also includes a new VID/PID from sparkfun
2022-04-06 17:58:22 -07:00
KurtE
219ef5e407 disable on mimxrt10xx (Teensy40 41) Serial port Hooks
As mentioned in issue #6241  the commit to setup port hooks is now
    causing all input/output that are to go to the Mu window to also
    go to the LpUart that is defined the port serial.c

    and in this case it goes to lpuart4, which on Teensy 4, 4.1 is
    used on Arduino Serial2.  With this new code this port no longer
    works properly.

    This is one way to solve it, in that there is a #if defined() that
    if not set, all of the code in this file is ignored and the higher
    level supervisor stub versions of these functions will be used, which
    don't interfere with Serial2 and my test sketch works again.

    Note: the PR for Switch to Port Serial Hooks, also changed code in
    other ports.  I have not tried to see how.

    There are other more global fixes for this, in which maybe a higer
    level  #if that disables the code within the top level supervisor.  Or
    could be software controlled

    Again this may not be the final solution, but at least it gets
    Serial2 up and running agin.
2022-04-06 15:58:27 -07:00
KurtE
ef9f9c8bf0 Update PID/VID and Flash 2022-04-06 15:22:24 -07:00
KurtE
a69738c592 Start setting up a Teensy MicroMod port 2022-04-06 14:19:38 -07:00