Skip to content

Commit e0c95d4

Browse files
committed
Initial upload
1 parent 9b307c6 commit e0c95d4

File tree

15,317 files changed

+9665316
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

15,317 files changed

+9665316
-1
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
name: Bug report
3+
about: Create a bug/issue report to contribute and get support
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
It is important to describe your problem clear enough in order to have a more efficient solution process.
11+
12+
Your description must include hardware info, detailed explanation of your problem, shortest code block to reproduce the error, expected behavior of the code block, exact error message and screenshots (if applicable).
13+
14+
------------------------------------------------ remove above ------------------------------------------------
15+
16+
### Hardware:
17+
Board | : | Deneyap Kart
18+
----- | - | ------------
19+
Core version | : | 1.0.0 or ?
20+
IDE | : | VSCode Pymakr or ?
21+
Computer OS | : | Win or ?
22+
23+
### Description:
24+
Describe your problem here.
25+
26+
### Code to reproduce the error:
27+
```python
28+
//Change the code below by your sketch
29+
import deneyap
30+
31+
while True:
32+
```
33+
34+
**Steps to reproduce the behavior:**
35+
1. Go to '...'
36+
2. Click on '....'
37+
3. Scroll down to '....'
38+
4. See error
39+
40+
### Expected behavior:
41+
A clear and concise description of what you expected to happen.
42+
43+
### Debug Messages:
44+
Copy error messages.
45+
46+
### Screenshots:
47+
If applicable, add screenshots to help explain your problem.
48+
49+
### Additional context:
50+
Add any other context about the problem here.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
name: Hata raporu
3+
about: Katkıda bulunmak ve destek almak için hata/sorun bildiriminde bulunun
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
Daha verimli bir çözüm süreci yönetebilmek adına, karşılaşmış olduğunuz sorunu detaylı bir şekilde tanımlamanız önem arz etmektedir.
11+
12+
Hazırlayacağınız rapor aşağıda bulunanan temel başlıkları içermelidir:
13+
- Kullanmış olduğunuz donanım
14+
- Sorununuza ilişkin detay içerik
15+
- Sorun yaşamış olduğunuz en temel kod bloğu
16+
- Bu kod bloğunun beklenen çıktısı
17+
- Karşılaşılan hata mesajı
18+
- Ekran görüntüsü (ihtiyaç olması halinde)
19+
20+
------------------------------------------------ buradan yukarısını silin ------------------------------------------------
21+
22+
### Donanım:
23+
Kart | : | Deneyap Kart
24+
---- | - | ------------
25+
Kütüphane versiyonu | : | 1.0.0 ya da ?
26+
IDE | : | VSCode Pymakr IDE ya da ?
27+
İşletim sistemi | : | Windows ya da ?
28+
29+
### Hata tanımı:
30+
Karşılaşmış olduğunu soruna ilişkin detaylı tanımlamayı burada yapın.
31+
32+
### Sorun yaşamış olduğunuz en temel kod bloğu:
33+
```python
34+
//Asagidaki kod blogunu sorun yasamis oldugunuz kod blogu ile degistiriniz
35+
import deneyap
36+
37+
while True:
38+
```
39+
40+
**Hata ile karşılaşırken gerçekleştirdiğiniz adımları belirtin:**
41+
1. Şuraya git '...'
42+
2. Şurayı tıkla '....'
43+
3. Aşağı kaydır '....'
44+
4. Hatayı gözlemle vb.
45+
46+
### Beklenen çıktı:
47+
Paylaşmış olduğunuz kod bloğunun beklenen davranışı nedir, burada açıklayın.
48+
49+
### Hata mesajı:
50+
Derleyici tarafından üretilen hata mesajını paylaşın.
51+
52+
### Ekran görüntüleri:
53+
Hatanızı tanımlarken size yardımcı olacağını düşündüğünüz ekran görüntülerini buraya ekleyin.
54+
55+
### Ek kaynak:
56+
Sorunuzu tanımlama için eklemek istediğiniz ek kaynakları burada paylaşın.

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
mpy-cross/build
2+
mpy-cross/mpy-cross.map
3+
ports/esp32/build-DENEYAPKART
4+
ports/esp32/boards/DENEYAPKART/examples
5+
py/__pycache__/makeqstrdata.cpython-38.pyc

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,32 @@
1-
# deneyapkart-micropython-core
1+
# Deneyap Kart MicroPython Core
2+
[FOR TURKISH VERSION](docs/others/README_tr.md) ![trflag](docs/others/tr.png)
3+
4+
Deneyap Kart, designed and manufactured in Turkey, is a powerful development board with its strong MCU, robust design and flexible GPIOs. It allows the users in all levels (beginners to professionals) to create, design and develop projects in the fields of Electronics, Internet of Things (IoT) and Artificial Intelligence (AI).
5+
6+
For more information, please visit [Deneyap Kart Technical Guide](https://docs.deneyapkart.org/#deneyap-kart) and [Deneyap Kart Official Website](https://deneyapkart.org).
7+
8+
## Contents
9+
- [Flashing Instructions](#flashing-instructions)
10+
- [Troubleshooting](#troubleshooting)
11+
- [Deneyap Kart Pinout](#deneyap-kart-pinout)
12+
13+
### Flashing Instructions
14+
- Install [Python 3](https://www.python.org/downloads/).
15+
- With Python 3 installed, open a Terminal window and install the latest stable **esptool** release with pip3:
16+
`pip3 install esptool`
17+
- Download latest [Deneyap Kart MicroPython firmware](https://github.com/deneyapkart/deneyapkart-micropython-core/releases/download/1.0.0/deneyapkart_micropython_v1.0.0.bin).
18+
- Find the Serial Port Name (**PORT**). You may get port name via Arduino IDE from **Tools > Port**.
19+
- Before flashing the MicroPython firmware, Deneyap Kart flash memory needs to be erased with the following command (change the **PORT** name with the one obtained in the previous step):
20+
```python
21+
esptool --chip esp32 --port <PORT> erase_flash
22+
```
23+
- With flash memory erased, flash the Deneyap Kart MicroPython firmware with the following command (change the **PORT** name and **DIR** based on your details):
24+
```python
25+
esptool --chip esp32 --port <PORT> --baud 460800 write_flash -z 0x1000 <DIR (Deneyap Kart MicroPython firmware path)>
26+
```
27+
28+
### Troubleshooting
29+
To report any issue/bug/problem etc., please make sure you have searched the similar encountered problems first. After that, if you are sure no on else had the same issue, use the [issue template](.github/ISSUE_TEMPLATE/bug_report.md) while reporting.
30+
31+
### Deneyap Kart Pinout
32+
![PinoutENG](docs/others/DeneyapKartPinoutENG_mpv1.0.png)

docs/Makefile

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
# Makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line.
5+
PYTHON = python3
6+
SPHINXOPTS = -W --keep-going
7+
SPHINXBUILD = sphinx-build
8+
PAPER =
9+
BUILDDIR = build/$(MICROPY_PORT)
10+
CPYDIFFDIR = ../tools
11+
CPYDIFF = gen-cpydiff.py
12+
GENRSTDIR = genrst
13+
# Run "make FORCE= ..." to avoid rebuilding from scratch (and risk
14+
# producing incorrect docs).
15+
FORCE = -E
16+
17+
# User-friendly check for sphinx-build
18+
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
19+
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
20+
endif
21+
22+
# Internal variables.
23+
PAPEROPT_a4 = -D latex_paper_size=a4
24+
PAPEROPT_letter = -D latex_paper_size=letter
25+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
26+
# the i18n builder cannot share the environment and doctrees with the others
27+
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
28+
29+
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
30+
31+
help:
32+
@echo "Please use \`make <target>' where <target> is one of"
33+
@echo " html to make standalone HTML files"
34+
@echo " dirhtml to make HTML files named index.html in directories"
35+
@echo " singlehtml to make a single large HTML file"
36+
@echo " pickle to make pickle files"
37+
@echo " json to make JSON files"
38+
@echo " htmlhelp to make HTML files and a HTML help project"
39+
@echo " qthelp to make HTML files and a qthelp project"
40+
@echo " devhelp to make HTML files and a Devhelp project"
41+
@echo " epub to make an epub"
42+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
43+
@echo " latexpdf to make LaTeX files and run them through pdflatex"
44+
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
45+
@echo " text to make text files"
46+
@echo " man to make manual pages"
47+
@echo " texinfo to make Texinfo files"
48+
@echo " info to make Texinfo files and run them through makeinfo"
49+
@echo " gettext to make PO message catalogs"
50+
@echo " changes to make an overview of all changed/added/deprecated items"
51+
@echo " xml to make Docutils-native XML files"
52+
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
53+
@echo " linkcheck to check all external links for integrity"
54+
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
55+
@echo " cpydiff to generate the MicroPython differences from CPython"
56+
57+
clean:
58+
rm -rf $(BUILDDIR)/*
59+
rm -f $(GENRSTDIR)/*
60+
61+
cpydiff:
62+
@echo "Generating MicroPython Differences."
63+
rm -f $(GENRSTDIR)/*
64+
cd $(CPYDIFFDIR) && $(PYTHON) $(CPYDIFF)
65+
66+
html: cpydiff
67+
$(SPHINXBUILD) $(FORCE) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
68+
@echo
69+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
70+
71+
dirhtml:
72+
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
73+
@echo
74+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
75+
76+
singlehtml:
77+
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
78+
@echo
79+
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
80+
81+
pickle:
82+
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
83+
@echo
84+
@echo "Build finished; now you can process the pickle files."
85+
86+
json:
87+
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
88+
@echo
89+
@echo "Build finished; now you can process the JSON files."
90+
91+
htmlhelp:
92+
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
93+
@echo
94+
@echo "Build finished; now you can run HTML Help Workshop with the" \
95+
".hhp project file in $(BUILDDIR)/htmlhelp."
96+
97+
qthelp:
98+
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
99+
@echo
100+
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
101+
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
102+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/MicroPython.qhcp"
103+
@echo "To view the help file:"
104+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/MicroPython.qhc"
105+
106+
devhelp:
107+
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
108+
@echo
109+
@echo "Build finished."
110+
@echo "To view the help file:"
111+
@echo "# mkdir -p $$HOME/.local/share/devhelp/MicroPython"
112+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/MicroPython"
113+
@echo "# devhelp"
114+
115+
epub:
116+
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
117+
@echo
118+
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
119+
120+
latex: cpydiff
121+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
122+
@echo
123+
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
124+
@echo "Run \`make' in that directory to run these through (pdf)latex" \
125+
"(use \`make latexpdf' here to do that automatically)."
126+
127+
latexpdf: cpydiff
128+
$(SPHINXBUILD) $(FORCE) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
129+
@echo "Running LaTeX files through pdflatex..."
130+
$(MAKE) -C $(BUILDDIR)/latex all-pdf
131+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
132+
133+
latexpdfja: cpydiff
134+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
135+
@echo "Running LaTeX files through platex and dvipdfmx..."
136+
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
137+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
138+
139+
text:
140+
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
141+
@echo
142+
@echo "Build finished. The text files are in $(BUILDDIR)/text."
143+
144+
man:
145+
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
146+
@echo
147+
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
148+
149+
texinfo:
150+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
151+
@echo
152+
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
153+
@echo "Run \`make' in that directory to run these through makeinfo" \
154+
"(use \`make info' here to do that automatically)."
155+
156+
info:
157+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
158+
@echo "Running Texinfo files through makeinfo..."
159+
make -C $(BUILDDIR)/texinfo info
160+
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
161+
162+
gettext:
163+
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
164+
@echo
165+
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
166+
167+
changes:
168+
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
169+
@echo
170+
@echo "The overview file is in $(BUILDDIR)/changes."
171+
172+
linkcheck:
173+
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
174+
@echo
175+
@echo "Link check complete; look for any errors in the above output " \
176+
"or in $(BUILDDIR)/linkcheck/output.txt."
177+
178+
doctest:
179+
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
180+
@echo "Testing of doctests in the sources finished, look at the " \
181+
"results in $(BUILDDIR)/doctest/output.txt."
182+
183+
xml:
184+
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
185+
@echo
186+
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
187+
188+
pseudoxml:
189+
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
190+
@echo
191+
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."

docs/README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
MicroPython Documentation
2+
=========================
3+
4+
The MicroPython documentation can be found at:
5+
http://docs.micropython.org/en/latest/
6+
7+
The documentation you see there is generated from the files in the docs tree:
8+
https://github.com/micropython/micropython/tree/master/docs
9+
10+
Building the documentation locally
11+
----------------------------------
12+
13+
If you're making changes to the documentation, you may want to build the
14+
documentation locally so that you can preview your changes.
15+
16+
Install Sphinx, and optionally (for the RTD-styling), sphinx_rtd_theme,
17+
preferably in a virtualenv:
18+
19+
pip install sphinx
20+
pip install sphinx_rtd_theme
21+
22+
In `micropython/docs`, build the docs:
23+
24+
make html
25+
26+
You'll find the index page at `micropython/docs/build/html/index.html`.
27+
28+
Having readthedocs.org build the documentation
29+
----------------------------------------------
30+
31+
If you would like to have docs for forks/branches hosted on GitHub, GitLab or
32+
BitBucket an alternative to building the docs locally is to sign up for a free
33+
https://readthedocs.org account. The rough steps to follow are:
34+
1. sign-up for an account, unless you already have one
35+
2. in your account settings: add GitHub as a connected service (assuming
36+
you have forked this repo on github)
37+
3. in your account projects: import your forked/cloned micropython repository
38+
into readthedocs
39+
4. in the project's versions: add the branches you are developing on or
40+
for which you'd like readthedocs to auto-generate docs whenever you
41+
push a change
42+
43+
PDF manual generation
44+
---------------------
45+
46+
This can be achieved with:
47+
48+
make latexpdf
49+
50+
but require rather complete install of LaTeX with various extensions. On
51+
Debian/Ubuntu, try (500MB+ download):
52+
53+
apt-get install texlive-latex-recommended texlive-latex-extra

0 commit comments

Comments
 (0)