Commit Graph

51 Commits

Author SHA1 Message Date
8a03831d78 tftp
make tftp_* functions for context static + tftp_context
2023-12-09 14:20:21 +01:00
6b9f517556 TFTP
Move some log around
2023-12-08 13:31:05 +01:00
27c8d0c0bc tftp
move concatenation from custom functions to string functions
2023-12-07 11:24:05 +01:00
0023659552 tftp
- Remove the suggestion of null terimination of the custom_fread custom_fwrite functions
- Update the tests
2023-12-06 14:58:41 +01:00
d9204ad9ed tftp
try to fix a bug Lorenz told me about
in fread
2023-12-06 08:05:37 +01:00
a8537ba6d4 tftp
try to fix a bug Lorenz told me about
in fwrite
2023-12-06 07:50:24 +01:00
5fd8bb3044 tftp
fix null termination in str_cat_str
fix check if not possible to fit string (did not check if null terminator fits
suggested by Lorenz
2023-12-06 07:50:24 +01:00
97783c69c5 Fix almost all compiler warnings
lcd_api: isalpha expects type in so I cast char to int
lcd_api: uint32 in printf where %d instead of %lu
llfs: filter_ok was set but unused so I removed it
tftp: wrong casting char to uint8_t but needed to be cast to const char* instead
2023-12-01 11:31:53 +01:00
b06ec97075 Testing
Update tests so it uses llfs data and lffs
2023-11-29 18:03:04 +01:00
f67a0b48a7 TFTP
Change init to make it more readable
2023-11-27 18:19:49 +01:00
b844d25f95 TFTP
Forgot to deinit tftp on failiure of init
2023-11-26 15:12:00 +01:00
xoreo
9898a4e8e0 Edit tftp.c on line 170 harcoded 0 to LCD_TRANSPARENT 2023-11-24 11:16:46 +01:00
xoreo
45278b8d85 Add lcd_set_bg_color_layer0 2023-11-24 10:57:27 +01:00
99e6f33f87 TFTP
Fix the issue of putting logger level define to c file instead of header file
2023-11-22 15:28:43 +01:00
65ad130c09 TFTP
* Fix null terminated string in init_index
* Add check if out of memory
* Add debug message for file index.txt
* Add MAX_VIRT_FILES
2023-11-20 16:36:09 +01:00
38bdf73763 TFTP
* Remove the dependency on llfs_root
* Change over to llfs_next_file
2023-11-20 16:14:04 +01:00
eea21fc15d TFTP
Make str functions static
2023-11-20 16:07:35 +01:00
18f20e045c TFTP
Fix broken lcd_api functions
2023-11-20 16:04:53 +01:00
46f2fcacd2 TFTP
* Change typo
* Format
* Add doxygen
2023-11-20 15:44:38 +01:00
fbeec7bfbc TFTP
* Add text support
* Change from Black text on White background to the reverse
2023-11-20 15:15:31 +01:00
2aad741b56 TFTP
* Change form indexes to defines
* add gif support
2023-11-20 14:46:26 +01:00
1850efde2a TFTP
Change from raw to bmp
2023-11-20 12:45:28 +01:00
f82634daa0 TFTP
Fix all warnings
2023-11-17 16:27:26 +01:00
0da6b4a5ad TFTP
Change comment of virtImage init
2023-11-16 14:48:28 +01:00
c9eedde905 TFTP
- Change to lcd_draw_bmp_img
- Add moc for this function
2023-11-14 17:30:08 +01:00
48ad17e0dc TFTP
Add commented lcd_draw_bmp_img
2023-11-14 15:02:51 +01:00
c90a827dca TFTP
move init of virtImage to init instead of init index
2023-11-13 18:45:45 +01:00
40bc58bdd9 TFTP
Update mocs, header and fix an error
2023-11-13 18:21:14 +01:00
8efac8948a TFTP
format + remove todo
2023-11-13 18:13:09 +01:00
eb7dcce09e TFTP
Add display text for virtImage and clear display for virtText
2023-11-13 17:44:23 +01:00
623cf3749c TFTP
Add tftp_custom_write and test functions
2023-11-13 16:03:14 +01:00
c568acc9e6 TFTP
Add tftp_custom_fwrite
2023-11-13 13:28:57 +01:00
d36ce9ae1e TFTP
Add virtText.txt
2023-11-13 13:26:08 +01:00
04f9dd3d2c TFTP
Fix some warnings
2023-11-12 17:06:56 +01:00
91bd047201 TFTP
Change header to match the others
2023-11-12 16:14:26 +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
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
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
12370baf22 TFTP
Format
2023-11-06 22:30:29 +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