Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
L-diy
c6023122fc Add the BSP for the STM32F746G-DISCO board 2023-11-05 19:52:31 +01:00
1ffaf42896 fix logger defines 2023-11-04 12:43:24 +01:00
5b4b2a75c4 Forgot #endif for include guards 2023-11-02 23:59:26 +01:00
1c47eccd88 Change logger use color 2023-11-01 14:01:45 +01:00
0af40da311 Change logger to use critical and fatal instead of error 2023-11-01 13:56:56 +01:00
a0f5d27909 Fix logger using color 2023-11-01 13:41:30 +01:00
11eba9dd84 Shrink the logger
* Move _write function to the log.c
* Change the way to setup the logger
* Update the readme
* Add terminal commands
2023-10-31 22:23:28 +01:00
L-diy
5cd054dced Add a logging system for uniform log and debugging messages 2023-10-31 18:51:48 +01:00
L-diy
5e487e3c1a Implement _write function for printf 2023-10-31 17:19:03 +01:00
c9ec08ced9 Added an +/- empty stm32f746 project
Please make sure the versions of the Readme are the same on your system
2023-10-23 14:28:06 +02:00