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

Commit

Permalink
v1.2.0 to add support to WiFiNINA
Browse files Browse the repository at this point in the history
### 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)
  • Loading branch information
khoih-prog authored Oct 8, 2022
1 parent 59f7884 commit edc4cff
Show file tree
Hide file tree
Showing 16 changed files with 841 additions and 47 deletions.
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
Please ensure to specify the following:

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

```
Arduino IDE version: 1.8.19
Teensyduino core v1.56
Teensy 4.1 using QNEthernet v0.14.0
Teensyduino core v1.57
Teensy 4.1 using QNEthernet v0.15.0
OS: Ubuntu 20.04 LTS
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
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
Context:
I encountered a crash while using TimerInterrupt.
I encountered a crash while using this library
Steps to reproduce:
1. ...
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@


* [Changelog](#changelog)
* [Releases v1.2.0](#releases-v120)
* [Releases v1.1.0](#releases-v110)
* [Releases v1.0.0](#releases-v100)

Expand All @@ -21,6 +22,11 @@

## Changelog

### 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](https://github.com/khoih-prog/FTP_Server_Teensy41/issues/4)

### Releases v1.1.0

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)
Expand Down
8 changes: 6 additions & 2 deletions examples/FTP_Server_SDFAT2/FTP_Server_SDFAT2.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
#include <SD.h>
#include <SPI.h>

#define FTP_FILESYST FTP_SDFAT2
#define PASV_RESPONSE_STYLE_NEW true
#define FTP_FILESYST FTP_SDFAT2

// Default 2048
#define FTP_BUF_SIZE 8192
#define FTP_BUF_SIZE 8192

#define FTP_USER_NAME_LEN 64 // Max permissible and default are 64
#define FTP_USER_PWD_LEN 128 // Max permissible and default are 128

#include <FTP_Server_Teensy41.h>

Expand Down
2 changes: 1 addition & 1 deletion examples/FTP_Server_SDFAT2/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define TEENSY41_DEBUG_PORT Serial

// Debug Level from 0 to 4
#define _FTP_SERVER_LOGLEVEL_ 2
#define _FTP_SERVER_LOGLEVEL_ 1

#if ( defined(CORE_TEENSY) && defined(__IMXRT1062__))
#if (defined(ARDUINO_TEENSY41))
Expand Down
Loading

0 comments on commit edc4cff

Please sign in to comment.