Commit Graph

21 Commits

Author SHA1 Message Date
true cfd9715023 Update README.md 2023-10-31 08:22:07 -07:00
true f504e921d6 Create README.md 2023-10-31 08:02:09 -07:00
true 7fb2dee523 platformio.ini and linker script fixups 2023-10-31 07:46:25 -07:00
true aa52d57149 Added more RGBLED programs, ADC fixups 2023-10-31 07:46:11 -07:00
true 724a2402ab Added initial RGBLED program, basic button handling
Just another rainbow thing.
2023-10-22 00:40:01 -07:00
true 0afa454588 Continuity and diode mode initial implementation
Reads continuity at a fixed ~100ohm or lower, and diodes with intelligent detection of LEDs vs normal diodes. Some values may need to be changed still.
2023-10-21 19:45:15 -07:00
true 859c04f782 Update flash routines
Support setting HSI to multiple speeds, but do it in a way that doesn't waste bytes.
Remove dead code.
2023-10-21 16:44:31 -07:00
true 79a52374de Further clean up py32f030xx.svd
Missed some multiline descriptions. Also manually fixed some descriptions
2023-10-21 16:43:23 -07:00
true 229f8da6d7 Update .gitignore 2023-10-21 07:54:29 -07:00
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