Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Machine adc refactor #65

Closed
wants to merge 121 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
b00af22
:tools/codeformat.py: Add exclusion for external PSoC6 port libraries.
jaenrig-ifx Apr 24, 2023
16f5437
ports/psoc6: Added new port for Infineon PSoC6 MCUs.
jaenrig-ifx Apr 24, 2023
60e6d17
docs: Added docs and docs conf for PSoC6 port.
jaenrig-ifx Apr 24, 2023
e4897d9
README.md: Added PSoC6 port to list.
jaenrig-ifx Apr 24, 2023
b813c95
tools: Added PSoC6 ci stages, and PSoC6 install utils.
jaenrig-ifx Apr 24, 2023
67ea442
tests: Added PSoC6 port specific tests.
jaenrig-ifx Apr 24, 2023
c8960ca
extmod/modlwip.c: Guarded sys_arch_protect with NO_SYS defines.
jaenrig-ifx Apr 24, 2023
174aa5d
.gitattributes: Added crlf end of line to .cmd files.
jaenrig-ifx Apr 24, 2023
ae59017
.github/workflowys/docs.yml: Install sphinx-tabs.
jaenrig-ifx Apr 24, 2023
729a0d4
.github/workflows/ports_psoc6.yml: Adding build workflow for PSoC6 port.
jaenrig-ifx Apr 24, 2023
5ab028c
py/makeversion.py: Allow v.0.x in get_version_info_from_git.
jaenrig-ifx Apr 25, 2023
e62dccd
docs/psoc6: Updated repo owner after its transfer.
jaenrig-ifx Apr 26, 2023
00ffaca
tools/psoc6: Updated repo owner after its transfer.
jaenrig-ifx Apr 26, 2023
56a22e2
.github/workflows/ports_psoc6: Updated repo owner after its transfer.
jaenrig-ifx Apr 26, 2023
15b7072
docs/psoc6: Fixed mpy-psoc6.sh/cmd url utility typo.
jaenrig-ifx Apr 26, 2023
89e85db
ports/psoc6: Use extmod version of time module.
jaenrig-ifx Apr 28, 2023
8fd6dbc
docs/psoc6: Fixed spelling typos.
jaenrig-ifx Apr 28, 2023
482028a
ports/psoc6: Fixed spelling typos.
jaenrig-ifx Apr 28, 2023
16988e2
pyproject.toml: Add ports/psoc6/boards to ignore spellcheck.
jaenrig-ifx Apr 28, 2023
f8adaa7
ports/psoc6: Fixed spelling typos.
jaenrig-ifx Apr 28, 2023
bbdcbff
ports/psoc6: Fixed I2C object allocation.
IFX-Anusha May 4, 2023
e42c4ce
ports/psoc6: Added cross-flags for emitters. GC stack tuning.
jaenrig-ifx May 9, 2023
f1f4c49
tests/psoc6: Updtated network and dut tests for hw peripherals.
jaenrig-ifx May 9, 2023
4e86597
ports/psoc6/mpconfigport.h: Enabling macros to make skipped tests work.
NikhitaR-IFX May 9, 2023
742ba7c
tests/psoc6/README: Updating test status in README.
NikhitaR-IFX May 9, 2023
9251f63
tests/psoc6/README: Updating test status in README.
NikhitaR-IFX May 9, 2023
a11d416
ports/psoc6/Makefile: Added single test passing in test target.
jaenrig-ifx May 8, 2023
3692f3a
ports/psoc6/main.c: Added network init/deinit to softreset.
jaenrig-ifx May 8, 2023
d3ce0d7
psoc6/modules/network: WIP WCM network module.
jaenrig-ifx May 8, 2023
a4ef33d
ports/psoc6/boards: WIP serial adapter selection.
jaenrig-ifx May 9, 2023
8c95440
ports/psoc6/boards: Added multi program target to board makefile.
jaenrig-ifx May 10, 2023
59a2b99
ports/psoc6/Makefile: Added multiple target program.
jaenrig-ifx May 10, 2023
96a9415
ports/psoc6/Makefile: Added test_multi target.
jaenrig-ifx May 11, 2023
9d3e680
ports/psoc6/network: WIP module. Added active ap function.
jaenrig-ifx May 11, 2023
a959471
tests/psoc6/multi: Added network.py multi instance test.
jaenrig-ifx May 11, 2023
e2f27c3
modules/network/network_ifx_wcm.c: Fixed typo.
jaenrig-ifx May 11, 2023
a1b439a
ports/psoc6/../network_ifx_wxm.c: Added ap stations related functions.
jaenrig-ifx May 30, 2023
9c58d1e
tests/psoc6/multi: Adding test for isconnected, status and config.
jaenrig-ifx May 30, 2023
d81a1c1
ports/psoc6/../network_ifx_wmc.c: Limit disconnect() to STA if.
jaenrig-ifx May 30, 2023
0cc654c
tests/psoc6/multi/network: Added disconnect() test.
jaenrig-ifx May 30, 2023
df7cea3
ports/psoc6/../network_ifx_wcm.c: Fixed num of sta in isconnected.
jaenrig-ifx May 30, 2023
d9547ca
ports/psoc6: Machine.PWM module.
IFX-Anusha May 23, 2023
2ef7ffe
ports/psoc6: Added tests.
IFX-Anusha May 24, 2023
65a7412
ports/psoc6: Modification of PWM functions & tests.
IFX-Anusha May 31, 2023
6fdc661
ports/psoc6: Fixed indentation & comments.
IFX-Anusha May 31, 2023
cc8a3b8
ports/psoc6: Fixed indent.
IFX-Anusha May 31, 2023
db60958
ports/psoc6/modules/machine/machine_pwm.c: Fixed spelling.
IFX-Anusha May 31, 2023
5d7c54d
../../tests/psoc6/pwm.py: Change of test pin.
IFX-Anusha May 31, 2023
ffbf737
ports/psoc6/modules/machine/machine_pwm.c: Fixed max value check.
IFX-Anusha Jun 1, 2023
a036930
docs/psoc6: PWM documentation.
IFX-Anusha Jun 1, 2023
9b29ae5
ports/psoc6: Changes for fixing Warnings in PWM Module.
IFX-Anusha Jun 2, 2023
953fccc
ports/psoc6/modules/network: WIP network.scan function.
jaenrig-ifx Jun 2, 2023
b34bb8e
tests/psoc6/multi/network: WIP adding more verbose output.
jaenrig-ifx Jun 2, 2023
df0f9c5
ports/psoc6/modules/network: Adding bssid filter to network scan.
jaenrig-ifx Jun 6, 2023
dfae0a2
tests/psoc6/multi: Testing network scan options.
jaenrig-ifx Jun 6, 2023
f4203a4
ports/psoc6/modules/network: Scan using scan completion flag.
jaenrig-ifx Jun 7, 2023
830b920
ports/psoc6/modules/network: Added network status rssi and stations.
jaenrig-ifx Jun 7, 2023
357aa7b
tests/psoc6/multi/network: Added network status function tests.
jaenrig-ifx Jun 7, 2023
9755872
ports/psoc6: Refactored removed 'u' prefix.
jaenrig-ifx Jun 9, 2023
7a22029
tests/psoc6/multi: Testing network scan options.
jaenrig-ifx Jun 6, 2023
c892f64
tests/psoc6/multi/network: Added network status function tests.
jaenrig-ifx Jun 7, 2023
d6f31c9
ports/psoc6: SPI Module implementation.
IFX-Anusha Jun 9, 2023
108cb8b
ports/psoc6: Implement tests.
IFX-Anusha Jun 13, 2023
d3b71cf
ports/psoc6: SPI Documentation & modifications in default pins.
IFX-Anusha Jun 16, 2023
2a237a5
ports/psoc6: Mphalport Modification.
IFX-Anusha Jun 19, 2023
3ea3b0f
ports/nrf: Fix code formatting.
IFX-Anusha Jun 19, 2023
7b89b35
ports/psoc6/boards/manifest.py: Update renamed asyncio module.
jaenrig-ifx Jun 20, 2023
d56549e
ports/psoc6/modules/network_ifx_wcm: WIP connect function.
jaenrig-ifx Jun 19, 2023
7917a31
tests/psoc6/multi: WIP network multi test.
jaenrig-ifx Jun 19, 2023
e6f1101
ports/psoc6/modules/network: Completed connect function.
jaenrig-ifx Jun 19, 2023
89b7c2c
tests/psoc6/multi/network: Added connect bssid test.
jaenrig-ifx Jun 19, 2023
45e06bc
tools/psoc6/wsl-usb.py: Added utility for WSL USB device handling.
jaenrig-ifx Jun 16, 2023
6b88818
tools/psoc6/mpy-psoc6: Added workaround for factory unflashed boards.
jaenrig-ifx Jun 20, 2023
c6e78ac
docs/psoc6: Changed branch-path of installation script file.
jaenrig-ifx Jun 20, 2023
2537b10
tools/psoc6: Fixed url helloworld.hex download.
jaenrig-ifx Jun 20, 2023
8d1a4f3
tools/psoc6/mpy-psoc6.sh: Added device-erase function.
jaenrig-ifx Jun 26, 2023
43f016a
tools/psoc6/mpy-psoc6.cmd: Added device-erase function.
jaenrig-ifx Jun 26, 2023
cdc72ba
tools/psoc6/mpy-psoc6.*: Added qspi_conf to openocd program.
jaenrig-ifx Jun 27, 2023
3528786
.github/workflows/ports_psoc6.yml: Added openocd bsp conf download.
jaenrig-ifx Jun 27, 2023
1bf0672
ports/psoc6/boards/../makefile_mtb.mk: Fixed program target.
jaenrig-ifx Jun 27, 2023
7c41be8
docs/psoc6/installation.rst: Added device-erase doc.
jaenrig-ifx Jun 27, 2023
fcd5fc1
tools/psoc6/mpy-psoc6: Added openocd from self releases.
jaenrig-ifx Jul 19, 2023
20a951c
ports/psoc6/modules/network: Fixed obj-ptr convert in scan function.
jaenrig-ifx Jul 11, 2023
63fe09d
ports/psoc6/modules/network: WIP config and reworked reconnect.
jaenrig-ifx Jul 17, 2023
054c402
tests/psoc6/multi/network: WIP network config tests.
jaenrig-ifx Jul 17, 2023
d45b1e6
ports/psoc6/modules/network: Refactoring config as per interface.
jaenrig-ifx Jul 17, 2023
647a212
ports/psoc6/network: Completed network config for STA and AP.
jaenrig-ifx Jul 19, 2023
d9ad5b7
tests/psoc6/multi/network: Moving config test to new file.
jaenrig-ifx Jul 19, 2023
9e140ca
ports/psoc6/modules/network: Refined network config function.
jaenrig-ifx Jul 19, 2023
42bb46f
tests/psoc6/multi/network_config.py: Added network config multi test.
jaenrig-ifx Jul 19, 2023
461f2ef
ports/psoc6/modules/network: Reworked ifconfig function.
jaenrig-ifx Jul 20, 2023
65f74b8
tests/psoc6/multi/network_config: Added ifconfig tests.
jaenrig-ifx Jul 20, 2023
d4e02b3
ports/psoc6/modules/network: Completed module print function.
jaenrig-ifx Jul 20, 2023
71a6a0f
tests/psoc6/multi/network_config: Addedd module print test.
jaenrig-ifx Jul 20, 2023
d44dd6b
docs/psoc6/quickref.rst: Network module specialization docs.
jaenrig-ifx Jul 21, 2023
55c8a07
docs/psoc6/quickref.rst: Network module specialization docs.
jaenrig-ifx Jul 21, 2023
430262d
docs/psoc6/quickref.rst: Network module specialization docs.
jaenrig-ifx Jul 21, 2023
a3b5cf5
docs/psoc6/quickref.rst: Network module specialization docs.
jaenrig-ifx Jul 21, 2023
aa42209
docs/psoc6/quickref.rst: Network module specialization docs.
jaenrig-ifx Jul 21, 2023
ea56a7f
docs/psoc6/quickref.rst: Network module specialization docs.
jaenrig-ifx Jul 21, 2023
730a56a
ports/psoc6: Adding ADC and ADCBlock module.
NikhitaR-IFX Jul 7, 2023
a109176
ports/psoc6: Adding ADC and ADCBlock module.
NikhitaR-IFX Jul 7, 2023
c773715
ports/psoc6/docs/psoc6: Adding ADC docs for psoc6 port.
NikhitaR-IFX Jul 7, 2023
b16d4ca
ports/psoc6: Finishing ADC and ADCBlock module.
NikhitaR-IFX Jul 11, 2023
f3e5573
tests/psoc6: Added exp files for ADC related tests.
NikhitaR-IFX Jul 11, 2023
86a9f47
tests/psoc6: Making tests to work right.
NikhitaR-IFX Jul 11, 2023
3cfc7e4
ports/psoc6: Removing additional driver layer.
NikhitaR-IFX Jul 12, 2023
b69ee68
ports/psoc6/modules/machine/machine_adc: WIP refactor.
jaenrig-ifx Jul 13, 2023
c0666c5
ports/psoc6/modules/machine/machine_adc: WIP refactor.
jaenrig-ifx Jul 14, 2023
8645852
ports/psoc6/modules/machine/machine_adc: WIP refactor.
jaenrig-ifx Jul 14, 2023
cbe5fdd
ports/psoc6: Refactor ADC WIP.
NikhitaR-IFX Jul 24, 2023
35aa5e1
ports/psoc6: Fix spell error.
NikhitaR-IFX Jul 24, 2023
ca5d41c
ports/psoc6: Fixing typo.
NikhitaR-IFX Jul 24, 2023
c45b465
ports/psoc6/modules/machine/machine_adc: WIP refactor relationship.
jaenrig-ifx Jul 25, 2023
d4ee26d
ports/psoc6/modules/machine/machine_adc: Allocaed channel in ADC block.
jaenrig-ifx Jul 27, 2023
9fae006
ports/psoc6/modules/machine/machine_adc: WIP refactor relationship.
jaenrig-ifx Jul 25, 2023
dd2cd4a
ports/psoc6/modules/machine/machine_adc: Allocaed channel in ADC block.
jaenrig-ifx Jul 27, 2023
2cea77f
ports/psoc6/modules/machine: Run code formatting.
NikhitaR-IFX Jul 31, 2023
834c5bd
ports/psoc6/modules/machine: Renamed functions for consistency.
NikhitaR-IFX Jul 31, 2023
388a5e3
tests/psoc6: Fixing ADC tests.
NikhitaR-IFX Jul 31, 2023
f699b34
ports/psoc6: Fixing connect function, adding deinit and fixed tests.
NikhitaR-IFX Jul 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.vcxproj text eol=crlf
*.props text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf

