e9858c3666
Add .set
2024-09-05 13:50:19 -05:00
ed74947440
Add .out directive
2024-09-05 13:46:47 -05:00
5659a2672a
Improve error handling of origin & mov_status directives
2024-09-05 13:18:49 -05:00
4deafa6c65
Add and test .in directive
2024-09-05 13:18:26 -05:00
ff1f57dfb1
Check directives that must come before an instruction
2024-09-05 13:13:20 -05:00
9874ce3f51
Start to consolidate argument range checking
2024-09-05 09:56:47 -05:00
cfa740077f
Improve line splitting
2024-09-05 09:55:08 -05:00
cfee88e040
Add .mov_status
2024-09-05 09:49:50 -05:00
3da0f6cea2
Add .fifo directive
2024-09-05 09:05:47 -05:00
a8fa218e45
Recognize .pio_version directive (integer arguments only)
2024-09-05 08:37:43 -05:00
be66c02eb3
Better diagnose the incorrect lines like "side 1" or "[5]"
...
Before this, the exception would be 'IndexError: list index out of range'.
Now it is 'Unknown instruction: side' or similar.
(These need an instruction, even if it's a `nop`: `nop side 1 [5]`)
2024-07-10 08:09:46 -05:00
Scott Shawcroft
73170ebf96
Merge pull request #64 from kbsriram/add-types
...
Add type annotations for library and tests.
2024-05-29 11:19:05 -07:00
KB Sriram
3e6a8bc392
Add type annotations for library and tests.
...
Verified that `mypy --strict adafruit_pioasm.py tests` runs without
errors.
Fixes: https://github.com/adafruit/Adafruit_CircuitPython_PIOASM/issues/24
2024-05-27 12:30:52 -07:00
Scott Shawcroft
41a7218ac6
Merge pull request #63 from kbsriram/add-out-tests
...
Add tests for "out" and "in".
2024-04-26 10:00:42 -07:00
KB Sriram
d87b4461ae
Add tests for "out" and "in".
...
Also added more descriptive errors for invalid
source/destination values.
Fixes https://github.com/adafruit/Adafruit_CircuitPython_PIOASM/issues/44
2024-04-25 22:50:39 -07:00
fcc52f3a92
Merge pull request #61 from Gebhartj/Gebhartj-patch-1
...
repair inscorect directive .offset to .origin
2024-01-25 20:58:18 -06:00
Gebhartj
05e0ae9acd
Update test_pseudo.py
2024-01-24 08:19:53 +01:00
Gebhartj
6ac60b4554
repair inscorect directive .offset to .origin
...
.offset directive do not exist in pioasm
2024-01-24 08:09:03 +01:00
foamyguy
2bc0deb3ab
unpin sphinx and add sphinx-rtd-theme to docs reqs
...
Signed-off-by: foamyguy <foamyguy@gmail.com>
2023-12-04 09:54:18 -06:00
foamyguy
9eed74c71f
"fix rtd theme
...
"
2023-09-18 16:23:44 -05:00
Scott Shawcroft
7ec05cdee3
Merge pull request #59 from jepler/offset-pseudo
...
support .offset pseudo-op
2023-08-07 09:29:34 -07:00
3bacee4ad2
support .offset pseudo-op
2023-08-05 15:57:13 -05:00
Scott Shawcroft
718dd1363d
Merge pull request #58 from jepler/fix-example-pio-kwargs
...
morse example: add missing pio_kwargs to constructor call
2023-07-27 09:08:29 -07:00
38962e7113
morse example: add missing pio_kwargs to constructor call
...
This appears to be the cause of a user's problems in #55 .
2023-07-27 10:22:52 -05:00
Alec Delaney
0d58eb4508
Merge pull request #57 from tekktrik/dev/use-pytest
...
Switch to pytest for testing
2023-05-26 06:18:07 -07:00
Tekktrik
66db505fc6
Switch to pytest
2023-05-24 12:57:35 -04:00
Tekktrik
fdc9da933d
Update .pylintrc, fix jQuery for docs
...
Signed-off-by: Tekktrik <tekktrik@gmail.com>
2023-05-23 21:10:35 -04:00
Tekktrik
9a18d68660
Update pre-commit hooks
...
Signed-off-by: Tekktrik <tekktrik@gmail.com>
2023-05-10 15:21:18 -04:00
Alec Delaney
7ff0a91ab0
Add upload url to release action
...
Signed-off-by: Alec Delaney <89490472+tekktrik@users.noreply.github.com>
2023-01-19 23:48:45 -05:00
Alec Delaney
630b5b2f9f
Add .venv to .gitignore
...
Signed-off-by: Alec Delaney <89490472+tekktrik@users.noreply.github.com>
2022-11-30 19:37:12 -05:00
Alec Delaney
179db15844
Update .pylintrc for v2.15.5
2022-11-04 18:34:33 -04:00
Alec Delaney
1a323f8bb5
Fix release CI files
2022-11-04 09:12:46 -04:00
Alec Delaney
549e65c126
Update pylint to 2.15.5
2022-11-04 08:15:21 -04:00
Alec Delaney
76ddce9378
Updated pylint version to 2.13.0
2022-11-04 00:47:00 -04:00
Alec Delaney
3994f4b234
Switching to composite actions
2022-11-04 00:02:50 -04:00
Dan Halbert
4fe48aea13
Merge pull request #52 from prcutler/issue50-morse-patterns
...
Fix issue #50 - E is a DIT and T is a DAH
2022-10-04 12:45:05 -04:00
Paul Cutler
5f1285d5d8
Fix issue #50 - E is a DIT and T is a DAH
2022-10-04 11:32:46 -05:00
Alec Delaney
6cd4217524
Use year duration range for copyright attribution
2022-08-23 17:26:22 -04:00
Alec Delaney
dc9d986ce1
Keep copyright up to date in documentation
2022-08-22 21:36:33 -04:00
Alec Delaney
16ca11e918
Fix version strings in workflow files
2022-08-16 21:09:16 -04:00
Alec Delaney
31fabd6150
Update version string
2022-08-16 18:09:15 -04:00
Alec Delaney
fca186158b
Add setuptools-scm to build system requirements
...
Signed-off-by: Alec Delaney <tekktrik@gmail.com>
2022-08-09 13:32:11 -04:00
Alec Delaney
0a0c1f4faf
Switched to pyproject.toml
2022-08-08 22:05:55 -04:00
evaherrada
db09380c37
Changed .env to .venv in README.rst
2022-07-22 13:59:10 -04:00
evaherrada
d451e5462f
Added cp.org link to index.rst
2022-06-07 15:34:48 -04:00
Alec Delaney
d8d9e0b63d
Set language to "en" for documentation
...
Signed-off-by: Alec Delaney <tekktrik@gmail.com>
2022-05-30 17:40:59 -04:00
Alec Delaney
cf5dfc211a
Increase min lines similarity
...
Signed-off-by: Alec Delaney <tekktrik@gmail.com>
2022-05-25 19:30:21 -04:00
Alec Delaney
d53adc1205
Patch .pre-commit-config.yaml
2022-05-15 12:49:38 -04:00
Anne Barela
74b6d672d9
Merge pull request #49 from jepler/undo-folder-structure
...
undo folder structure
2022-05-11 08:51:44 -04:00
f48569464e
undo folder structure
...
.. as requested by limor during guide review
2022-05-11 07:46:16 -05:00