This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
etharp_timer | |
dhcp_fine_tmr(): request timeout | |
dhcp_timeout() | |
dhcp_timeout(): restarting discovery | |
dhcp_discover() | |
pbuf_alloc(length=308) | |
pbuf_alloc(length=308) == 0x20022850 | |
transaction id xid(cc8552b1) | |
dhcp_discover: making request | |
dhcp_discover: sendto(DISCOVER, IP_ADDR_BROADCAST, LWIP_IANA_PORT_DHCP_SERVER) |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--loop | |
--loop | |
--loop | |
pbuf_alloc(length=60) | |
pbuf_alloc(length=60) == 0x2000c560 | |
ethernet_input: dest:ff:ff:ff:ff:ff:ff, src:7c:d3:0a:1f:f8:5a, type:806 | |
pbuf_remove_header: old 0x2000c570 new 0x2000c57e (14) | |
etharp_update_arp_entry: 192.168.1.49 - 7c:d3:0a:1f:f8:5a | |
etharp_find_entry: found empty entry 0 | |
etharp_find_entry: no empty entry found and not allowed to recycle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
void addresses(const char* const begin, const char* const end) { | |
::printf("%p:%p -> (%u)\n", begin, end, end - begin); | |
} | |
#if 0 | |
template <size_t Size> | |
void addresses(const char (&buf)[Size]) { | |
addresses(std::begin(buf), std::end(buf)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
const int pin[] = { D0, D1, D2, D3, D4, D5, D6, D7, D8 }; | |
void setup() { | |
WiFi.disconnect(true); | |
WiFi.forceSleepBegin(); | |
Serial.begin(115200); | |
Serial.printf("\nPWM tester\n"); | |
Serial.printf("z = Reset ESP8266\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PWM tester | |
# Sigrok configuration | |
$sigrokcli = 'C:\Program Files (x86)\sigrok\sigrok-cli\sigrok-cli.exe' | |
$samplerate = "24mhz" | |
$samples = "120000" | |
# Open and close the COM port as fast as possible | |
function writeline([string]$text) { | |
$com = new-Object System.IO.Ports.SerialPort COM6,115200,None,8,One |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <FS.h> | |
#include <BearSSLHelpers.h> | |
#include <bearssl/bearssl.h> | |
// Base class for the certificate stores, which allow use | |
// of a large set of certificates stored on SPIFFS of SD card to | |
// be dynamically used when validating a X509 certificate | |
class SDClass; // Just define it exists elsewhere to avoid including SD.h |