Thomas Wilkie
7ef39b7cb9
Added note on send function requirement
2023-12-05 13:34:32 +09:00
Thomas Wilkie
5cb9db0103
Added note about implmentation of sending function.
2023-12-05 01:25:23 +09:00
Thomas Wilkie
388533acb5
Fixed table of command line arguments
2023-12-05 01:24:56 +09:00
Thomas Wilkie
2111134c8b
Added notes to repo for other users
2023-12-05 01:06:17 +09:00
Thomas Wilkie
7516ad6d8f
Merge branch 'multiple_file_inputs'
2023-12-04 23:59:39 +09:00
Thomas Wilkie
a00b727816
Changed from "[filepath].[ext].[temp]" to "[filepath].[temp].[ext]" so file extensions are preserved.
...
There are also a few changes to the test files from testing the above.
At this point everything seems to work for a version 0.1 first release.
2023-12-04 23:57:20 +09:00
Thomas Wilkie
d7e1751569
Added detail about PrintHeaderInformation function
2023-12-03 19:13:13 +09:00
Thomas Wilkie
83fc44037e
Renamed from spelling mistake
2023-12-03 19:05:53 +09:00
Thomas Wilkie
e4fca83e2e
Added description to functions
2023-12-03 19:05:08 +09:00
Thomas Wilkie
fdef7d7b65
Updated to remove previous goals and notes and point towards other READMEs
2023-12-03 19:01:22 +09:00
Thomas Wilkie
94b49019bd
Working with multiple files able to be used as inputs. All output to a single references file.
...
Updated READEMEs to reflect status.
Added things to do regarding temp file names and locations.
2023-12-03 18:45:30 +09:00
Thomas Wilkie
0ae1193e67
Added extra test files
2023-12-02 01:43:43 +09:00
Thomas Wilkie
edd9542351
Fixed spelling mistake in table.
2023-12-02 01:42:47 +09:00
Thomas Wilkie
2b803396d1
Fixed off-by-one error
2023-12-02 01:42:16 +09:00
Thomas Wilkie
ea9512e198
Ignore folder of random tiny testing stuff
2023-11-29 22:16:00 +09:00
Thomas Wilkie
cff9b551ee
Everything working for single file processing and reception.
2023-11-29 18:10:07 +09:00
Thomas Wilkie
347c2e8702
This is at the point of almost working.
...
The pre-processor appears to be doing its job correctly and outputting the correct temp and references file.
This is being parsed almost correctly by the receiver but there is some issues with newlines not being seen on some messages.
Also the first message is not ever printed out althouth it appears to be picked up and put into the messages collection.
Very close but not there yet.
2023-11-29 00:20:03 +09:00
Thomas Wilkie
28cf14304e
Reception and printing working on dummy references file.
...
GetArguments reads and parses command line arguments into a struct for the rest of the program to access.
PrintDebugMessages parses and prints the messages from the references file.
SerialComms can now receive data into a buffer to be actioned.
Main connects to the serial port, parses the references file, then prints messages depending on the data received over the serial port.
ReferencesFileInfo just sets up a struct to receive the metadata from the references file.
References.txt was manually edited to add features and test the program.
2023-11-28 18:20:06 +09:00
Thomas Wilkie
444fd460f5
Got rid of newlines in debug statements
2023-11-28 18:18:55 +09:00
Thomas Wilkie
f71bc18afd
Added in preprocessor commands and abbreviated commands
2023-11-28 18:17:53 +09:00
Thomas Wilkie
1cff3e8daa
Fixed some variable naming and documentation
2023-11-25 22:27:27 +09:00
Thomas Wilkie
0cf814cef3
Fixed some variable and type naming
2023-11-25 22:26:53 +09:00
Thomas Wilkie
fed7497db1
Fixed some variable names
2023-11-25 22:25:38 +09:00
Thomas Wilkie
15c05f93f5
Added basic makefile to allow for faster build and test
2023-11-25 22:24:32 +09:00
Thomas Wilkie
fc2df816e3
Send and receive over serial working. Can receive messages of arbitrary size
2023-11-25 12:08:52 +09:00
Thomas Wilkie
e0b0a62a31
Started working on receiving, currently receives but last character is continuously printed.
2023-11-21 00:43:48 +09:00
Thomas Wilkie
e6832cc7f4
Added macro for variable cases
2023-11-21 00:42:47 +09:00
Thomas Wilkie
80fad8f834
Read through the arguments and apply them. Added this in separate files and put the details on use into the READEME
2023-11-20 23:24:43 +09:00
Thomas Wilkie
095f9cdb23
Get rid of .vscode folder
2023-11-20 23:19:55 +09:00
Thomas Wilkie
f941751f00
Moved files into folders for each seperate app.
...
Started working on receiver app.
Got to the point of a working serial connection and sending strings over a serial port.
2023-11-08 01:27:31 +09:00
Thomas Wilkie
d15857e875
Slight change of wording
2023-11-02 23:06:26 +09:00
Thomas Wilkie
6a9d97b704
Added information about using serial port emulator and a few notes on pyserial usage
2023-11-02 23:04:21 +09:00
Thomas Wilkie
440809b06d
Got rid of strange define debug printf, not sure why I put that there initially
2023-11-01 00:50:13 +09:00
Thomas Wilkie
af82ee17b2
Changed naming of file handlers. Adjusted debug counter to start from 1. Set output to now go to a file rather then the console.
2023-11-01 00:49:16 +09:00
Thomas Wilkie
3243d42e2e
Fixed heading levels and newlines. Added detail in future work for acting more like printf
2023-11-01 00:47:39 +09:00
Thomas Wilkie
0c5cb415f9
Refreshed next steps, changed around location of paragraphs to make a bit more sense
2023-11-01 00:10:26 +09:00
Thomas Wilkie
b34d8aa4b2
Small addition to future goal
2023-10-31 21:19:35 +09:00
Thomas Wilkie
139d7fac20
Working to find, replace and record debug tokens
2023-10-31 21:18:53 +09:00
Thomas Wilkie
cf889c0bc4
Started on replacing the debug token with the desired call in the new temporary file
2023-10-30 19:53:28 +09:00
Thomas Wilkie
e2ff2af131
Added a bit more detail on the intended usage
2023-10-30 19:51:14 +09:00
Thomas Wilkie
a573a5879d
Working to detect tokens, their line position and the corresponding file position
2023-10-30 19:24:59 +09:00
Thomas Wilkie
6db1e23de1
Finds the lines with debug tokens. Also creates a temp copy of the target file to operate on in future
2023-10-30 17:30:18 +09:00
Thomas Wilkie
b0da0ed87d
Ignore temp files
2023-10-30 17:29:36 +09:00
Thomas Wilkie
f3d13656de
Restoring all files after corruption error
2023-10-30 16:46:16 +09:00