Skip to content

Commit 7214b5c

Browse files
authored
Merge pull request micropython#68 from wnienhaus/big-rename
Rename Project
2 parents e8a7656 + 50ea189 commit 7214b5c

File tree

9 files changed

+33
-33
lines changed

9 files changed

+33
-33
lines changed

AUTHORS

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
E-mail addresses listed here are not intended for support.
22

3-
py-esp32-ulp authors
4-
--------------------
5-
py-esp32-ulp is written and maintained by various contributors:
3+
micropython-esp32-ulp authors
4+
-----------------------------
5+
micropython-esp32-ulp is written and maintained by various contributors:
66

77
- Thomas Waldmann <[email protected]>
88
- Wilko Nienhaus <[email protected]>

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright 2018-2021 by the py-esp32-ulp authors, see AUTHORS file
3+
Copyright 2018-2022 by the micropython-esp32-ulp authors, see AUTHORS file
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
.. end-badges
99
10-
============
11-
py-esp32-ulp
12-
============
10+
=====================
11+
micropython-esp32-ulp
12+
=====================
1313

14-
py-esp32-ulp is an assembler toolchain for the ESP32 ULP (Ultra Low-Power)
14+
micropython-esp32-ulp is an assembler toolchain for the ESP32 ULP (Ultra Low-Power)
1515
Co-Processor, written in MicroPython.
1616

1717
It can translate small assembly language programs to a loadable/executable
@@ -43,10 +43,10 @@ To get going run the following directly on the ESP32:
4343

4444
.. code-block:: python
4545
46-
# Step 1: Install py-esp32-ulp
46+
# Step 1: Install micropython-esp32-ulp
4747
# IMPORTANT: Ensure the ESP32 is connected to a network with internet connectivity.
4848
import upip
49-
upip.install('micropython-py-esp32-ulp')
49+
upip.install('micropython-esp32-ulp')
5050
5151
# Step 2: Run an example
5252
# First, upload examples/counter.py to the ESP32.
@@ -66,7 +66,7 @@ Requirements
6666

6767
The minimum supported version of MicroPython is v1.12.
6868

69-
An ESP32 is required to run the ULP machine code binary produced by py-esp32-ulp
69+
An ESP32 is required to run the ULP machine code binary produced by micropython-esp32-ulp
7070
(the ESP32-S2 will not work as it is not binary compatible with the ESP32).
7171

7272

docs/index.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
py-esp32-ulp Documentation
2-
==========================
1+
micropython-esp32-ulp Documentation
2+
===================================
33

44
.. contents:: Table of Contents
55

@@ -19,7 +19,7 @@ On the ESP32, install using upip:
1919
2020
# ensure the ESP32 is connected to a network with internet connectivity
2121
import upip
22-
upip.install('micropython-py-esp32-ulp')
22+
upip.install('micropython-esp32-ulp')
2323
2424
On a PC, simply ``git clone`` this repo.
2525

@@ -36,7 +36,7 @@ data between the ULP and the main CPU.
3636

3737
Run the ``counter.py`` example:
3838

39-
1. Install py-esp32-ulp onto the ESP32 as shown above
39+
1. Install micropython-esp32-ulp onto the ESP32 as shown above
4040
2. Upload the `examples/counter.py </examples/counter.py>`_ file to the ESP32
4141
3. Run with ``import counter``
4242

@@ -54,8 +54,8 @@ follows:
5454

5555
.. code-block:: shell
5656
57-
git clone https://github.com/ThomasWaldmann/py-esp32-ulp.git
58-
cd py-esp32-ulp
57+
git clone https://github.com/micropython/micropython-esp32-ulp.git
58+
cd micropython-esp32-ulp
5959
micropython -m esp32_ulp path/to/code.S # this results in path/to/code.ulp
6060
6161
@@ -153,7 +153,7 @@ Testing
153153
There are unit tests and also compatibility tests that check whether the binary
154154
output is identical with what binutils-esp32ulp produces.
155155

156-
py-esp32-ulp has been tested on the Unix port of MicroPython and on real ESP32
156+
micropython-esp32-ulp has been tested on the Unix port of MicroPython and on real ESP32
157157
devices with the chip type ESP32D0WDQ6 (revision 1) without SPIRAM.
158158

159159
Consult the Github Actions `workflow definition file </.github/workflows/run_tests.yaml>`_

docs/preprocess.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Preprocessor
33
=====================
44

5-
py-esp32-ulp contains a small preprocessor, which aims to fulfill one goal:
5+
micropython-esp32-ulp contains a small preprocessor, which aims to fulfill one goal:
66
facilitate assembling of ULP code from Espressif and other open-source
77
projects to loadable/executable machine code without modification.
88

