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

Ruff fixes #199

Open
wants to merge 781 commits into
base: ports-psoc6-main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
781 commits
Select commit Hold shift + click to select a range
63ea79c
ports/psoc6: Uart Constructor and basic functions.
IFX-Anusha May 13, 2024
12dcc52
ports/psoc6: Tx_done and any Function.
IFX-Anusha May 20, 2024
062b61a
ports/psoc6: Uart WIP.
IFX-Anusha May 29, 2024
8128c92
docs/psoc6: UART Docs.
IFX-Anusha Jun 27, 2024
e1fa9c9
tests/psoc6: WIP Tests.
IFX-Anusha Jun 28, 2024
cec5d26
ports/psoc6: Fix Read and write Functions.
IFX-Anusha Jun 28, 2024
e430dbb
tests/psoc6: Tests Updated.
IFX-Anusha Jun 28, 2024
e3f7aa9
ports/psoc6: Wip Uart.
IFX-Anusha Jun 28, 2024
7525f1a
docs/psoc6: Docs updated.
IFX-Anusha Jun 28, 2024
53d1d99
tests/psoc6: Test updated.
IFX-Anusha Jun 28, 2024
5895135
ports/psoc6: Uart Fixes.
IFX-Anusha Jul 8, 2024
20fdaa2
tests/psoc6: Modified Tests.
IFX-Anusha Jul 8, 2024
5bfb100
docs/psoc6: Modified Docs.
IFX-Anusha Jul 8, 2024
cffbacf
ports/psoc6: Uart config moved to board file.
IFX-Anusha Jul 8, 2024
c3e55f1
tests/psoc6: Modified tests.
IFX-Anusha Jul 8, 2024
59f2234
ports/psoc6: Fix Build.
IFX-Anusha Jul 9, 2024
2349059
tests/psoc6/uart: Changes for UART HIL enablement.
jaenrig-ifx Jul 9, 2024
7fd5f34
tests/ports/psoc6/run_psoc6_tests.sh: Updated boards HIL versions.
jaenrig-ifx Jul 9, 2024
07e5e78
tools/psoc6/ifx-mpy-hil-devs.yml: Updated HIL boards to v0.5.0.
jaenrig-ifx Jul 9, 2024
52ac04d
.github/workflows/ports_psoc6.yml: Added timeout to test stage.
jaenrig-ifx Jul 9, 2024
534a94a
tests/ports/psoc6/run_psoc6_tests.sh: Change UART tests order in ci.
jaenrig-ifx Jul 9, 2024
7b1b3fb
ports/psoc6: Buffer condition fix.
IFX-Anusha Jul 9, 2024
fbb4a37
ports/psoc6: Refactoring timer - WIP.
NikhitaR-IFX Jul 8, 2024
332705d
ports/psoc6: Timer refactor.
NikhitaR-IFX Jul 9, 2024
0b70c91
ports/psoc6: Completed timer refactoring.
NikhitaR-IFX Jul 9, 2024
e7c30ed
tests/ports/psoc6: Adding safe value for timer period.
NikhitaR-IFX Jul 9, 2024
f250d9c
ports/psoc6/boards: Removing comments.
NikhitaR-IFX Jul 9, 2024
c42a5b4
ports/psoc6: Remove neopixel.
NikhitaR-IFX Jul 11, 2024
9ca3592
ports/psoc6: Implement machine SD Card and mount it during init.
ramya-subramanyam Jun 25, 2024
9beafd1
tests/psoc6: Add sd card file transfer tests.
ramya-subramanyam Jun 25, 2024
ea532cd
ports/psoc6: Fix the build for CY8CPROTO-063-BLE.
ramya-subramanyam Jun 26, 2024
b8376f8
ports/psoc6: Fix the build for CY8CPROTO-063-BLE.
ramya-subramanyam Jun 26, 2024
276c024
tests/psoc6/test_scripts/fs.py: Clean out file on error.
jaenrig-ifx Jun 27, 2024
ed7ae37
ports/psoc6: Expand SD Card slot initialization and mount flash in root.
ramya-subramanyam Jul 1, 2024
949d87d
tests/psoc6: Refactor test script and add more tests.
ramya-subramanyam Jul 1, 2024
e7ef8b5
ports/psoc6: Add card detection, rename the machine class for SDCard.
ramya-subramanyam Jul 2, 2024
d5175f7
ports/psoc6: Add documentation.
ramya-subramanyam Jul 2, 2024
71b91d1
test/ports: Rename the machine class for SDCard.
ramya-subramanyam Jul 2, 2024
8b7de13
docs/psoc6: Fix documentation build.
ramya-subramanyam Jul 3, 2024
30edb1d
docs/psoc6: Update doc with more information.
ramya-subramanyam Jul 3, 2024
be46c0a
tests/psoc6/sdcard: Skipping based on board.
jaenrig-ifx Jun 27, 2024
8f85324
tests/psoc6/flash: Unmounting volumen fix.
jaenrig-ifx Jun 27, 2024
6ed8dd3
tests/psoc6/sdcard.py.exp: Fix diff merge error.
jaenrig-ifx Jul 1, 2024
24ad339
tests/psoc6/flash.py: Reverted mount point.
jaenrig-ifx Jul 1, 2024
6727574
tests/psoc6/flash: Reverted mount point.
jaenrig-ifx Jul 1, 2024
45dd701
tests/psoc6/flash: Reverted mount point.
jaenrig-ifx Jul 1, 2024
c416940
tests/psoc6/flash.py: Removed flash path from test.
jaenrig-ifx Jul 2, 2024
1df962a
tests/psoc6/test_scripts: Modifications in fs tests scripts.
jaenrig-ifx Jul 2, 2024
111eadb
psoc6/run_psoc6_tests.sh: WIP refactor for simplified tests.
jaenrig-ifx Jul 2, 2024
3d5749f
psoc6/run_psoc6_tests.sh: WIP refactor for simplified testing.
jaenrig-ifx Jul 3, 2024
ae6ce16
ports/psoc6/vfs_lfs2: Removed SD card at hardware on reset.
jaenrig-ifx Jul 4, 2024
2371941
ports/psoc6/machine_sdcard.c: Added obj deinit.
jaenrig-ifx Jul 4, 2024
05de8d6
tests/psoc6/scard.py: Moved pin alloc to board section.
jaenrig-ifx Jul 4, 2024
dd41107
tests/psoc6/test_script/fs: Adaption for unmounted sd card at init.
jaenrig-ifx Jul 4, 2024
0949f58
ports/psoc6: Implement deinitialization of sd card.
ramya-subramanyam Jul 5, 2024
99d83bf
ports/psoc6: Deinitialize SD Card when the initialization fails.
ramya-subramanyam Jul 8, 2024
e45f247
tests/psoc6: Fix failing test.
ramya-subramanyam Jul 8, 2024
5001393
tests/psoc6/run_psoc6_tests.h: Momentarily disabled large vfs blocked.
jaenrig-ifx Jul 8, 2024
39276c7
tests/ports/psoc6: Moved psoc6 tests to ports folder.
jaenrig-ifx Jul 8, 2024
4a05f72
tests/ports/psoc6: Moved psoc6 tests and required changes.
jaenrig-ifx Jul 8, 2024
4e0b2c8
tests/psoc6: Fixed rebased left traces.
jaenrig-ifx Jul 8, 2024
61e77e8
.github/workflows/ports_psoc6.yml: Fixed introduced error in stage.
jaenrig-ifx Jul 8, 2024
c12787c
ports/psoc6/machine_sdcard: Changes for sd card large file tests fix.
jaenrig-ifx Jul 11, 2024
938b633
docs/psoc6: Update document with deinit method.
ramya-subramanyam Jul 15, 2024
f4ee767
ports/psoc6: Deinit when SD card initialization fails.
ramya-subramanyam Jul 15, 2024
b7c3a50
ports/psoc6: Https fix.
IFX-Anusha Jul 11, 2024
ac6f29b
tests/ports/psoc6/fs: Refactor fs large ffile script.
jaenrig-ifx Jul 15, 2024
af08164
tests/ports/psoc6/fs: Refactor fs large ffile script.
jaenrig-ifx Jul 16, 2024
fdcd90c
ports/psoc6: SD Card test with fat filesystem.
ramya-subramanyam Jul 16, 2024
f269148
ports/psoc6: Remove erase function of SD Card during write.
ramya-subramanyam Jul 18, 2024
943401f
tests/psoc6: Add FAT FS tests.
ramya-subramanyam Jul 18, 2024
195fe5e
docs/psoc6: Update document with FAT FS example.
ramya-subramanyam Jul 18, 2024
0671a86
tests/psoc6: Remove sdcard_fat.py.
ramya-subramanyam Jul 18, 2024
a093002
tests/psoc6: Fix flash test.
ramya-subramanyam Jul 18, 2024
383590d
tests/psoc6: Fix flash test by removing fat fs tests.
ramya-subramanyam Jul 18, 2024
c33f2ee
ports/psoc6: Fix the statements in freeze modules.
ramya-subramanyam Jul 18, 2024
1bee41b
ports/psoc6: Enable FAT FS only for device 62.
ramya-subramanyam Jul 18, 2024
3f46300
docs/psoc6: Update document with FAT FS example.
ramya-subramanyam Jul 18, 2024
3fa92c1
tests/ports/psoc6: Adding config for CY8CKIT-062S2-AI kit HIL testing.
jaenrig-ifx Jul 15, 2024
3c1739d
tests/ports/psoc6: Added img for CY8CKIT-062S2-AI HIL diagram.
jaenrig-ifx Jul 15, 2024
3429eae
tests/ports/psoc6: Added i2s and spi of CY8CKIT-062S2-AI board to HIL.
jaenrig-ifx Jul 16, 2024
252fd24
tools/psoc6/ifx-mpy-hil-devs.yml: Adding new boards to HIL.
jaenrig-ifx Jul 16, 2024
547c949
ports/psoc6/boards/CY8CKIT-062S2-AI: Enabled machine sd card class.
jaenrig-ifx Jul 16, 2024
301b91b
.github/workflows/ports_psoc6.yml: Added 062S2-AI it to on-target test.
jaenrig-ifx Jul 17, 2024
0084d33
ports/psoc6/machine_spi: Enabled SPI Slave in capable boards.
jaenrig-ifx Jul 18, 2024
8c80614
tests/ports/psoc6/hw_ext/adc.py: Removed unused parameter.
jaenrig-ifx Jul 18, 2024
b2b8691
tests/ports/psoc6/hw_ext/adc.py: Removed unused parameter.
jaenrig-ifx Jul 18, 2024
1da9d68
tests/ports/psoc6/hw_ext/img: Updated HIL config image.
jaenrig-ifx Jul 18, 2024
a0e21f1
ports/psoc6/machine_pin: WIP refactoring pin_phy alloc/dealloc.
jaenrig-ifx Jul 17, 2024
19ca231
ports/psoc6/machine_adc: WIP refactoring pin_phy alloc/dealloc.
jaenrig-ifx Jul 17, 2024
a4350af
ports/psoc6/machine_i2c: WIP refactoring pin_phy alloc/dealloc.
jaenrig-ifx Jul 17, 2024
4cfc58e
ports/psoc6/machine_pwm: WIP refactoring pin_phy alloc/dealloc.
jaenrig-ifx Jul 17, 2024
a0a1140
ports/psoc6/machine_sdcard: WIP refactoring pin_phy alloc/dealloc.
jaenrig-ifx Jul 17, 2024
0d93b8d
ports/psoc6/machine_spi: WIP refactoring pin_phy alloc/dealloc.
jaenrig-ifx Jul 17, 2024
a0a0417
ports/psoc6/machine_uart: WIP refactoring pin_phy alloc/dealloc.
jaenrig-ifx Jul 17, 2024
65be092
ports/psoc6/machine_i2s: WIP refactoring pin_phy alloc/dealloc.
jaenrig-ifx Jul 17, 2024
4945d88
ports/psoc6/machine_pin_phy: Refactored pin_phy alloc/dealloc.
jaenrig-ifx Jul 17, 2024
2fbf7cd
ports/psoc6/pin_phy: Refactored pin_phy alloc/dealloc.
jaenrig-ifx Jul 18, 2024
9664aca
ports/psoc6/machine_i2s: Refactored pin_phy alloc/dealloc.
jaenrig-ifx Jul 18, 2024
fd157a8
ports/psoc6/pin_phy: Refactored pin_phy alloc/dealloc.
jaenrig-ifx Jul 18, 2024
bb147dc
ports/psoc6/machine_pin_phy.h: Fixed typo.
jaenrig-ifx Jul 19, 2024
c1ceb28
ports/psoc6/machine_spi.c: Fixed uncompleted rebase.
jaenrig-ifx Jul 19, 2024
19b9aa3
ports/psoc6/machine_sdcard.c: Fixed uncompleted rebase.
jaenrig-ifx Jul 19, 2024
ae07a90
ports/psoc6/machine_sdcard.c: Fixed uncompleted rebase.
jaenrig-ifx Jul 19, 2024
33aee9c
docs/psoc6: Fix Documentation.
IFX-Anusha Jul 16, 2024
d1eea53
docs/psoc6: Fix wording and typos.
ederjc Jul 23, 2024
c324b5c
ports/psoc6: Moved configs to board specific file.
IFX-Anusha Jul 19, 2024
5cae457
ports/psoc6: Fix max object instances.
IFX-Anusha Jul 22, 2024
4acab04
tools/psoc6/mpy-psoc6.py: Added flush to prints.
jaenrig-ifx Jul 22, 2024
54fd990
tools/psoc6/mpy-psoc6: Update kitprog on demand plus error suggestion.
jaenrig-ifx Jul 22, 2024
4ac2e71
docs/psoc6/installation.rst: Updated to installation script changes.
jaenrig-ifx Jul 22, 2024
d50f3e5
tools/psoc6/mpy-psoc6: Update kitprog on demand plus error suggestion.
jaenrig-ifx Jul 22, 2024
8c0ba87
tools/psoc6/mpy-psoc6.py: Added serial adapter serial num opt.
jaenrig-ifx Jul 23, 2024
6976812
ports/psoc6: Fix the external flash to also format with fat filesystem.
ramya-subramanyam Jul 29, 2024
1fdbe6a
tests/ports/psoc6: Refactor PWM tests.
NikhitaR-IFX Jul 23, 2024
fc202d3
tools/psoc6/ifx-mpy-hil-devs.yml: Update AI kit version.
NikhitaR-IFX Jul 23, 2024
127edf8
tests/ports/psoc6: Add print-failures tag.
NikhitaR-IFX Jul 23, 2024
d4c4a6e
tests/ports/psoc6: Add print-failures tag.
NikhitaR-IFX Jul 23, 2024
a1926e6
tests/ports/psoc6: Refactor PWM tests.
NikhitaR-IFX Jul 26, 2024
f38211b
tests/ports/psoc6/pwm.py: Refactored test.
NikhitaR-IFX Jul 26, 2024
5ed8cfc
.github/workflows/ports_psoc6.yml: Increase timeout.
NikhitaR-IFX Jul 26, 2024
14b9b8c
tests/ports/psoc6/pwm.py: Refactored test.
NikhitaR-IFX Jul 26, 2024
97b36d8
.github/workflows/ports_psoc6.yml: Run ci tests with PWM.
NikhitaR-IFX Jul 30, 2024
264c7bd
tests/ports/psoc6/run_psoc6_tests.sh: Remove print-failure tag.
NikhitaR-IFX Jul 30, 2024
0a3b27d
tests/ports/psoc6/run_psoc6_tests.sh: Add print-failure tag.
NikhitaR-IFX Jul 30, 2024
6e98577
tests/ports/psoc6: Refactored test script for PWM debug param.
NikhitaR-IFX Jul 30, 2024
2c18869
ports/psoc6: Fix EOF error.
NikhitaR-IFX Jul 31, 2024
119f879
ports/psoc6: Fix EOF error.
NikhitaR-IFX Jul 31, 2024
cc7006a
ports/psoc6: Fix typo.
NikhitaR-IFX Jul 31, 2024
492d5b7
ports/psoc6: Fix typo.
NikhitaR-IFX Jul 31, 2024
3e1d24f
tests/ports/psoc6/hw_ext/pwm.py: Fix pwm pins.
NikhitaR-IFX Jul 31, 2024
4436757
ports/psoc6/machine_pin.c: Validation of pull resistors + value config.
jaenrig-ifx Jul 31, 2024
ef94e7c
docs/psoc6/quickreft.rst: Updated docs pin class examples.
jaenrig-ifx Aug 1, 2024
ae9af3b
ports/psoc6: Implement safe boot mode.
ramya-subramanyam Aug 2, 2024
48538f5
tests/psoc6: Document the boot modes during reset.
ramya-subramanyam Aug 2, 2024
08a3fba
docs/psoc6: Minor doc changes for reset modes.
ederjc Aug 2, 2024
ec32fae
ports/psoc6: Get switch status from BSP and print the boot mode.
ramya-subramanyam Aug 5, 2024
26b3690
docs/psoc6: Fix some typos and grammar in the document.
ramya-subramanyam Aug 5, 2024
1b09404
ports/psoc6: Introduce delay to set internal pullup.
ramya-subramanyam Aug 5, 2024
43397f3
ports/psoc6: Introduce delay to set internal pullup.
ramya-subramanyam Aug 5, 2024
bc444f4
ports/psoc6/run_psoc6_tests.sh: Update result before debug call.
jaenrig-ifx Aug 5, 2024
49ef236
ports/psoc6: Remove the submodule.
ramya-subramanyam Aug 5, 2024
cc0faf8
ports/psoc6: Added missing MIT License header and copyright notice.
jaenrig-ifx Aug 2, 2024
36838bb
tests/ports/psoc6/hw_ext/pwm.py: Reworked for ensuring synch meas.
jaenrig-ifx Aug 7, 2024
018f72f
tests/ports/psoc6/run_psoc6_tests.sh: Adding print failures by default.
jaenrig-ifx Aug 8, 2024
e6c5af1
tests/ports/psoc6/multi/network: Chosen less saturated HIL env channel.
jaenrig-ifx Aug 7, 2024
54c8ef2
ports/psoc6: Unified warns. Removed redundant vbanners. Fixed help.
jaenrig-ifx Aug 7, 2024
ecaf2a9
tests/psoc6/i2s: Updates .exp to new warn prints.
jaenrig-ifx Aug 7, 2024
c6a22a3
ports/psoc6/main.c: Cleanup commented out code.
jaenrig-ifx Aug 7, 2024
1bd9eab
tests/ports/psoc6/uart: Expected changes.
jaenrig-ifx Aug 7, 2024
3ef67a3
ports/psoc6/sdcard.py: Added warning ignored parameter.
jaenrig-ifx Aug 7, 2024
c3a03f5
ports/psoc6/frezee: Formatted VFS message.
jaenrig-ifx Aug 7, 2024
8ef596c
ports/psoc6: Help removed some modules. Wifi as rest of ci-tests.
jaenrig-ifx Aug 8, 2024
674bba4
tests/ports/psoc6/run_psoc6_tests.sh: Disabled bitstream for 4343W.
jaenrig-ifx Aug 8, 2024
42816dc
tests/ports/psoc6/run_psoc6_tests.sh: Wdt test at the end of ci-tests.
jaenrig-ifx Aug 8, 2024
c17b322
tests/ports/psoc6/run_psoc6_tests.sh: Disabled bitstream for 062.
jaenrig-ifx Aug 8, 2024
fa5493f
tests/ports/psoc6/run_psoc6_tests.sh: Disabled bitstream for 062.
jaenrig-ifx Aug 8, 2024
f998f46
tests/ports/psoc6/run_psoc6_tests.sh: Fixed device select for multi.
jaenrig-ifx Aug 8, 2024
93bc6d7
tests/ports/psoc6: Grouping and dir/files reorg.
jaenrig-ifx Aug 2, 2024
ffeb3ab
tests/ports/psoc6: Renamed folders. Modifications on test script.
jaenrig-ifx Aug 8, 2024
64dd13b
tests/ports/psoc6: Renamed folders. Modifications on test script.
jaenrig-ifx Aug 8, 2024
30ed8f1
tests/ports/psoc6: Renamed folders. Modifications on test script.
jaenrig-ifx Aug 8, 2024
48c5ec1
tests/ports/psoc6/time.py: Print diff value on fail.
jaenrig-ifx Aug 8, 2024
3cd58ab
tests/ports/psoc6/time.py: Pass on 7 out of 10.
jaenrig-ifx Aug 8, 2024
121fa90
tests/ports/psoc6/README.md: Minor typo fix.
jaenrig-ifx Aug 9, 2024
27f9639
tests/ports/psoc6/run_psoc6_tests.sh: Fixing spell error.
NikhitaR-IFX Jul 29, 2024
2105829
tests/ports/psoc6/test_scripts/wdt_scripts.py: Enable wdt reset test.
NikhitaR-IFX Jul 29, 2024
60768f4
tests/ports/psoc6/test_scripts/wdt_scripts.py: Enable wdt reset test.
NikhitaR-IFX Jul 29, 2024
bce83d8
ports/psoc6: Get reset reason from low level libs.
NikhitaR-IFX Jul 29, 2024
e30b798
ports/psoc6: Get reset reason from low level libs.
NikhitaR-IFX Jul 29, 2024
8ad2fd1
ports/psoc6: Debug reset cause.
NikhitaR-IFX Jul 31, 2024
f0e9c46
ports/psoc6: Debug reset cause.
NikhitaR-IFX Jul 31, 2024
990471f
tests/ports/psoc6: Refactor wdt reset cause check test.
NikhitaR-IFX Aug 1, 2024
318e419
tests/ports/psoc6: Test only reset cause.
NikhitaR-IFX Aug 2, 2024
8d7698a
tests/ports/psoc6: WDT debug tests.
NikhitaR-IFX Aug 2, 2024
32112bc
ports/psoc6: Check wdt tests.
NikhitaR-IFX Aug 5, 2024
9243509
tests/ports/psoc6: WDT refactor.
NikhitaR-IFX Aug 6, 2024
a740c8a
tests/ports/psoc6: WDT refactor.
NikhitaR-IFX Aug 6, 2024
654d090
ports/psoc6: Add system reset cause and clear.
NikhitaR-IFX Aug 9, 2024
0b530f2
tests/ports/psoc6: WDT tests refactored.
NikhitaR-IFX Aug 9, 2024
be8f1cc
tests/ports/psoc6: Fix prints.
NikhitaR-IFX Aug 9, 2024
59b7de5
tests/ports/psoc6: WDT tests refactor.
NikhitaR-IFX Aug 9, 2024
1117a26
tests/ports/psoc6: WDT tests refactor.
NikhitaR-IFX Aug 9, 2024
4bcb47f
ports/psoc6: Refactored mp_machine_reset_cause.
NikhitaR-IFX Aug 9, 2024
1b290f7
tests/ports/psoc6/wdt: Moved files to new folder. Added old wdt tests.
jaenrig-ifx Aug 9, 2024
667b58c
port/psoc6: Modmachine reset cause and wdt cleanup.
jaenrig-ifx Aug 9, 2024
7f85b73
tests/ports/psoc6/wdt: Fixed exp file.
jaenrig-ifx Aug 9, 2024
ad58295
tests/psoc6: Enable bitstream tests.
IFX-Anusha Aug 12, 2024
9981ccf
ports/psoc6: Bitstream test pin change.
IFX-Anusha Aug 13, 2024
cf4dc27
tests/psoc6: Bitstream Pin change.
IFX-Anusha Aug 20, 2024
b15c103
tests/ports/psoc6/bitstream: Modified pins avoid interferences.
jaenrig-ifx Aug 21, 2024
d95a6fa
tests/ports/psoc6/bitstream: Modified pins avoid interference.
jaenrig-ifx Aug 21, 2024
2e6474d
tests/ports/psoc6/../diagrams/cy8cproto-062-4343w: Updated diagram.
jaenrig-ifx Aug 21, 2024
ae482f9
tests/psoc6: Disable bitstream test for AI Kit.
IFX-Anusha Aug 22, 2024
3cce421
examples/imagimob: Adding imagimob mp integration.
NikhitaR-IFX Aug 22, 2024
f51173e
examples/usercimaimod/imagimob: Adding mpy imagimob integration support.
NikhitaR-IFX Aug 22, 2024
83bf50c
ports/psoc6: Remove macro for imai enablement.
NikhitaR-IFX Aug 22, 2024
76a08b3
examples/usercimaimodule/imagimob: Minor docs fix.
NikhitaR-IFX Aug 22, 2024
23b208a
ports/psoc6: Remove extra line.
NikhitaR-IFX Aug 23, 2024
67e8460
ports/psoc6: Support for WS218B and SK6812.
IFX-Anusha Aug 14, 2024
96f33d6
docs/psoc6: Neopixel documentation.
IFX-Anusha Aug 21, 2024
907dc2a
docs/psoc6: Fix wording/typos in docs.
ederjc Aug 21, 2024
b7b9fb2
docs/psoc6: Documentation rearrangement.
IFX-Anusha Aug 22, 2024
6276355
examples/usercaimaimodule/imagimob/README.md: Fixed links.
NikhitaR-IFX Aug 23, 2024
191b3dd
ports/psoc6: Combine scripts.
IFX-Anusha Aug 22, 2024
f82f112
ports/psoc6: Fix error index.
IFX-Anusha Aug 26, 2024
6182aa8
docs/psoc6/img: Update pinout diagrams.
ederjc Sep 9, 2024
608338c
ports/psoc6: PSoC6 Infineon fork patch.
jaenrig-ifx Apr 25, 2023
512c672
ports/psoc6: Modified lwip config.
IFX-Anusha Sep 19, 2024
2559dec
ports/psoc6: Port specific Socket Module.
IFX-Anusha Oct 1, 2024
1858446
ports/psoc6: Fix build error for BLE Kit.
IFX-Anusha Oct 1, 2024
52dd44b
ports/psoc6: Remove unwanted files.
IFX-Anusha Oct 3, 2024
ab075e1
docs/conf.py: Removed get_html_theme_path for rtd conf.
jaenrig-ifx Oct 10, 2024
859c222
ports/psoc6/mp_custom/fs.py: Added logger and fixed ls line end split.
jaenrig-ifx Oct 10, 2024
15a7c3b
tests/ports/psoc6/../timer.py: Added workaround for BLE-063 board.
jaenrig-ifx Oct 10, 2024
9a9b0a0
tests/ports/psoc6/../network: Added randomized ssid to avoid conflicts.
jaenrig-ifx Oct 10, 2024
6f82432
README.md: Links update for psoc6 fork.
jaenrig-ifx Oct 16, 2024
1cc4ccf
ports/psoc6: Added bsp assets version control mechanism.
jaenrig-ifx Oct 24, 2024
6863ad0
ports/psoc6: Clock WIP.
IFX-Anusha Oct 7, 2024
364a58b
ports/psoc6: Modify i2s.
IFX-Anusha Oct 17, 2024
adb1f28
docs/psoc6: Clock API Documentation.
IFX-Anusha Oct 23, 2024
85ea354
ports/psoc6: Clock set check.
IFX-Anusha Oct 28, 2024
e029a97
tests/ports/psoc6/run_psoc6_tests.sh: Upgraded run-tests.py.
jaenrig-ifx Nov 5, 2024
3636f9e
ports/psoc6: Enabled PDM-PCM module.
NikhitaR-IFX Nov 15, 2024
4bda431
ports/psoc6: Remove led init used for testing.
NikhitaR-IFX Nov 15, 2024
66992fd
ports/psoc6: Fix clock and minor changes in PDM_PCM.
NikhitaR-IFX Nov 25, 2024
ec36c9e
tests/psoc6: Add HIL tests.
NikhitaR-IFX Nov 25, 2024
6d318ec
tests/ports/psoc6: Final test setup for hil.
NikhitaR-IFX Nov 26, 2024
3ca30ac
tests/ports/psoc6: Disable AI kit for PDM test.
NikhitaR-IFX Nov 26, 2024
5f6a488
tests/ports/psoc6: Updating HIL setup diag for PDM_PCM.
NikhitaR-IFX Nov 26, 2024
2e1b2cc
ports/psoc6: Remove commented code.
NikhitaR-IFX Nov 26, 2024
32d2e2e
ports/psoc6: Revert small changes.
NikhitaR-IFX Nov 26, 2024
3f3f1df
tests/ports/psoc6: Test PDM works.
NikhitaR-IFX Nov 26, 2024
fcdb5c0
tests/ports/psoc6: Tests skip check.
NikhitaR-IFX Nov 27, 2024
677ca80
tests/ports/psoc6: Tests skip check.
NikhitaR-IFX Nov 27, 2024
63a3cb9
tests/ports/psoc6: Tests skip check.
NikhitaR-IFX Nov 27, 2024
f747927
tests/ports/psoc6: Tests skip check.
NikhitaR-IFX Nov 27, 2024
503b93f
tests/ports/psoc6: Tests skip check.
NikhitaR-IFX Nov 27, 2024
1326f21
.github/workflows/ports_psoc6.yml: Update to run all ci tests.
NikhitaR-IFX Nov 27, 2024
30a8140
.github/workflows/ports_psoc6.yml: Update to run all ci tests.
NikhitaR-IFX Nov 27, 2024
16ab76b
ports/psoc6: Review fixes.
NikhitaR-IFX Nov 28, 2024
8e57cd5
.github/workflows/ports_psoc6.yml: Fixed typo.
jaenrig-ifx Nov 28, 2024
4ff879d
tests/ports/psoc6/../pdm_pcm: Refactored to use interrupt synch.
jaenrig-ifx Nov 28, 2024
0879d18
docs/psoc6/quickref.rst: Fix levels.
NikhitaR-IFX Nov 29, 2024
03514c7
docs/psoc6/quickref.rst: Fix clock details in PDM section.
NikhitaR-IFX Dec 2, 2024
de585e0
docs/psoc6/quickref.rst: Minor fix in machine.freq args call.
jaenrig-ifx Dec 2, 2024
ca71778
examples/usercimaimodule/imagimob: Update doc and mior fix in Makefile.
NikhitaR-IFX Dec 10, 2024
2a19e2c
tools/psoc6/get-devs.py: Fixed literals comparison rule.
jaenrig-ifx Feb 27, 2025
bfb167b
tools/psoc6/wsl-usb.py: Fixed ruff formatting rules.
jaenrig-ifx Feb 27, 2025
5b0c701
tests/ports/psoc6: Fixed ruff code format rules.
jaenrig-ifx Feb 27, 2025
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
108 changes: 108 additions & 0 deletions .github/workflows/ports_psoc6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
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
- CY8CPROTO-063-BLE
- CY8CKIT-062S2-AI
outputs:
commit_sha: ${{ steps.commit_sha.outputs.sha_short }}

