Jeff Epler
a580f0f1c4
_pew: move to common-hal
...
I noticed that this code was referring to samd-specific functionality,
and isn't enabled except in one samd board (pewpew10). Move it.
There is incomplte support for _pew in mimxrt10xx which then caused build
errors; adding a #if guard to check for _pew being enabled fixes it.
The _pew module is not likely to be important on mimxrt but I'll leave the
choice to remove it to someone else.
2020-06-22 10:45:27 -05:00
Lucian Copeland
93cffaa87e
Fix pin macros typo, add extra flash protection
2020-06-05 16:43:08 -04:00
Scott Shawcroft
6400113bb9
Merge pull request #3001 from hierophect/mimxrt-teensy-boot
...
mimxrt10xx: Disable pin_reset on 1060 boards
2020-06-05 10:28:53 -07:00
Lucian Copeland
74effeeefd
Add temporary fix warning
2020-06-04 13:30:07 -04:00
Lucian Copeland
c93ccd1e91
Disable pin resets on the 1060
2020-06-03 12:07:08 -04:00
Diego Elio Pettenò
dd5d7c86d2
Fix up end of file and trailing whitespace.
...
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00
Lucian Copeland
b5b9a56918
Update teensy 4.0/4.1 pin protections
2020-06-02 18:05:59 -04:00
Scott Shawcroft
ddcae19254
Merge pull request #2964 from hierophect/mimxrt-busio-cleanup
...
mimxrt10xx: Busio cleanup and bugfixes
2020-05-29 10:42:16 -07:00
Lucian Copeland
fe75c7793c
Fix SWO/Analog overlap, style changes
2020-05-29 12:19:37 -04:00
Scott Shawcroft
796373b8be
A number of small ESP32S2 fixes:
...
* Fix flash writes that don't end on a sector boundary. Fixes #2944
* Fix enum incompatibility with IDF.
* Fix printf output so it goes out debug UART.
* Increase stack size to 8k.
* Fix sleep of less than a tick so it doesn't crash.
2020-05-28 15:43:55 -07:00
Lucian Copeland
fd00bb8b7f
Fix pin reset flash conflict error
2020-05-28 12:15:21 -04:00
Lucian Copeland
a59798ed49
Merge branch 'mimxrt-uart-oneway' into mimxrt-busio-cleanup
2020-05-27 12:31:16 -04:00
Lucian Copeland
9f5520135c
translations
2020-05-27 11:54:52 -04:00
Lucian Copeland
a25e10ed59
Merge branch 'mimxrt-uart-oneway' of https://github.com/hierophect/circuitpython into mimxrt-uart-oneway
2020-05-27 11:49:11 -04:00
Lucian Copeland
1e914ac2b0
Change exception text and type
2020-05-27 11:48:52 -04:00
Lucian Copeland
53fb699436
Add pin resetting across boards, fix array size detection issue
2020-05-27 11:45:15 -04:00
arturo182
ad988013f0
Merge pull request #2961 from arturo182/i2c-exception
...
mimxrt10xx: Change exception type to match other ports
2020-05-27 11:24:46 +02:00
arturo182
d6c59c4de0
mimxrt10xx: Change exception type to match other ports
2020-05-26 22:36:30 +02:00
Lucian Copeland
d95022f7bb
Merge remote-tracking branch 'upstream/master' into mimxrt-busio-cleanup
2020-05-22 13:33:08 -04:00
hierophect
fe10a45533
Merge branch 'master' into mimxrt-uart-oneway
2020-05-22 11:32:41 -04:00
Lucian Copeland
75b5142954
Minor style changes and translations
2020-05-22 11:31:52 -04:00
Scott Shawcroft
3bb6a32a20
Merge branch 'master' into esp32s2_digitalio
2020-05-21 08:52:39 -07:00
Scott Shawcroft
0af5dd59f2
Merge pull request #2898 from hierophect/mimxrt-claiming
...
MIMXRT: Implement pin claiming, pin reset, and pin protections
2020-05-20 11:32:22 -07:00
Scott Shawcroft
ba724fffb4
Merge remote-tracking branch 'adafruit/master' into esp32s2_digitalio
2020-05-20 10:48:27 -07:00
Lucian Copeland
66c09efae2
Add UART one-way instance search, fix bugs in stm32 implementation
2020-05-20 12:48:01 -04:00
Scott Shawcroft
fd0420d432
Update digitalio api for other ports
2020-05-20 09:23:42 -07:00
Scott Shawcroft
916ca9f8a6
Merge pull request #2910 from tannewt/esp32s2
...
Add initial ESP32S2 support
2020-05-19 12:53:23 -07:00
Lucian Copeland
38fd9c25f2
Re-add APA102
2020-05-19 15:33:34 -04:00
Lucian Copeland
b310b04007
Remove pin/port distinction
2020-05-19 14:20:07 -04:00
Lucian Copeland
2acd173e14
Implement core requested changes
2020-05-19 13:54:47 -04:00
Scott Shawcroft
2c2b53303d
Merge pull request #2837 from k0d/serial-debug
...
Add support for a debug console, such as ST-Link VCP.
2020-05-18 18:13:31 -07:00
Mark Olsson
007c92ee6a
Enable showing the console on a debug uart
2020-05-19 02:02:52 +02:00
Scott Shawcroft
cf690bd390
Merge remote-tracking branch 'adafruit/master' into esp32s2
2020-05-18 16:46:41 -07:00
Scott Shawcroft
32617d5f2f
Merge pull request #2925 from arturo182/imx-spi
...
mimxrt1010: Increase max SPI speed
2020-05-18 15:22:42 -07:00
arturo182
058a73128c
mimxrt10xx: Fix cpu.temperature crash
...
Fixes #2514
2020-05-18 22:30:50 +02:00
arturo182
f92d53eaab
mimxrt1010: Increase max SPI speed
2020-05-18 22:07:38 +02:00
Scott Shawcroft
3c1469b0a5
Add port_fixed_stack for more builds
2020-05-15 16:22:33 -07:00
Lucian Copeland
99538c2414
Implement pin claiming, pin reset, and pin protections
2020-05-15 15:16:51 -04:00
Daniel Pollard
ee2cb703c8
merged master
2020-05-12 14:41:28 +10:00
Scott Shawcroft
61450cbd56
Add Teensy 4.1 board definition
2020-05-11 13:58:58 -07:00
Scott Shawcroft
4519ddebeb
Merge pull request #2841 from hierophect/mimxrt-spi-oneway
...
mimxrt10xx: add one-directional SPI
2020-05-06 08:32:21 -07:00
Lucian Copeland
a1330747e8
text fixes, postpone warning disable
2020-05-05 12:46:30 -04:00
Daniel Pollard
bfa5cd9c13
refactor countio based on feedback
2020-05-05 15:23:38 +10:00
Dan Halbert
bae7a5e433
make translate again
2020-05-04 17:26:59 -04:00
Lucian Copeland
bc581fbdfb
Add-unidirectional-SPI
2020-05-01 13:15:38 -04:00
Dan Halbert
180f5c6a94
Merge remote-tracking branch 'adafruit/master' into ringbuf-fixes
2020-04-29 22:11:22 -04:00
Scott Shawcroft
755d404edf
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-27 16:45:10 -07:00
Dan Halbert
faa50df05f
Merge pull request #2817 from jepler/stm-linker-scripts
...
Standardize on FLASH_FIRMWARE section name in linker scripts
2020-04-27 18:43:26 -04:00
Jeff Epler
7eff89e9f9
linker scripts: Re-align at ":"
...
With "git show -b" you can verify that this is a whitespace only change
because the diff will be empty.
2020-04-27 12:47:52 -05:00
Jeff Epler
808b456927
mimxrt10xx: Use FLASH_FIRMWARE instead of FLASH_TEXT in linker scripts
...
for compatibility with the build_memory_info script
This change was scripted:
git grep -l FLASH_TEXT | xargs sed -i s/FLASH_TEXT/FLASH_FIRMWARE/
2020-04-27 08:07:47 -05:00