# These are binary so should never be modified by git.
*.a binary
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Install Python packages
run: pip install Sphinx
run: |
pip install Sphinx
pip install sphinx-tabs
- name: Build docs
run: make -C docs/ html
89 changes: 89 additions & 0 deletions .github/workflows/ports_psoc6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: psoc6 port
on:
push:
pull_request:
paths:
- '.github/workflows/*.yml'
- 'tools/**'
- 'py/**'
- 'extmod/**'
- 'shared/**'
- 'lib/**'
- 'drivers/**'
- 'ports/psoc6/**'

jobs:
server-build:
runs-on: ubuntu-latest
strategy:
matrix:
board: [CY8CPROTO-062-4343W]
outputs:
commit_sha: ${{ steps.commit_sha.outputs.sha_short }}

steps:
- uses: actions/checkout@v3
- name: Install packages
run: source tools/ci.sh && ci_psoc6_setup
- name: Build
run: source tools/ci.sh && ci_psoc6_build ${{ matrix.board }}

# Steps only relevant for Infineon fork
# with self-hosted runner available
- name: Gets commit SHA
if: success() && github.repository_owner == 'infineon'
id: commit_sha
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Save firmware bin
if: success() && github.repository_owner == 'infineon'
uses: actions/upload-artifact@v3
with:
name: mpy-psoc6_${{ matrix.board }}_${{ steps.commit_sha.outputs.sha_short }}
path: ports/psoc6/build/firmware.hex