steps:
- uses: actions/checkout@v4
- 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@v4
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
continue-on-error: true
strategy:
matrix:
board:
- CY8CPROTO-062-4343W
- CY8CPROTO-063-BLE
- CY8CKIT-062S2-AI
steps:
- uses: actions/checkout@v4
- name: Download binaries
uses: actions/download-artifact@v4
- name: Container setup
run: |
echo ${{ secrets.SELF_HOSTED_PASSWORD }} | sudo -S chmod 666 /var/run/docker.sock
source tools/ci.sh && ci_psoc6_setup
- name: Setup devices
run: |
cp mpy-psoc6_${{ matrix.board }}_${{ needs.server-build.outputs.commit_sha }}/firmware.hex .
source tools/ci.sh && ci_psoc6_flash_multiple_devices ${{ matrix.board }} firmware.hex tools/psoc6/${{ runner.name }}-devs.yml
- name: Run psoc6 tests
timeout-minutes: 12
run: |
./tests/ports/psoc6/run_psoc6_tests.sh --test-suite ci-tests --board ${{ matrix.board }} --hil ${{ runner.name }}

- name: Container teardown
if: failure() || success()
run: |
source tools/ci.sh && ci_psoc6_teardown

release:
runs-on: ubuntu-latest
needs: [server-build, on-target-test]
strategy:
matrix:
board:
- CY8CPROTO-062-4343W
- CY8CPROTO-063-BLE
- CY8CKIT-062S2-AI
if: startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'infineon'
steps:
- name: Download binaries
uses: actions/download-artifact@v4
- 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}}
8 changes: 8 additions & 0 deletions .github/workflows/stale_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: 'Close stale issues/PRs'
on:
schedule:
- cron: "50 14 */2 * *"

