Commit graph

213 commits

Author SHA1 Message Date
foamyguy
9c5bb649b5 add docs link to readme 2021-10-25 11:29:47 -05:00
dherrada
353b204f49 Globally disabled consider-using-f-string pylint check
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-09-24 13:19:46 -04:00
dherrada
3fd2bf41d4 Moved CI to Python 3.7
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-05-24 11:35:39 -04:00
dherrada
f975609a38 Added help text and problem matcher
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-05-19 15:15:51 -04:00
dherrada
87196f3411 Added pull request template
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-05-19 14:04:03 -04:00
Jeff Epler
4fe8d3d43e
Merge pull request #20 from adafruit/jepler-frequency-too-low
correct a too-low frequency= value
2021-03-29 08:47:36 -05:00
Jeff Epler
51cebdf55a correct a too-low frequency= value 2021-03-27 11:59:33 -05:00
Scott Shawcroft
adc3ae56d9
Merge pull request #17 from gamblor21/mov_operators
Add all mov operators
2021-03-24 08:39:35 -07:00
gamblor21
bb7c5717ab Add case of op and then space 2021-03-23 14:12:46 -05:00
Scott Shawcroft
645d49a054
Merge pull request #19 from adafruit/add-tests
Add tests
2021-03-23 10:13:41 -07:00
bf9ae4ee28 run tests during ci 2021-03-22 21:11:11 -05:00
55bee3f66c fix an error while raising an invalid instruction error 2021-03-22 21:09:54 -05:00
9861fd06ac add some tests 2021-03-22 21:09:33 -05:00
Limor "Ladyada" Fried
a072ab087b
Merge pull request #18 from adafruit/jepler-rxuart-example
rxuart: Receive-only 8N1 UART
2021-03-22 12:13:10 -04:00
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
gamblor21
f3d4b2ff4c Black fix 2021-03-20 16:35:29 -05:00
gamblor21
1a5eed7263 Add all mov operators 2021-03-20 13:16:44 -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