On obvious serious errors like this, it should not warn but refuse to compile. The warnings I find not useful at all, super difficult to read with the long paths included.
NativeEthernet for now appears unsupported (no activity on the forum or in the codebase for several months), which is a shame, because it's super useful, apart from a couple of minor issues like this.
I aggree with @beermat and I'm astonished that so few people using @vjmuzik NativeEthernet are interested in this (as I think) important dns-client issue.
RoSchmi
Offer examples that work or should work and make appropriate PR's against the FNET or github.com/vjmuzik/NativeEthernet
Done.
https://github.com/vjmuzik/FNET/pull/6
It would be nice if some more experienced members than I would have a look on the changes.
'File' does not name a type
File file;
^
4_SDFuntions.h:33: error: 'File' does not name a type
File wfile;//define write file to write header.
^
#include <SdFat.h>
#include <sdios.h>
...
SdFat sd;
File file;
File wfile;//define write file to write header.
SdFat32 sd;
File32 file;
File32 wfile;
So I have a sketch that compiles in fine in Arduino 1.8.13/Teensyduino 1.53. So I just downloaded a clean copy of Arduino 1.8.15Teensyduino 1.54 beta #9 and I get compile errors.
...
Now I have one with SDFat. Again the Teensyduino library is out of date so I updated it to 2.0.6 which is the latest release.
Still I get a compile error:
I am including the same files as before:Code:#include <SdFat.h> ...
Thanks
Bruce
FASTRUN
static void hardfault_handler_isr(void) {
Serial.println("Hardfault");
Serial.flush();
while (true);
}
void setup() {
Serial.begin(9600);
while (!Serial);
_VectorsRam[3] = hardfault_handler_isr;
Serial.println("Hello!");
int *p = NULL;
*p = 3;
Serial.println(*p);
}
[env:teensy41]
platform = teensy@4.13.0
[env:teensy41]
platform = teensy@4.12.0
I can no longer set a HardFault handler.
Minimal example:
FASTRUN
static void hardfault_handler_isr(void) {
Serial.println("Hardfault");
Serial.flush();
while (true);
}
void setup() {
Serial.begin(9600);
while (!Serial);
_VectorsRam[4] = hardfault_handler_isr;
Serial.println("Hello!");
int *p = NULL;
*p = 3;
Serial.println(*p);
}
void loop() {
}
FASTRUN
static void hardfault_handler_isr(void) {
Serial.println("Hardfault");
Serial.flush();
while (true);
}
FASTRUN
static void memoryfault_handler_isr(void) {
Serial.println("Memoryfault");
Serial.flush();
int *p = NULL;
*p = 3;
while (true);
}
void setup() {
Serial.begin(9600);
while (!Serial);
_VectorsRam[3] = hardfault_handler_isr;
_VectorsRam[4] = memoryfault_handler_isr;
Serial.println("Hello!");
int *p = NULL;
*p = 3;
Serial.println(*p);
}
void loop() {
}