jobs:
call-workflow:
uses: Infineon/workflows/.github/workflows/epe_stale_issues.yml@master
72 changes: 72 additions & 0 deletions .github/workflows/synch_upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Sync Upstream

on:
schedule:
- cron: '0 0 */1 * *' # daily 00:00
workflow_dispatch: # on button click

jobs:
synch_master:
runs-on: ubuntu-latest

steps:
- name: Checkout target repo
uses: actions/checkout@v4
with:
ref: master
token: ${{ secrets.GH_ACT_SYNCH_UPSTREAM }}

- name: Sync upstream changes
id: sync
uses: aormsby/[email protected]
with:
target_sync_branch: master
target_repo_token: ${{ secrets.GH_ACT_SYNCH_UPSTREAM }}
upstream_sync_branch: master
upstream_sync_repo: micropython/micropython
git_config_pull_rebase: true


- name: New commits found
if: steps.sync.outputs.has_new_commits == 'true'
run: echo "New commits were found to sync."

- name: No new commits
if: steps.sync.outputs.has_new_commits == 'false'
run: echo "There were no new commits."

- name: Show value of 'has_new_commits'
run: echo ${{ steps.sync.outputs.has_new_commits }}

synch_port_psoc6:
runs-on: ubuntu-latest
needs: synch_master