# Jobs only relevant for Infineon fork
on-target-test:
if: github.repository_owner == 'infineon'
runs-on: self-hosted
needs: server-build
strategy:
matrix:
board: [CY8CPROTO-062-4343W]
steps:
- uses: actions/checkout@v3
- name: Download binaries
uses: actions/download-artifact@v3
- name: Setup device
run: |
cd tools/psoc6
cp ../../mpy-psoc6_${{ matrix.board }}_${{ needs.server-build.outputs.commit_sha }}/firmware.hex .
source mpy-psoc6.sh && openocd_download_install && openocd_board_conf_download ${{ matrix.board }} && mpy_firmware_deploy ${{ matrix.board }} firmware.hex
cd ../..
- name: Run tests
run: cd tests && ./run-tests.py --target psoc6 --device /dev/ttyACM0 -d psoc6

release:
runs-on: ubuntu-latest
needs: [server-build, on-target-test]
strategy:
matrix:
board: [CY8CPROTO-062-4343W]
if: startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'infineon'
steps:
- name: Download binaries
uses: actions/download-artifact@v3
- name: Prepare release assets
run: |
cd mpy-psoc6_${{ matrix.board }}_${{ needs.server-build.outputs.commit_sha }}
mv firmware.hex ../mpy-psoc6_${{ matrix.board }}.hex
- name: Build release changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
with:
name: Micropython PSoC6 ${{ github.ref_name }}
files: mpy-psoc6_${{ matrix.board }}.hex
body: ${{steps.build_changelog.outputs.changelog}}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ In addition, the following ports are provided in this repository:
- [nrf](ports/nrf) -- Nordic Semiconductor nRF51 and nRF52.
- [pic16bit](ports/pic16bit) -- Microchip PIC 16-bit.
- [powerpc](ports/powerpc) -- IBM PowerPC (including Microwatt)
- [psoc6](ports/psoc6) -- Infineon PSoC6.
- [qemu-arm](ports/qemu-arm) -- QEMU-based emulated target, for testing)
- [renesas-ra](ports/renesas-ra) -- Renesas RA family.
- [rp2](ports/rp2) -- Raspberry Pi RP2040 (including Pico and Pico W).
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ preferably in a virtualenv:

