]> the.earth.li Git - esp8266-clock.git/log
esp8266-clock.git
2 years agoUpdate for SDK 3.0.4 main
Jonathan McDowell [Sun, 11 Jul 2021 16:16:10 +0000 (17:16 +0100)]
Update for SDK 3.0.4

Add missing crypto library for linking, remove stdbool as it conflicts
with c_types from the SDK and include the user_pre_init() setup function
now required.

5 years agoAdd basic README.md
Jonathan McDowell [Sun, 27 Jan 2019 12:13:57 +0000 (12:13 +0000)]
Add basic README.md

5 years agoUpdate Makefile to add additional configuration defines
Jonathan McDowell [Sun, 27 Jan 2019 11:47:37 +0000 (11:47 +0000)]
Update Makefile to add additional configuration defines

The generation rule for the skeleton configuration header file was not
including the defines necessary since OTA support was added.

5 years agoSwitch NTP to update hourly rather than only wifi connect
Jonathan McDowell [Sun, 27 Jan 2019 11:06:30 +0000 (11:06 +0000)]
Switch NTP to update hourly rather than only wifi connect

The ESP8266 clock seems to drift quite badly so a single NTP sync when
we connect to wifi isn't sufficient to keep our time accurate. Set up a
timer to resync hourly.

5 years agoUse system esptool to build ROM bin file
Jonathan McDowell [Sat, 26 Jan 2019 17:05:14 +0000 (17:05 +0000)]
Use system esptool to build ROM bin file

5 years agoAdd support for UK daylight savings time (GMT/BST)
Jonathan McDowell [Tue, 4 Sep 2018 21:21:38 +0000 (22:21 +0100)]
Add support for UK daylight savings time (GMT/BST)

Doesn't fully handle date changes at the end of a month, but good enough
for the clock functionality currently in use.

5 years agoRemove espmissingincludes.h - no longer needed with modern SDK
Jonathan McDowell [Tue, 4 Sep 2018 19:13:45 +0000 (20:13 +0100)]
Remove espmissingincludes.h - no longer needed with modern SDK

5 years agoAdd initial OTA upgrade support
Jonathan McDowell [Mon, 3 Sep 2018 19:03:35 +0000 (20:03 +0100)]
Add initial OTA upgrade support

Add support for receiving a new flash image over HTTP and do a check to
see if one is available at boot up. Will program the alternative bank
after doing a check for version.txt with a later version number that
we're running at present.

5 years agoUpdate for SDK 2.2.1 with system compiler
Jonathan McDowell [Mon, 3 Sep 2018 15:49:30 +0000 (16:49 +0100)]
Update for SDK 2.2.1 with system compiler

Move to using gcc/binutils from system paths (tested with gcc 7.3.0
packages on Debian) and the Espressif NONOS SDK 2.2.1. Also move to a
512k + 512k image format instead of trying to fit 2 images in a 512kB
flash chip.

6 years agoUpdate Makefile to link 2 separate ROMs
Jonathan McDowell [Tue, 3 Apr 2018 20:51:29 +0000 (21:51 +0100)]
Update Makefile to link 2 separate ROMs

Build 2 combined ROM images targeted at the top + bottom half of a
512kB ESP8266 device. This is a necessary pre-requisite to being able
to do an over-the-air upgrade.

7 years agoExtend time parsing to include the date rather than just the time
Jonathan McDowell [Sat, 11 Feb 2017 11:11:52 +0000 (11:11 +0000)]
Extend time parsing to include the date rather than just the time

The initial time_t -> struct tm code concentrated on the time portion.
While we don't display the date at present it will be necessary for
calculating DST and is generally useful for completeness.

7 years agoUpdate NTP code to use DNS rather than hard coded IP
Jonathan McDowell [Fri, 10 Feb 2017 23:12:54 +0000 (23:12 +0000)]
Update NTP code to use DNS rather than hard coded IP

Rather than using a hard coded IP address for our NTP lookups be
a better netizen and query the UK NTP pool.

7 years agoInitial check-in of ESP8266 / MAX7219 NTP backed LED clock
Jonathan McDowell [Wed, 8 Feb 2017 22:14:44 +0000 (22:14 +0000)]
Initial check-in of ESP8266 / MAX7219 NTP backed LED clock