Commit Graph

12 Commits

Author SHA1 Message Date
true a048921c54 Use vendor pack
Now that debug is working, we can use the vendor provided pack instead of a custom one.
2023-10-21 07:53:25 -07:00
true d6c1ec4c42 Further clean up py32f030xx.svd
Cleaned up multiline <description> tags which should all be singleline.
2023-10-21 07:52:51 -07:00
true 23bb69096f Fix platformio.ini to use SVD file
For some reason, SVD files specified in the board.json are relative to the vscode path, but the ones specified in platform.io are relative to the project path. Specify the SVD in platformio.ini to use it.
2023-10-21 07:32:48 -07:00
true f110ffe1a7 Add fixed SVD file for PY32F0xx series
DBGMCU->IDCODE had empty <field> tags, and file had other visual formatting errors
2023-10-21 07:31:36 -07:00
true 797f4a568d Move original .svd files to misc/svd/original
These SVD files do not work correctly with platformio. xperipherals pane will load them but does not work with the debugger. peripheral pane needs a fixed up version
2023-10-21 07:12:48 -07:00
true d8e92755d4 Do not enable unused clocks
Not using DMA anymore as it wasn't working right with ADC, and it's the only thing we would have used it for.
2023-10-21 04:45:40 -07:00
true b581b87b86 WIP code
FLASH OPTR write routine implemented and tested.
Fixed wrong GPIO output values initialization.
2023-10-21 04:43:58 -07:00
true 13700b96ca WIP Code
ADC now works in interrupt mode. No idea why DMA was unreliable.

Initial button push / release detection and mode switch detection working. No callbacks implemented yet.
2023-10-19 19:53:04 -07:00
true ecc478661f WIP code
ADC is sort of functioning, but not reliably. LEDs are sort of working. Buzzer isn't working right and is nearly always on as I can't set the PF2 mode.
2023-10-19 16:20:41 -07:00
true 096131b87b WIP code
Builds, but is not yet usable in any way nor is anything tested.

This includes ADC reading, basic RGBLED control, and init code. Still need to do probe, user IO including mode select and settings, RGBLED programs, and more.
2023-10-16 14:29:23 -07:00
true cc2ddb2485 Add CMSIS, PUYA headers and PUYA LL library 2023-10-16 14:27:00 -07:00
true dbbe507931 Initial repository layout, add datasheets and device pack 2023-10-16 14:26:16 -07:00