No description
Find a file
Jeff Epler 433430f231 espressif: ipv6: Disable RDNSS
Recursive DNS Server (RDNSS) is an extension of IPv6 Neighbor Discovery.
It is one of several ways (in addition to DHCPv6) to inform a network
node of a usable DNS server.

In LWIP, it appears any RDNSS DNS server will overwrite a DNS server
from DHCPv4 or manual configuration, whether or not CircuitPython has
an IPv6 address configured.

In the (default) case where DHCPv6 is disabled in CircuitPython, but the
(apparently rare) case where a RDNSS advertisement is broadast,
this means that DNS doesn't work, and it appears that assigning to
the dns or ipv4_dns properties of the Radio object doesn't work
(when in reality it's frequently being reset to the value from RDNSS)

On my network, the same DNS server is advertised by DHCPv6, so with this
change  I still get a working v6 configuration with a v6 DNS server
when I enable DHCPv6, but when configuring as v4 only (the default),
the correct IPv4 DNS server setting happens and I can also manually
change it by assigning .dns or .ipv4_dns.
2024-10-12 11:15:40 -05:00
.codespell add formatting/spelling exceptions 2024-07-29 18:59:59 -04:00
.devcontainer another trailing whitespace. Note that trailing whitespace is valid markdown for a line-break 2024-03-21 11:24:44 +01:00
.github turn off native module testing for now 2024-09-13 12:18:29 -04:00
data merge from 8.2.9 2023-12-06 14:18:01 -05:00
devices/ble_hci Add deinit() to _bleio.Characteristic 2024-09-12 13:35:25 -07:00
docs Additional rotation detail 2024-09-24 17:18:07 -04:00
examples non-conflict merge changes 2024-09-05 14:54:18 -04:00
extmod update ulab; remove ports/samd remnant 2024-09-09 19:09:37 -04:00
frozen Merge pull request #9469 from dhalbert/merge-from-micropython-v1.22.2 2024-08-21 18:11:19 -04:00
lib update tinyusb to v0.17.0 (5217cee5) 2024-09-26 17:59:59 +00:00
LICENSES updates before header conversion 2024-05-17 14:56:28 -04:00
locale Translated using Weblate (English (United Kingdom)) 2024-09-23 03:16:20 +00:00
logo non-conflict merge changes 2024-09-05 14:54:18 -04:00
mpy-cross change remaining STATIC to static 2024-09-03 17:40:07 -04:00
ports espressif: ipv6: Disable RDNSS 2024-10-12 11:15:40 -05:00
py HELP_BUILD_ERROR: link to Learn Guide 2024-09-15 18:27:09 -04:00
shared merge from main 2024-09-10 16:36:32 -04:00
shared-bindings Avoid crashing when printing DeepSleepRequest objects 2024-10-07 08:43:42 -05:00
shared-module Update KeyMatrix.c: remove trailing spaces 2024-09-26 18:42:35 -04:00
supervisor webworkflow warn before leaving page during upload. Allow upload to succeed if user clicks into a directory. 2024-09-14 11:50:44 -05:00
tests keep PYTHONPATH when requested 2024-09-23 21:02:08 -05:00
tools Merge remote-tracking branch 'adafruit/main' into merge-micropython-v1.23.0 2024-09-13 15:54:55 -04:00
.codespellrc fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
.git-blame-ignore-revs top: Update .git-blame-ignore-revs for latest format/spell commits. 2024-03-07 16:29:46 +11:00
.gitattributes merge from main 2024-07-29 17:41:46 -04:00
.gitignore MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
.gitmodules merge from main 2024-09-10 16:36:32 -04:00
.mailmap More updates to mailmap based on git shortlog inspection 2024-07-26 12:40:04 -05:00
.pre-commit-config.yaml Merge pull request #9469 from dhalbert/merge-from-micropython-v1.22.2 2024-08-21 18:11:19 -04:00
.readthedocs.yml non-conflict merge changes 2024-09-05 14:54:18 -04:00
.rosie.yml Add license to some obvious files. 2020-07-06 19:16:25 +01:00
ACKNOWLEDGEMENTS Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
ACKNOWLEDGEMENTS.license Add license to some obvious files. 2020-07-06 19:16:25 +01:00
BUILDING.md rename ports/nrf to ports/nordic 2024-03-19 17:36:57 -04:00
CODE_OF_CONDUCT.md Fix up Contributor Covenant homepage link 2023-04-10 15:33:38 +12:00
conf.py remove deprecated call in doc setup 2024-10-07 09:15:07 -05:00
CONTRIBUTING.md fix documentation typo 2024-08-23 03:42:31 +00:00
LICENSE non-conflict merge changes 2024-09-05 14:54:18 -04:00
LICENSE_MicroPython non-conflict merge changes 2024-09-05 14:54:18 -04:00
main.c Improve ESP BLE and turn on BLE workflow 2024-06-11 16:21:40 -07:00
Makefile make coverage improvement 2024-08-17 14:59:29 -04:00
MANIFEST.in-stubs refine stubs-building procedure 2021-06-22 08:59:05 -05:00
pyproject.toml non-conflict merge changes 2024-09-05 14:54:18 -04:00
README.rst Fix typo in README 2024-09-16 18:05:48 -04:00
README.rst-stubs Actually reduce the README text for the stubs package 2021-06-24 13:41:01 -05:00
requirements-ci.txt only install awscli when required 2023-01-16 17:03:39 +05:30
requirements-dev.txt requirements-dev.txt: silabs needs setuptools 2024-06-02 15:00:51 -04:00
requirements-doc.txt Unpin autoapi 2024-09-03 11:20:40 -07:00
runtime.py Conditionalize LTO 2022-05-27 12:59:54 -07:00
setup.py-stubs device specific stubs 2024-02-04 14:08:33 -06:00
WEBUSB_README.md Rename esp32s2 port to espressif 2021-09-13 16:44:55 -07:00

CircuitPython
=============

.. image:: https://s3.amazonaws.com/adafruit-circuit-python/CircuitPython_Repo_header_logo.png

|Build Status| |Doc Status| |License| |Discord| |Weblate|

`circuitpython.org <https://circuitpython.org>`__ \| `Get CircuitPython <#get-circuitpython>`__ \|
`Documentation <#documentation>`__ \| `Contributing <#contributing>`__ \|
`Branding <#branding>`__ \| `Differences from Micropython <#differences-from-micropython>`__ \|
`Project Structure <#project-structure>`__

**CircuitPython** is a *beginner friendly*, open source version of Python for tiny, inexpensive
computers called microcontrollers.

This package contains the "stubs", or type definitions for CircuitPython.  With some advanced
editors and other tools, this information can be identify TypeErrors, AttributeErrors, and other
problems before you deploy your code to a device and can even help autocomplete your code.

.. |Build Status| image:: https://github.com/adafruit/circuitpython/workflows/Build%20CI/badge.svg
   :target: https://github.com/adafruit/circuitpython/actions?query=branch%3Amain
.. |Doc Status| image:: https://readthedocs.org/projects/circuitpython/badge/?version=latest
   :target: http://circuitpython.readthedocs.io/
.. |Discord| image:: https://img.shields.io/discord/327254708534116352.svg
   :target: https://adafru.it/discord
.. |License| image:: https://img.shields.io/badge/License-MIT-brightgreen.svg
   :target: https://choosealicense.com/licenses/mit/
.. |Weblate| image:: https://hosted.weblate.org/widgets/circuitpython/-/svg-badge.svg
   :target: https://hosted.weblate.org/engage/circuitpython/?utm_source=widget