Commit Graph

25 Commits

Author SHA1 Message Date
true ad383a76ac Changed error flash routine
Need to add other features that involve flashing the error code lights, so made it possible to do this with different colors and without interfering with running programs
2023-11-01 06:05:40 -07:00
true 418fdafe56 Change some ADC parameters
Still getting ~64 reads per update cycle, but sampling a little slower. After doing some testing it may - or may not - result in more stability of readings.

Doubled the count of averaged readings.
2023-11-01 06:05:01 -07:00
true 36a55a865b Fix diode check limits, allow for two-mode continuity limit
D1 has changed to a 5V1 zener and is loading the circuit a little bit. Adjusted voltage based on tested value on prototype. This value may differ on production units so expect this to possibly change.
2023-10-31 19:50:30 -07:00
true f2d4afce1c Add error mode indicator when SET1 is set above max 2023-10-31 08:22:27 -07:00
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