@@ -46,7 +46,7 @@ With the preprocessor, simply pass the source code via the preprocessor first:
4646
Using a "Defines Database"
4747
--------------------------
4848

49-
Because the py-esp32-ulp assembler was built for running on the ESP32
49+
Because the micropython-esp32-ulp assembler was built for running on the ESP32
5050
microcontroller with limited RAM, the preprocessor aims to work there too.
5151

5252
To handle large number of defined constants (such as the ``RTC_*`` constants from

setup.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import re
2-
import sdist_upip
32
from setuptools import setup
3+
import sdist_upip
44

55

66
def long_desc_from_readme():
@@ -17,18 +17,18 @@ def long_desc_from_readme():
1717

1818

1919
setup(
20-
name="micropython-py-esp32-ulp",
20+
name="micropython-esp32-ulp",
2121
use_scm_version={
2222
'local_scheme': 'no-local-version',
2323
},
2424
description="Assembler toolchain for the ESP32 ULP co-processor, written in MicroPython",
2525
long_description=long_desc_from_readme(),
2626
long_description_content_type='text/x-rst',
27-
url="https://github.com/ThomasWaldmann/py-esp32-ulp",
27+
url="https://github.com/micropython/micropython-esp32-ulp",
2828
license="MIT",
29-
author="py-esp32-ulp authors",
29+
author="micropython-esp32-ulp authors",
3030
author_email="[email protected]",
31-
maintainer="py-esp32-ulp authors",
31+
maintainer="micropython-esp32-ulp authors",
3232
maintainer_email="[email protected]",
3333
classifiers=[
3434
'License :: OSI Approved :: MIT License',

tests/01_compat_tests.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ for src_file in $(ls -1 compat/*.S); do
1414
src_name="${src_file%.S}"
1515

1616
echo "Testing $src_file"
17-
echo -e "\tBuilding using py-esp32-ulp"
17+
echo -e "\tBuilding using micropython-esp32-ulp"
1818
ulp_file="${src_name}.ulp"
1919
log_file="${src_name}.log"
2020
micropython -m esp32_ulp $src_file 1>$log_file # generates $ulp_file
@@ -34,9 +34,9 @@ for src_file in $(ls -1 compat/*.S); do
3434
echo -e "\tBuild outputs differ!"
3535
echo ""
3636
echo "Compatibility test failed for $src_file"
37-
echo "py-esp32-ulp log:"
37+
echo "micropython-esp32-ulp log:"
3838
cat $log_file
39-
echo "py-esp32-ulp output:"
39+
echo "micropython-esp32-ulp output:"
4040
xxd $ulp_file
4141
echo "binutils output:"
4242
xxd $bin_file

tests/02_compat_rtc_tests.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ for src_file in ulptool/src/ulp_examples/*/*.s binutils-esp32ulp/gas/testsuite/g
123123
# switch to the patched file instead of original one
124124
src_file="${src_dir}/${test_name}.tmp"
125125
src_name="${src_file%.tmp}"
126-
ulp_file="${src_name}.tmp.ulp" # when extension is not .s, py-esp32-ulp doesn't remove original extension
126+
ulp_file="${src_name}.tmp.ulp" # when extension is not .s, micropython-esp32-ulp doesn't remove original extension
127127
fi
128128
# END: work around known issues with binutils-esp32ulp
129129

130-
echo -e "\tBuilding using py-esp32-ulp"
130+
echo -e "\tBuilding using micropython-esp32-ulp"
131131
log_file="${src_name}.log"
132132
micropython -m esp32_ulp $src_file 1>$log_file # generates $ulp_file
133133

@@ -148,9 +148,9 @@ for src_file in ulptool/src/ulp_examples/*/*.s binutils-esp32ulp/gas/testsuite/g
148148
echo -e "\tBuild outputs differ!"
149149
echo ""
150150
echo "Compatibility test failed for $src_file"
151-
echo "py-esp32-ulp log:"
151+
echo "micropython-esp32-ulp log:"
152152
cat $log_file
153-
echo "py-esp32-ulp output:"
153+
echo "micropython-esp32-ulp output:"
154154
xxd $ulp_file
155155
echo "binutils output:"
156156
xxd $bin_file

tests/compat/jumps.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.text
22
.set const, 3
3-
.global const # exporting symbol is required for binutils, not important for py-esp32-ulp
3+
.global const # exporting symbol is required for binutils, not important for micropython-esp32-ulp
44

55
entry:
66
nop

0 commit comments

Comments
 (0)