Go to file
Marco Sirabella 50e24c31ed Unset D_FORTIFY_SOURCE and remove unneeded copied functions
Commit 4e2ab71dfe reverts
micropython/micropython@5cf71b5596
which solved micropython/micropython#6046, which I'm seeing again on my
gentoo system with D_FORTIFY_HARDENED enabled by default.

Unfortunately we can't just revert the revertion because circuitpython
enforces prototypes for defined functions, which is why 4e2ab71d was
implemented initially. Micropython doesn't suffer from this issue.

The implemented fix is to just circumvent D_FORTIFY_SOURCE, a nice
side-effect is we can remove the  re-implemented functions that were
added on the initial `string.h` removal.
2023-11-03 13:53:46 -07:00
.codespell Add header for PLACE_IN_ITCM 2023-09-20 11:19:57 -05:00
.devcontainer Fix codespace 2023-09-20 22:04:50 +00:00
.github Switch to GCC 13.2 2023-10-30 20:30:30 -07:00
data Add new board uGame22 2023-08-25 19:26:30 +02:00
devices/ble_hci Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
docs Fix docs build by splitting out support matrix 2023-10-24 16:20:51 -07:00
examples Initial MicroPython v1.21.0 merge; not compiled yet 2023-10-18 17:49:14 -04:00
extmod update ulab 2023-10-30 10:10:54 +01:00
frozen Update asyncio 2023-10-16 10:59:45 -07:00
lib Fix mbedtls and stop removing it 2023-10-24 14:47:43 -07:00
LICENSES Add an explicit SPDX license file for ter-u12n. 2020-07-06 19:15:41 +01:00
locale Translated using Weblate (Portuguese (Brazil)) 2023-11-03 09:00:51 +00:00
logo Add license to some obvious files. 2020-07-06 19:16:25 +01:00
mpy-cross Merge pull request #8508 from dhalbert/v1.21-merge 2023-10-24 15:36:06 -07:00
ports Merge pull request #8262 from thzinc/add-mdns-txt-record-support 2023-11-01 11:04:20 -07:00
py fix another error seen only on clean builds 2023-10-30 16:25:25 +01:00
shared Unset D_FORTIFY_SOURCE and remove unneeded copied functions 2023-11-03 13:53:46 -07:00
shared-bindings Updates for CircuitPython 9.x 2023-10-30 20:53:26 -07:00
shared-module Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
supervisor Support for publishing TXT records via mDNS 2023-10-30 20:39:38 -07:00
tests Fix typo in TCP server test readme.md 2023-10-26 02:33:10 -04:00
tools Fix mbedtls and stop removing it 2023-10-24 14:47:43 -07: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 spelling fix commit. 2023-10-03 12:10:31 +11:00
.gitattributes Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
.gitignore Rename test function, make 'bad' files binary & add another test 2022-12-09 15:23:56 -06:00
.gitmodules Update asyncio 2023-10-16 10:59:45 -07:00
.mailmap Add a .mailmap file to collate together multiple author entries. 2020-07-06 19:15:41 +01:00
.pre-commit-config.yaml update pre-commit 2023-09-20 11:15:13 -05:00
.readthedocs.yml update .readthedocs.yml and add it to docs pattern 2023-03-11 11:56:04 +05:30
.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 Fix docs build by splitting out support matrix 2023-10-24 16:20:51 -07:00
CODE_OF_CONDUCT.md restore CODE_OF_CONDUCT.md 2023-10-23 19:34:45 -04:00
conf.py Stop building the support matrix pdf 2023-10-26 12:59:59 -07:00
CONTRIBUTING.md Fix docs build by splitting out support matrix 2023-10-24 16:20:51 -07:00
LICENSE initial merge from v1.20.0; just satisifying conflicts 2023-09-19 11:10:12 -04:00
LICENSE_MicroPython update formatting of LICENSE and clean-up 2022-08-27 14:47:10 +05:30
main.c straggling translate()s that my glob missed 2023-10-30 10:15:14 +01:00
Makefile Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
MANIFEST.in-stubs refine stubs-building procedure 2021-06-22 08:59:05 -05:00
README.rst Fix docs build by splitting out support matrix 2023-10-24 16:20:51 -07: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 update espressif ci 2023-09-13 11:35:14 -07:00
requirements-doc.txt Updated how stubs are built 2023-05-09 22:01:24 -04:00
runtime.py Conditionalize LTO 2022-05-27 12:59:54 -07:00
setup.py-stubs use --long for describe in setup.py-stubs 2022-02-18 21:22:02 -05: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