Commit Graph

75 Commits

Author SHA1 Message Date
693865a70f TFTP
Add extra test case for tftp_custom_fread
2023-11-12 14:46:52 +01:00
435212d807 TFTP
Fix warnings of not type casting a ptr
2023-11-12 14:39:34 +01:00
34c0beb43d TFTP
Forgot to reset the offset to 0 when opening a custom file
2023-11-12 14:36:15 +01:00
cbf2e053c4 Merge branch 'main' into TFTP 2023-11-12 14:34:48 +01:00
7c76a37ec9 TFTP
Add custom fseek and fread
Add test framework gtest and added my custom fread and fseek tests + functions
2023-11-12 14:33:59 +01:00
d436447a21 TFTP
Change str_cat* functions to use size_t instead of int
2023-11-12 14:02:37 +01:00
c730bf8350 Remove .cproject out of gitignore to fix issues with cubeIDE 2023-11-12 13:35:18 +01:00
d35c79480e TFTP
Change to my own struct for the virtual files
init the index.txt from the tftp_server_init
add tftp_server_deinit + add to docs
2023-11-11 00:46:02 +01:00
e1118908d9 TFTP
Move over to the new fread that Lorentz is implementing
2023-11-11 00:38:39 +01:00
81da833c5b TFTP
Fix error of not writing the index.txt correctly
2023-11-09 18:07:47 +01:00
8237f7911b TFTP
Remove tftp context from header file
It should not be used anywhere else
2023-11-09 16:56:43 +01:00
73f9228afe TFTP
Add doc to writ function
2023-11-09 16:55:30 +01:00
b2345b66a0 TFTP
Add initial doc
2023-11-09 16:48:00 +01:00
989b8b620c TFTP
Add virtual files to the file list
2023-11-09 16:47:49 +01:00
6b0707cfa2 TFTP
Fix critical error in open implementation
2023-11-09 16:42:20 +01:00
a1f7b0ad33 TFTP
First implementation of the read and open functions
Write is not implemented yet
2023-11-09 16:39:08 +01:00
fed829b03c Merge branch 'main' into TFTP 2023-11-08 20:07:28 +01:00
419fbc5663 Update docs in README 2023-11-08 20:06:43 +01:00
bdc3105415 Merge branch 'main' into TFTP 2023-11-06 23:09:05 +01:00
12370baf22 TFTP
Format
2023-11-06 22:30:29 +01:00
a31a70d66a format llfs 2023-11-06 22:29:33 +01:00
8470796cf1 Add clang-format to project
This is so clion can use it
2023-11-06 22:26:43 +01:00
1a6a2db34e TFTP
make the context more readable
2023-11-06 22:05:43 +01:00
20650b9c03 TFTP
Change headers + Add logging
2023-11-06 21:53:06 +01:00
315871af60 TFTP
Add logger and checks for initialising
2023-11-06 21:45:57 +01:00
d84bd877e1 TFTP
Add initial framework, not doing anything at the moment
2023-11-06 21:38:19 +01:00
a825aa4049 Move styleguide to docs 2023-11-06 21:23:32 +01:00
35f1288eec Add logger level to main 2023-11-06 20:39:25 +01:00
8cdbb9ec11 Add tftp and add some files to gitignore 2023-11-06 20:32:51 +01:00
707cba9e1a Main
Add tag in main.c for logging
2023-11-06 20:23:51 +01:00
2c75893655 Logger
Fix alignment
2023-11-06 20:17:40 +01:00
d3f9e7c900 Merge pull request #5 from Sani7/feature/llfs
LLFS file system api
2023-11-06 20:09:42 +01:00
ae9f9b5b2a Merge pull request #6 from Sani7/feature/mkllfs
Feature/mkllfs
2023-11-06 20:08:55 +01:00
e81e8f8387 Merge pull request #7 from Sani7/docs
Move project documentation to its own folder
2023-11-06 20:07:31 +01:00
L-diy
a67698cd87 Move project documentation to its own folder 2023-11-06 18:17:45 +01:00
7d7f077fba Merge branch 'main' into feature/mkllfs 2023-11-06 17:08:42 +01:00
c3b771469e Fix lwip not initialising properly 2023-11-06 16:07:52 +01:00
4653d6988c MX_LWIP_Process() 2023-11-06 15:52:14 +01:00
L-diy
b34f93e5d4 Add documentation for the mkllfs utility 2023-11-06 15:43:12 +01:00
L-diy
d9b0175041 Remove the Core/inc folder from the CMake file list
Removed the Core/inc folder from the CMake source file list, otherwise fs_data.c will be compiled and give an error during linking.
2023-11-06 15:43:12 +01:00
7dba9a995d Add idea files 2023-11-06 15:43:12 +01:00
4ae3e8d628 Add line endings to logger 2023-11-06 15:43:12 +01:00
138de36507 Set ioc File 2023-11-06 15:43:12 +01:00
8f0c1ef6ba Merge pull request #4 from Sani7/bugfix/cmake-compiles-inc-folder
Remove the Core/inc folder from the CMake file list
2023-11-06 15:10:59 +01:00
L-diy
b4b54463ef Remove the Core/inc folder from the CMake file list
Removed the Core/inc folder from the CMake source file list, otherwise fs_data.c will be compiled and give an error during linking.
2023-11-06 15:06:52 +01:00
L-diy
59061be151 Add documentation for the llfs api 2023-11-06 14:50:48 +01:00
L-diy
7087be564f Add the initial llfs implementation 2023-11-06 14:11:44 +01:00
cce5fcfd25 Add idea files 2023-11-06 13:50:02 +01:00
71571c4e16 Add line endings to logger 2023-11-06 13:49:48 +01:00
570c61f379 Set ioc File 2023-11-06 13:29:31 +01:00