pip install sphinx
pip install sphinx_rtd_theme
pip install sphinx-tabs

In `micropython/docs`, build the docs:

Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx_tabs.tabs',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ MicroPython documentation and references
esp32/quickref.rst
rp2/quickref.rst
mimxrt/quickref.rst
psoc6/quickref.rst
wipy/quickref.rst
unix/quickref.rst
zephyr/quickref.rst
Expand Down
136 changes: 136 additions & 0 deletions docs/psoc6/feature_list.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
.. _psoc6_feature_list:

Supported features
==================
The PSoC6 port is currently configured to configuration level ``MICROPY_CONFIG_ROM_LEVEL_FULL_FEATURES`` with a few additional settings applied, thus enabling most standard modules as listed in the following.

Enabled modules
---------------
* Python standard modules and libraries
* cmath
* gc
* math
* uarray
* uasyncio
* ubinascii
* ucollections
* uerrno
* uhashlib
* uheapq
* uio
* ujson
* uos
* urandom
* ure
* uselect
* usocket
* ussl
* ustruct
* usys
* utime
* uzlib


* Micropython specific modules and libraries
* framebuf
* machine
* Pin
* I2C
* RTC
* SoftI2C
* micropython
* ucryptolib
* uctypes
* network


* Port specific modules and micro-libraries
* psoc6 (flash support)