steps:
- name: Checkout target repo
uses: actions/checkout@v4
with:
ref: ports-psoc6-main
token: ${{ secrets.GH_ACT_SYNCH_UPSTREAM }}

- name: Sync upstream changes
id: sync
uses: aormsby/[email protected]
with:
target_sync_branch: ports-psoc6-main
target_repo_token: ${{ secrets.GH_ACT_SYNCH_UPSTREAM }}
upstream_sync_branch: master
upstream_sync_repo: micropython/micropython
git_config_pull_rebase: true
target_branch_push_args: '--force'

- name: New commits found
if: steps.sync.outputs.has_new_commits == 'true'
run: echo "New commits were found to sync."

- name: No new commits
if: steps.sync.outputs.has_new_commits == 'false'
run: echo "There were no new commits."

- name: Show value of 'has_new_commits'
run: echo ${{ steps.sync.outputs.has_new_commits }}
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
24 changes: 11 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Unix CI badge](https://github.com/micropython/micropython/actions/workflows/ports_unix.yml/badge.svg)](https://github.com/micropython/micropython/actions?query=branch%3Amaster+event%3Apush) [![STM32 CI badge](https://github.com/micropython/micropython/actions/workflows/ports_stm32.yml/badge.svg)](https://github.com/micropython/micropython/actions?query=branch%3Amaster+event%3Apush) [![Docs CI badge](https://github.com/micropython/micropython/actions/workflows/docs.yml/badge.svg)](https://docs.micropython.org/) [![codecov](https://codecov.io/gh/micropython/micropython/branch/master/graph/badge.svg?token=I92PfD05sD)](https://codecov.io/gh/micropython/micropython)
[![PSoC6 CI badge](https://github.com/Infineon/micropython/actions/workflows/ports_psoc6.yml/badge.svg)](https://github.com/Infineon/micropython/actions?query=branch%3Aports-psoc6-main+event%3Apush) [![Docs CI badge](https://readthedocs.org/projects/ifx-micropython/badge/?version=latest)](https://ifx-micropython.readthedocs.io/en/latest/psoc6/quickref.html) [![codecov](https://codecov.io/gh/micropython/micropython/branch/master/graph/badge.svg?token=I92PfD05sD)](https://codecov.io/gh/micropython/micropython)

The MicroPython project
=======================
Expand Down Expand Up @@ -35,23 +35,19 @@ DAC, PWM, SPI, I2C, CAN, Bluetooth, and USB.
Getting started
---------------

See the [online documentation](https://docs.micropython.org/) for the API
reference and information about using MicroPython and information about how
See the [online documentation (Infineon PSoC6 port ReadTheDocs fork)](https://ifx-micropython.readthedocs.io/en/latest/psoc6/quickref.html) for API
references and information about using MicroPython and information about how
it is implemented.

We use [GitHub Discussions](https://github.com/micropython/micropython/discussions)
as our forum, and [Discord](https://discord.gg/RB8HZSAExQ) for chat. These
are great places to ask questions and advice from the community or to discuss your
We use [GitHub Discussions (Infineon PSoC6 fork)](https://github.com/Infineon/micropython/discussions)
as our forum. This
is a great place to ask questions and advice from the community or to discuss your
MicroPython-based projects.

For bugs and feature requests, please [raise an issue](https://github.com/micropython/micropython/issues/new/choose)
For bugs and feature requests, please [raise an issue (Infineon PSoC6 fork)](https://github.com/Infineon/micropython/issues/new/choose)
and follow the templates there.

For information about the [MicroPython pyboard](https://store.micropython.org/pyb-features),
the officially supported board from the
[original Kickstarter campaign](https://www.kickstarter.com/projects/214379695/micro-python-python-for-microcontrollers),
see the [schematics and pinouts](http://github.com/micropython/pyboard) and
[documentation](https://docs.micropython.org/en/latest/pyboard/quickref.html).
For information about the MicroPython PSoC supported boards see the [documentation (Infineon PSoC6 port ReadTheDocs fork)](https://ifx-micropython.readthedocs.io/en/latest/psoc6/general.html#supported-boards).

Contributing
------------
Expand Down Expand Up @@ -114,7 +110,9 @@ 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)
- [qemu](ports/qemu) -- QEMU-based emulated target (for testing)
- [psoc6](ports/psoc6) -- Infineon PSoC6.
- [qemu-arm](ports/qemu-arm) -- QEMU-based Arm emulated target (for testing)
- [qemu-riscv](ports/qemu-riscv) -- QEMU-based RISC-V emulated target (for testing)
- [renesas-ra](ports/renesas-ra) -- Renesas RA family.
- [rp2](ports/rp2) -- Raspberry Pi RP2040 (including Pico and Pico W).
- [samd](ports/samd) -- Microchip (formerly Atmel) SAMD21 and SAMD51.
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
20 changes: 8 additions & 12 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"sphinx.ext.todo",
"sphinx.ext.coverage",
"sphinxcontrib.jquery",
"sphinx_tabs.tabs",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -129,18 +130,13 @@
# -- Options for HTML output ----------------------------------------------

# on_rtd is whether we are on readthedocs.org
on_rtd = os.environ.get("READTHEDOCS", None) == "True"

if not on_rtd: # only import and set the theme if we're building docs locally
try:
import sphinx_rtd_theme

html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path(), "."]
except:
html_theme = "default"
html_theme_path = ["."]
else:
try:
import sphinx_rtd_theme

html_theme = "sphinx_rtd_theme"
html_theme_path = ["."]
except:
html_theme = "default"
html_theme_path = ["."]

# Theme options are theme-specific and customize the look and feel of a theme
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
Loading
Loading