Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit edc4cff

Browse files
authored
v1.2.0 to add support to WiFiNINA
### Releases v1.2.0 1. Add support to `WiFiNINA`, such as `Adafruit Airlift Featherwing` 2. Configurable `user_name` length to 63 and `user_password` to 127. Check [Setting FTP_CRED_SIZE on the fly like with FTP_BUF_SIZE #4](#4)
1 parent 59f7884 commit edc4cff

File tree

16 files changed

+841
-47
lines changed

16 files changed

+841
-47
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1515
Please ensure to specify the following:
1616

1717
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18-
* `Teensyduino` Core Version (e.g. `Teensyduino core v1.56`)
19-
* `QNEthernet` library version (e.g. `QNEthernet v0.14.0`) or
18+
* `Teensyduino` Core Version (e.g. `Teensyduino core v1.57`)
19+
* `QNEthernet` library version (e.g. `QNEthernet v0.15.0`) or
2020
* `NativeEthernet` library version or
2121
* `Ethernet_Generic` library version
2222
* Board type and relevant info
@@ -31,13 +31,13 @@ Please ensure to specify the following:
3131

3232
```
3333
Arduino IDE version: 1.8.19
34-
Teensyduino core v1.56
35-
Teensy 4.1 using QNEthernet v0.14.0
34+
Teensyduino core v1.57
35+
Teensy 4.1 using QNEthernet v0.15.0
3636
OS: Ubuntu 20.04 LTS
37-
Linux xy-Inspiron-3593 5.13.0-41-generic #46~20.04.1-Ubuntu SMP Wed Apr 20 13:16:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
37+
Linux xy-Inspiron-3593 5.15.0-48-generic #54~20.04.1-Ubuntu SMP Thu Sep 1 16:17:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3838
3939
Context:
40-
I encountered a crash while using TimerInterrupt.
40+
I encountered a crash while using this library
4141
4242
Steps to reproduce:
4343
1. ...

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414

1515
* [Changelog](#changelog)
16+
* [Releases v1.2.0](#releases-v120)
1617
* [Releases v1.1.0](#releases-v110)
1718
* [Releases v1.0.0](#releases-v100)
1819

@@ -21,6 +22,11 @@
2122

2223
## Changelog
2324

25+
### Releases v1.2.0
26+
27+
1. Add support to `WiFiNINA`, such as `Adafruit Airlift Featherwing`
28+
2. Configurable `user_name` length to 63 and `user_password` to 127. Check [Setting FTP_CRED_SIZE on the fly like with FTP_BUF_SIZE #4](https://github.com/khoih-prog/FTP_Server_Teensy41/issues/4)
29+
2430
### Releases v1.1.0
2531

2632
1. Fix bug incomplete downloads from server to client. Check [Incomplete downloads from server to client. #2](https://github.com/khoih-prog/FTP_Server_Teensy41/pull/2)

examples/FTP_Server_SDFAT2/FTP_Server_SDFAT2.ino

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@
1212
#include <SD.h>
1313
#include <SPI.h>
1414

15-
#define FTP_FILESYST FTP_SDFAT2
15+
#define PASV_RESPONSE_STYLE_NEW true
16+
#define FTP_FILESYST FTP_SDFAT2
1617

1718
// Default 2048
18-
#define FTP_BUF_SIZE 8192
19+
#define FTP_BUF_SIZE 8192
20+
21+
#define FTP_USER_NAME_LEN 64 // Max permissible and default are 64
22+
#define FTP_USER_PWD_LEN 128 // Max permissible and default are 128
1923

2024
#include <FTP_Server_Teensy41.h>
2125

examples/FTP_Server_SDFAT2/defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#define TEENSY41_DEBUG_PORT Serial
1414

1515
// Debug Level from 0 to 4
16-
#define _FTP_SERVER_LOGLEVEL_ 2
16+
#define _FTP_SERVER_LOGLEVEL_ 1
1717

1818
#if ( defined(CORE_TEENSY) && defined(__IMXRT1062__))
1919
#if (defined(ARDUINO_TEENSY41))

0 commit comments

Comments
 (0)