Not yet enabled
---------------
* Python standard modules and libraries
* _thread

* Micropython specific modules and libraries
* btree
* ubluetooth


Table :ref:`configuration details <table_mpy_configuration>` below lists specific settings deviating from the configuration as per config level as well as functionality not yet implemented:

.. _table_mpy_configuration:

+-----------------+----------------------------------------------------------------------------------------------------------------------+
| Module | Details |
+=================+======================================================================================================================+
| gc | Option ``MICROPY_ENABLE_GC`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| uhashlib | Options ``MICROPY_PY_UHASHLIB_MD5``, ``MICROPY_PY_UHASHLIB_SHA1``, ``MICROPY_PY_UHASHLIB_SHA256`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| uos | Support for LFS2 and FAT, LFS2 enabled by default. FS mounted on external flash at "/flash". |
| | |
| | Options ``MICROPY_PY_OS_DUPTERM``, ``MICROPY_PY_UOS_GETENV_PUTENV_UNSETENV``, ``MICROPY_PY_UOS_INCLUDEFILE``, |
| | ``MICROPY_PY_UOS_SYSTEM``, ``MICROPY_PY_UOS_UNAME``, ``MICROPY_VFS_LFS2`` enabled. |
| | |
| | Function *urandom()* not yet implemented. Requires implementing *mp_uos_urandom()* and setting option |
| | ``MICROPY_PY_UOS_URANDOM``. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| urandom | Function *seed()* not yet implemented. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| ure | Options ``MICROPY_PY_URE_DEBUG``, ``MICROPY_PY_URE_MATCH_GROUPS``, ``MICROPY_PY_URE_MATCH_SPAN_START_END`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| usocket | Options ``MICROPY_PY_USOCKET`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| ussl | Options ``MICROPY_PY_USSL`` enabled. Has 2 failing tests. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| usys | Options ``MICROPY_PY_SYS_EXC_INFO`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| utime | Enabled through HAL functions based on machine.RTC module. Option ``MICROPY_PY_UTIME_MP_HAL`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| ucryptolib | Options ``MICROPY_PY_UCRYPTOLIB``, ``MICROPY_PY_UCRYPTOLIB_CTR``, ``MICROPY_PY_UCRYPTOLIB_CONSTS`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| machine | Functions not yet implemented: *lightsleep()*, *deepsleep()*, *wake_reason()*, *time_pulse_us()*, *rng()*. |
| | |
| | Constants not yet implemented : *WLAN_WAKE*, *PIN_WAKE*, *RTC_WAKE*, *IDLE*, *SLEEP*, *DEEPSLEEP*. |
| | |
| | Submodules/classes not yet implemented: *ADC*, *bitstream*, *mem*, *Signal*, *SD*, *SDCard*, *SoftSPI*, *SPI*, |
| | *Timer*, *UART*, *WDT*. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| machine.Pin | Functions not yet implemented: *drive()*, *irq()*, *mode()*, *pull()*. |
| | |
| | Constants not yet implemented: *ALT*, *ALT_OPEN_DRAIN*, *PULL_UP*, *PULL_DOWN*, *PULL_HOLD*, *LOW_POWER*, |
| | *MED_POWER*, *HIGH_POWER*, *IRQ_FALLING*, *IRQ_RISING*, *IRQ_LOW_LEVEL*, *IRQ_HIGH_LEVEL*. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| machine.I2C | Option ``MICROPY_PY_MACHINE_I2C`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| machine.RTC | Functions not yet implemented: *alarm()*, *alarm_left()*, *cancel()*, *irq()*. |
| | |
| | Constants not yet implemented: *ALARM0*. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| machine.SoftI2C | Option ``MICROPY_PY_MACHINE_SOFTI2C`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| machine.PWM | option ``MICROPY_PY_MACHINE_PWM`` & ``MICROPY_PY_MACHINE_PWM_INCLUDEFILE`` enabled |
| | |
| | option ``MICROPY_PY_MACHINE_PWM_DUTY`` is not enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| machine.SoftSPI | Option ``MICROPY_PY_MACHINE_SOFTSPI`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| machine.SPI | Option ``MICROPY_PY_MACHINE_SPI``, ``MICROPY_PY_MACHINE_SPI_MSB`` , ``MICROPY_PY_MACHINE_SPI_MSB`` enabled. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| psoc6 | Option to enable the external instead of the internal flash: ``MICROPY_ENABLE_EXT_QSPI_FLASH``. |
| | |
| | Option to enable the port specific debug logger: ``MICROPY_LOGGER_DEBUG``. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| network | Option ``MICROPY_NETWORK`` enabled. |
| | |
| | Functions not yet implemented: *phy_mode()*. |
| | |
| | Classes not yet implemented: *LAN*. |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
| network.WLAN | Mode not yet implemented: *STA_AP*. |
| | |
| | Functions not yet implemented: *config*. |
| | |
+-----------------+----------------------------------------------------------------------------------------------------------------------+
18 changes: 18 additions & 0 deletions docs/psoc6/general.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.. _psoc6_general:

General information about the PSoC6™ port
=========================================

The PSoC6™ port supports boards powered by the `Infineon PSoC6 family of microcontrollers <https://www.infineon.com/cms/en/product/microcontroller/32-bit-psoc-arm-cortex-microcontroller/psoc-6-32-bit-arm-cortex-m4-mcu/>`_.

.. _Supported boards:

Supported boards
----------------

The following boards are supported in the port:

* `CY8CPROTO-062-4343W <https://www.infineon.com/cms/en/product/evaluation-boards/cy8cproto-062-4343w/>`_

Find all the information, board and microcontroller features, and technical documentation in the
linked board product page.
Binary file added docs/psoc6/img/cy-programmer.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/psoc6/img/cy8cproto-062-4343w.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/psoc6/img/gh-releases.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/psoc6/img/mpy-ide-connect.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/psoc6/img/mpy-ide-prompt.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/psoc6/img/mpy-ide-script.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/psoc6/img/mpy-psoc6-repl.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/psoc6/img/mpy-thonny-filesystem.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading