Commit graph

47 commits

Author SHA1 Message Date
d51f129541 rxuart: Receive-only 8N1 UART
based on an example in the RP2040 datasheet.

Tested at a blazing 9600 baud!
2021-03-22 11:02:42 -05:00
dherrada
3046ca3b21 "Increase duplicate code check threshold
"
2021-03-19 13:48:29 -04:00
Scott Shawcroft
3ff94aa9da
Merge pull request #14 from adafruit/jepler-rotary-example
Add rotaryencoder example
2021-03-11 11:03:38 -08:00
5a7e52ced3 Add rotaryencoder example
This example requires https://github.com/adafruit/circuitpython/pull/4329 to be merged in order to work
2021-03-05 11:00:07 -06:00
Jeff Epler
74330ed3df
Merge pull request #9 from tannewt/audiobusio_examples
Add audiobusio examples and fix simple test frequency
2021-03-04 14:25:04 -06:00
Scott Shawcroft
2be7853ac4
Merge remote-tracking branch 'adafruit/main' into audiobusio_examples 2021-03-04 09:52:02 -08:00
Scott Shawcroft
342c1c1eae
Merge pull request #13 from FoamyGuy/pylintrc
pylintrc ignore imports
2021-03-04 09:49:42 -08:00
foamyguy
28a399ace7 pylintrc ignore imports 2021-03-04 07:52:06 -06:00
Kattni
c51d0c8da9
Merge pull request #12 from adafruit/jepler-examples-improvements
Fix the neopixel example
2021-03-02 11:12:18 -05:00
937357eab1 pioasm_neopixel: Adapt to various boards
On any board with a NEOPIXEL pin defined, use it.  Otherwise, arbitrarily
use D16 which is conveniently at a corner of the Pico board.

Send several different pixel colors so that the user can see it working.
2021-03-02 10:00:58 -06:00
dherrada
235dc408ec Removed pylint process from github workflow patch 2 2021-03-02 09:39:12 -06:00
Scott Shawcroft
94dccca5fb
Merge pull request #11 from adafruit/jepler-examples-improvements
Add some examples, improve the assembler
2021-02-25 14:19:48 -08:00
9399b4496a pylint 2021-02-25 16:08:42 -06:00
b5b8e35798 add blink example 2021-02-25 16:04:32 -06:00
d727e55a9d Explain why a needless jmp is here 2021-02-25 15:10:25 -06:00
b8e8c9279e Remove unneeded 'set pindirs', fix minimum frequency 2021-02-25 15:10:09 -06:00
8db157b7bb Explain where these examples come from 2021-02-25 15:03:14 -06:00
Scott Shawcroft
acb4fcb3f8
pylint: import order 2021-02-25 09:01:51 -08:00
9cf38ebea5 Pylint changes 2021-02-25 10:09:53 -06:00
0635463a78 disable a pylint diagnostic 2021-02-25 10:03:57 -06:00
0d56e195f4 run black 2021-02-25 10:01:23 -06:00
3ad9fae9f7 assemble: better diagnose jump to undefined label 2021-02-25 09:19:35 -06:00
ebdf4e3d6b assemble: Diagnose duplicate labels
Closes #10
2021-02-25 09:19:25 -06:00
72c2324ff5 Adapt first example from the Micropython book 2021-02-25 08:44:11 -06:00
3a64ca716b hello pio example 2021-02-24 10:09:06 -06:00
Scott Shawcroft
2adf61aae5
Add audiobusio examples and fix simple test frequency
This also uses newer pin auto-init.
2021-02-23 16:39:55 -08:00
Scott Shawcroft
a631797c0a
Merge pull request #8 from jepler/commas
split instructions on commas and whitespace
2021-02-12 11:06:28 -08:00
bfbd002c24 run black 2021-02-12 09:44:54 -06:00
f25d17af8e split instructions on commas and whitespace
All of the following now parse as `["mov", "pins", "1"]` and assemble to
0x6001:
```
out pins , 1 ;
out pins, 1  ;
out pins,1   ;
out pins ,1  ;
out pins 1   ;
```

This brings pioasm closer to what upstream's examples show

Closes: #7
2021-02-12 09:02:12 -06:00
dherrada
f227a506d2 Hardcoded Black and REUSE versions
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-02-10 16:33:35 -05:00
Scott Shawcroft
cf81c94093
Merge pull request #5 from dglaude/patch-1
Fix for "; comment only lines"
2021-02-03 19:18:48 -08:00
Scott Shawcroft
4ceb54bdef
Black 2021-02-03 18:56:17 -08:00
Scott Shawcroft
897358415d
Update adafruit_pioasm.py 2021-02-03 13:32:10 -08:00
David Glaude
ef66ca9010
Remove print in library.
library should not print
2021-02-02 21:48:54 +01:00
Scott Shawcroft
61c8964705
Update adafruit_pioasm.py 2021-02-02 10:36:18 -08:00
Scott Shawcroft
e0c625ca5f
Merge pull request #6 from LuminousOwl/fix-mov-op
Shift mov operator
2021-02-01 19:15:45 -08:00
luminousOwl
c4fbe187ab Shift mov operator 2021-02-01 19:12:36 -05:00
Scott Shawcroft
be730f2e01
Merge pull request #3 from LuminousOwl/fix-pull-parsing
Fix pull instruction parsing
2021-01-31 20:14:17 -08:00
David Glaude
f70126c059
My fix for "; comment only lines"
This should fix #4 but there might be a better way.
2021-02-01 00:28:05 +01:00
luminousOwl
e089e82e26 Fix pull instruction parsing 2021-01-30 12:16:48 -05:00
Scott Shawcroft
9fa2cc92e8
Merge pull request #2 from ryang14/patch-1
Fix wait source encoding
2021-01-25 17:54:25 -08:00
ryang14
e4f2740f40
Fix wait source encoding
Change the wait instruction encoding to shift the source by 5 bits instead of 4.
2021-01-25 20:44:49 -05:00
Scott Shawcroft
25618d8385
Merge pull request #1 from tannewt/fix-ci
All the linty things to fix CI
2021-01-21 16:11:34 -08:00
Scott Shawcroft
7dc5992975
Example lint and doc TODOs 2021-01-21 15:50:02 -08:00
Scott Shawcroft
7fc8625aea
Lint 2021-01-21 15:35:45 -08:00
Scott Shawcroft
5e8b820a52
Black 2021-01-21 15:26:20 -08:00
Scott Shawcroft
4cd0064413
Add initial PIOASM code 2021-01-21 10:01:11 -08:00