Commit graph

107 commits

Author SHA1 Message Date
28f154e30f named union to avoid compile error. 2025-03-09 09:32:33 -07:00
3aa33779df Added ADC_PoweOn() test
+checks for the regedit of the power on bit in the register.
2025-03-09 09:21:03 -07:00
6a7e10b4fb Added structure tags to avoid usign GNU extension
I just addded the tag 's' for all the anonymous structures as they don't
use typedef and their scope is limited.

Seems to compile for my testing so far.
2025-03-09 09:20:17 -07:00
38dea7ead4 Added comments on ch32v003 pins for ADC along with updated date/top info. 2025-03-09 08:28:24 -07:00
a076ab8b77 Commented out tests for ADC that were dependant on AVR stuff. 2025-03-09 08:27:58 -07:00
968570e898 removed uneeded lines. 2025-03-08 18:45:22 -08:00
de1e09c265 changed header include style. 2025-03-08 18:45:11 -08:00
b6fd401992 Added void as parameter. 2025-03-08 18:44:55 -08:00
da9f30129e Cleaned up commented out stuff. 2025-03-08 18:44:34 -08:00
04e8a68b2b Removed the issues file 2025-03-08 17:34:44 -08:00
bacd95be6b moved misc into inc dir 2025-03-08 17:34:07 -08:00
4e80114163 Moved extralibs dir into inc dir 2025-03-08 17:33:30 -08:00
90b05f20d7 commented out lines in toolchain file. 2025-03-08 17:31:42 -08:00
4e2e792312 modified to make main instead of all or hex-release 2025-03-08 17:31:29 -08:00
0bdc60bcf8 Moved headers into inc file 2025-03-08 17:31:16 -08:00
32a3dcad12 removed uneeded files. 2025-03-08 17:09:58 -08:00
1f17f8dcdf formatting changes 2025-03-08 17:09:08 -08:00
96b0a72533 removed commented out code 2025-03-08 17:08:52 -08:00
c4bc661f8b Added the two dirs from template 2025-03-08 17:08:17 -08:00
d4a0d09dd6 modifed for correct make target 2025-03-08 17:08:05 -08:00
90729c2ff7 Added CXX flags section and set the assembler program. 2025-03-08 17:07:48 -08:00
9920702102 Added other item to work on 2025-03-08 17:07:19 -08:00
490fb96445 changed stnadard to C17 2025-03-08 17:07:12 -08:00
455c70c34b Added tests and mocks from other template 2025-03-08 17:07:04 -08:00
34afa025aa Added header for regedit 2025-03-08 17:06:49 -08:00
670f15116a Added an clang formattiing ignore file.
It's only something that works on version 18+ so it won't actually work
with my current development enviroment.
2025-03-08 15:38:05 -08:00
62c96d14a3 Added todo item. 2025-03-08 15:15:06 -08:00
3cfab2eb77 Pulled in changes from other version I wrote.
+Added refs to flashing
+new mocking functions
+new menu options.
2025-03-08 15:14:51 -08:00
jakeg00dwin
6771cbadf6 Modified after discovering issues with ch32fun being a seperate lib. 2025-03-07 16:57:36 -08:00
jakeg00dwin
a80c0f1360 setup now working, toolchain file is disapointing however. 2025-03-07 14:00:52 -08:00
jakeg00dwin
b7debf7eee Commented out some stuff and removed uneeded lines. 2025-03-07 10:52:05 -08:00
jakeg00dwin
5a8f27912c same 2025-03-07 10:51:53 -08:00
jakeg00dwin
9bec16fe6b added the compile and link options to the main target options. 2025-03-07 10:51:47 -08:00
jakeg00dwin
e8dad084d0 modified the ch32fun cakelists 2025-03-07 10:51:25 -08:00
jakeg00dwin
f95e82b4cf created copy with generic name 2025-03-07 10:51:08 -08:00
jakeg00dwin
7a42fb4780 Updated to use the 32bit compiler. 2025-03-06 18:04:06 -08:00
jakeg00dwin
1b1a288ef6 Added compiler and newlib info for linux systems. 2025-03-06 18:02:29 -08:00
jakeg00dwin
62008cb67b Updated the instructions for FreeBSD systems. 2025-03-06 17:59:05 -08:00
147349868d Updated the otto.sh script 2025-03-06 17:50:38 -08:00
33aebc0198 Updated readme file 2025-03-06 17:50:29 -08:00
83fffc622a changed standard options and version number to semantic versioning 2025-03-06 17:50:24 -08:00
7faa92825f Added blink source and compiler options 2025-03-06 17:50:09 -08:00
bc8ee016f3 Added toolchain file 2025-03-06 17:49:56 -08:00
7ef358200b Added stuff from ch32fun dirs 2025-03-06 17:49:49 -08:00
0e9243a7e0 Added headers 2025-03-06 17:49:29 -08:00
9343842eae removed whitespace 2024-08-04 09:28:29 -07:00
b83b28af84 removed filecheck for formatting file. 2024-08-04 09:28:22 -07:00
c734ede4e6 fixed cli flags
The style flag/option needed to be changed. Also removed problamatic line from config.
2024-08-04 09:27:15 -07:00
0a9d348710 added option
Added the inplace editing option.
2024-08-04 08:43:07 -07:00
0723cb259b Added function for clang formatting.
The shell function finds all the C source and header files in the './src' directory; then it
applies the formatting specified in the .clang-format file.

Right now it only runs when the ctests shell function is called.
2024-08-04 08:40:53 -07:00