diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-05-21 11:55:17 +0200 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-05-21 11:55:17 +0200 |
commit | c79b891ad57888fe05de0089e31d86806a442975 (patch) | |
tree | 56421f00b910b31d9868a4216d288cb8dc8d6113 | |
parent | does not work (diff) | |
download | watchoom-c79b891ad57888fe05de0089e31d86806a442975.tar.gz watchoom-c79b891ad57888fe05de0089e31d86806a442975.tar.bz2 watchoom-c79b891ad57888fe05de0089e31d86806a442975.tar.xz watchoom-c79b891ad57888fe05de0089e31d86806a442975.tar.zst watchoom-c79b891ad57888fe05de0089e31d86806a442975.zip |
-rw-r--r-- | .ccls | 232 | ||||
-rw-r--r-- | .oldds32rtc.cpp | 375 | ||||
-rw-r--r-- | .oldds32rtc.h | 93 |
3 files changed, 0 insertions, 700 deletions
@@ -1,232 +0,0 @@ -clang - -%c -mlongcalls -Wno-frame-address -std=gnu99 -Wno-old-style-declaration -ffunction-sections -fdata-sections -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -ggdb -Os -freorder-blocks -Wwrite-strings -fstack-protector -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -MMD -%cpp -mlongcalls -Wno-frame-address -std=gnu++11 -fexceptions -fno-rtti -ffunction-sections -fdata-sections -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -ggdb -Os -freorder-blocks -Wwrite-strings -fstack-protector -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -MMD - --I/home/salad/docs/projects/watchyfaces/caster/include --I/home/salad/docs/projects/watchyfaces/caster/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/config --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/newlib/platform_include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/freertos/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/freertos/include/esp_additions/freertos --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/freertos/port/xtensa/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/freertos/include/esp_additions --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_hw_support/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_hw_support/include/soc --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_hw_support/include/soc/esp32 --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_hw_support/port/esp32 --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/heap/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/log/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/include/apps --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/include/apps/sntp --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/port/esp32/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/port/esp32/include/arch --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/soc/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/soc/esp32 --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/soc/esp32/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/hal/esp32/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/hal/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/hal/platform_port/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_rom/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_rom/include/esp32 --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_rom/esp32 --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_common/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_system/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_system/port/soc --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_system/port/public_compat --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp32/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/xtensa/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/xtensa/esp32/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/esp32/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_pm/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_ringbuf/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/efuse/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/efuse/esp32/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/vfs/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_wifi/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_event/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_netif/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_eth/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/tcpip_adapter/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_phy/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_phy/esp32/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_ipc/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/app_trace/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_timer/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/mbedtls/port/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/mbedtls/mbedtls/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/mbedtls/esp_crt_bundle/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/app_update/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/spi_flash/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/bootloader_support/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/nvs_flash/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/pthread/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_gdbstub/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_gdbstub/xtensa --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_gdbstub/esp32 --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/espcoredump/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/espcoredump/include/port/xtensa --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/wpa_supplicant/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/wpa_supplicant/port/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/wpa_supplicant/esp_supplicant/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/ieee802154/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/console --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/asio/asio/asio/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/asio/port/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/bt/common/osi/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/bt/include/esp32/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/bt/common/api/include/api --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/bt/common/btc/profile/esp/blufi/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/bt/common/btc/profile/esp/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/bt/host/bluedroid/api/include/api --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/cbor/port/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/unity/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/unity/unity/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/cmock/CMock/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/coap/port/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/coap/libcoap/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/nghttp/port/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/nghttp/nghttp2/lib/includes --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-tls --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-tls/esp-tls-crypto --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_adc_cal/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_hid/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/tcp_transport/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_http_client/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_http_server/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_https_ota/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_lcd/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_lcd/interface --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/protobuf-c/protobuf-c --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/protocomm/include/common --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/protocomm/include/security --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/protocomm/include/transports --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/mdns/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_local_ctrl/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/sdmmc/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_serial_slave_link/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_websocket_client/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/expat/expat/expat/lib --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/expat/port/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/wear_levelling/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/fatfs/diskio --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/fatfs/vfs --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/fatfs/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/freemodbus/common/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/idf_test/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/idf_test/include/esp32 --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/jsmn/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/json/cJSON --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/libsodium/libsodium/src/libsodium/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/libsodium/port_include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/mqtt/esp-mqtt/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/openssl/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/perfmon/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/spiffs/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/ulp/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/wifi_provisioning/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/button/button/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/json_parser --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/json_parser/jsmn/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/json_generator --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_schedule/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_rainmaker/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/qrcode/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/ws2812_led --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_littlefs/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_littlefs/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/dotprod/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/support/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/windows/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/windows/hann/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman_harris/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman_nuttall/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/windows/nuttall/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/windows/flat_top/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/iir/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/fir/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/math/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/math/add/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/math/sub/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/math/mul/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/math/addc/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/math/mulc/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/math/sqrt/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/matrix/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/fft/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/dct/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/conv/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/common/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/kalman/ekf/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-dsp/modules/kalman/ekf_imu13states/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-face/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-face/include/tool --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-face/include/typedef --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-face/include/image --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-face/include/math --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-face/include/nn --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-face/include/layer --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-face/include/detect --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp-face/include/model_zoo --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp32-camera/driver/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp32-camera/conversions/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/fb_gfx/include --I/home/salad/.platformio/packages/framework-arduinoespressif32/cores/esp32 --I/home/salad/.platformio/packages/framework-arduinoespressif32/variants/esp32 --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/FS/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdateServer/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/LittleFS/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/RainMaker/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/SD/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/USB/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/Update/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/WiFiProv/src --I/home/salad/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src --I/home/salad/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0 --I/home/salad/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/xtensa-esp32-elf --I/home/salad/.platformio/packages/toolchain-xtensa-esp32/lib/gcc/xtensa-esp32-elf/8.4.0/include-fixed --I/home/salad/.platformio/packages/toolchain-xtensa-esp32/lib/gcc/xtensa-esp32-elf/8.4.0/include --I/home/salad/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include - --DPLATFORMIO=50205 --DARDUINO_ESP32_DEV --DHAVE_CONFIG_H --DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" --DUNITY_INCLUDE_CONFIG_H --DWITH_POSIX --D_GNU_SOURCE --DIDF_VER="v4.4-beta1-189-ga79dc75f0a" --DESP_PLATFORM --D_POSIX_READER_WRITER_LOCKS --DARDUINO_ARCH_ESP32 --DESP32 --DF_CPU=240000000L --DARDUINO=10812 --DARDUINO_VARIANT="esp32" --DARDUINO_BOARD="Espressif ESP32 Dev Module" --DARDUINO_PARTITION_default diff --git a/.oldds32rtc.cpp b/.oldds32rtc.cpp deleted file mode 100644 index 0d519a9..0000000 --- a/.oldds32rtc.cpp +++ /dev/null @@ -1,375 +0,0 @@ -// Arduino DS3232RTC Library -// https://github.com/JChristensen/DS3232RTC -// Copyright (C) 2018 by Jack Christensen and licensed under -// GNU GPL v3.0, https://www.gnu.org/licenses/gpl.html -// -// Arduino library for the Maxim Integrated DS3232 and DS3231 -// Real-Time Clocks. -// Requires PJRC's improved version of the Arduino Time Library, -// https://playground.arduino.cc/Code/Time -// https://github.com/PaulStoffregen/Time -// -// For AVR architecture, a DS3232RTC object named RTC is instantiated -// by the library and I2C initialization occurs in the constructor; -// this is for backwards compatibility. -// For other architectures, the user needs to instantiate a DS3232RTC -// object and optionally initialize the I2C bus by calling -// DS3232RTC::begin(). The constructor has an optional bool parameter -// to indicate whether I2C initialization should occur in the -// constructor; this parameter defaults to true if not given. - -// define release-independent I2C functions -#if defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) -#include <TinyWireM.h> -#define i2cBegin TinyWireM.begin -#define i2cBeginTransmission TinyWireM.beginTransmission -#define i2cEndTransmission TinyWireM.endTransmission -#define i2cRequestFrom TinyWireM.requestFrom -#define i2cRead TinyWireM.receive -#define i2cWrite TinyWireM.send -#elif ARDUINO >= 100 -#include <Wire.h> -#define i2cBegin Wire.begin -#define i2cBeginTransmission Wire.beginTransmission -#define i2cEndTransmission Wire.endTransmission -#define i2cRequestFrom Wire.requestFrom -#define i2cRead Wire.read -#define i2cWrite Wire.write -#else -#include <Wire.h> -#define i2cBegin Wire.begin -#define i2cBeginTransmission Wire.beginTransmission -#define i2cEndTransmission Wire.endTransmission -#define i2cRequestFrom Wire.requestFrom -#define i2cRead Wire.receive -#define i2cWrite Wire.send -#endif - -#include <TimeLib.h> //https://github.com/PaulStoffregen/Time -#include <DS3232RTC.h> - -// DS3232 I2C Address -#define RTC_ADDR 0x68 - -// DS3232 Register Addresses -#define RTC_SECONDS 0x00 -#define RTC_MINUTES 0x01 -#define RTC_HOURS 0x02 -#define RTC_DAY 0x03 -#define RTC_DATE 0x04 -#define RTC_MONTH 0x05 -#define RTC_YEAR 0x06 -#define ALM1_SECONDS 0x07 -#define ALM1_MINUTES 0x08 -#define ALM1_HOURS 0x09 -#define ALM1_DAYDATE 0x0A -#define ALM2_MINUTES 0x0B -#define ALM2_HOURS 0x0C -#define ALM2_DAYDATE 0x0D -#define RTC_CONTROL 0x0E -#define RTC_STATUS 0x0F -#define RTC_AGING 0x10 -#define RTC_TEMP_MSB 0x11 -#define RTC_TEMP_LSB 0x12 -#define SRAM_START_ADDR 0x14 // first SRAM address -#define SRAM_SIZE 236 // number of bytes of SRAM - -// Alarm mask bits -#define A1M1 7 -#define A1M2 7 -#define A1M3 7 -#define A1M4 7 -#define A2M2 7 -#define A2M3 7 -#define A2M4 7 - -// Control register bits -#define EOSC 7 -#define BBSQW 6 -#define CONV 5 -#define RS2 4 -#define RS1 3 -#define INTCN 2 -#define A2IE 1 -#define A1IE 0 - -// Status register bits -#define OSF 7 -#define BB32KHZ 6 -#define CRATE1 5 -#define CRATE0 4 -#define EN32KHZ 3 -#define BSY 2 -#define A2F 1 -#define A1F 0 - -// Other -#define DS1307_CH 7 // for DS1307 compatibility, Clock Halt bit in Seconds register -#define HR1224 6 // Hours register 12 or 24 hour mode (24 hour mode==0) -#define CENTURY 7 // Century bit in Month register -#define DYDT 6 // Day/Date flag bit in alarm Day/Date registers - -byte DS3232RTC::errCode; // for debug - -// Constructor. Initializes the I2C bus by default, but better -// practice is to pass false in the constructor and call -// the begin() function in the setup code. -DS3232RTC::DS3232RTC(bool initI2C) -{ - if (initI2C) i2cBegin(); -} - -// Initialize the I2C bus. -void DS3232RTC::begin() -{ - i2cBegin(); -} - -// Read the current time from the RTC and return it as a time_t -// value. Returns a zero value if an I2C error occurred (e.g. RTC -// not present). -time_t DS3232RTC::get() -{ - tmElements_t tm; - - if ( read(tm) ) return 0; - return( makeTime(tm) ); -} - -// Set the RTC to the given time_t value and clear the -// oscillator stop flag (OSF) in the Control/Status register. -// Returns the I2C status (zero if successful). -byte DS3232RTC::set(time_t t) -{ - tmElements_t tm; - - breakTime(t, tm); - return ( write(tm) ); -} - -// Read the current time from the RTC and return it in a tmElements_t -// structure. Returns the I2C status (zero if successful). -byte DS3232RTC::read(tmElements_t &tm) -{ - i2cBeginTransmission(RTC_ADDR); - i2cWrite((uint8_t)RTC_SECONDS); - if ( byte e = i2cEndTransmission() ) { errCode = e; return e; } - // request 7 bytes (secs, min, hr, dow, date, mth, yr) - i2cRequestFrom(RTC_ADDR, tmNbrFields); - tm.Second = bcd2dec(i2cRead() & ~_BV(DS1307_CH)); - tm.Minute = bcd2dec(i2cRead()); - tm.Hour = bcd2dec(i2cRead() & ~_BV(HR1224)); // assumes 24hr clock - tm.Wday = i2cRead(); - tm.Day = bcd2dec(i2cRead()); - tm.Month = bcd2dec(i2cRead() & ~_BV(CENTURY)); // don't use the Century bit - tm.Year = y2kYearToTm(bcd2dec(i2cRead())); - return 0; -} - -// Set the RTC time from a tmElements_t structure and clear the -// oscillator stop flag (OSF) in the Control/Status register. -// Returns the I2C status (zero if successful). -byte DS3232RTC::write(tmElements_t &tm) -{ - i2cBeginTransmission(RTC_ADDR); - i2cWrite((uint8_t)RTC_SECONDS); - i2cWrite(dec2bcd(tm.Second)); - i2cWrite(dec2bcd(tm.Minute)); - i2cWrite(dec2bcd(tm.Hour)); // sets 24 hour format (Bit 6 == 0) - i2cWrite(tm.Wday); - i2cWrite(dec2bcd(tm.Day)); - i2cWrite(dec2bcd(tm.Month)); - i2cWrite(dec2bcd(tmYearToY2k(tm.Year))); - byte ret = i2cEndTransmission(); - uint8_t s = readRTC(RTC_STATUS); // read the status register - writeRTC( RTC_STATUS, s & ~_BV(OSF) ); // clear the Oscillator Stop Flag - return ret; -} - -// Write multiple bytes to RTC RAM. -// Valid address range is 0x00 - 0xFF, no checking. -// Number of bytes (nBytes) must be between 1 and 31 (Wire library -// limitation). -// Returns the I2C status (zero if successful). -byte DS3232RTC::writeRTC(byte addr, byte *values, byte nBytes) -{ - i2cBeginTransmission(RTC_ADDR); - i2cWrite(addr); - for (byte i=0; i<nBytes; i++) i2cWrite(values[i]); - return i2cEndTransmission(); -} - -// Write a single byte to RTC RAM. -// Valid address range is 0x00 - 0xFF, no checking. -// Returns the I2C status (zero if successful). -byte DS3232RTC::writeRTC(byte addr, byte value) -{ - return ( writeRTC(addr, &value, 1) ); -} - -// Read multiple bytes from RTC RAM. -// Valid address range is 0x00 - 0xFF, no checking. -// Number of bytes (nBytes) must be between 1 and 32 (Wire library -// limitation). -// Returns the I2C status (zero if successful). -byte DS3232RTC::readRTC(byte addr, byte *values, byte nBytes) -{ - i2cBeginTransmission(RTC_ADDR); - i2cWrite(addr); - if ( byte e = i2cEndTransmission() ) return e; - i2cRequestFrom( (uint8_t)RTC_ADDR, nBytes ); - for (byte i=0; i<nBytes; i++) values[i] = i2cRead(); - return 0; -} - -// Read a single byte from RTC RAM. -// Valid address range is 0x00 - 0xFF, no checking. -byte DS3232RTC::readRTC(byte addr) -{ - byte b; - - readRTC(addr, &b, 1); - return b; -} - -// Set an alarm time. Sets the alarm registers only. To cause the -// INT pin to be asserted on alarm match, use alarmInterrupt(). -// This method can set either Alarm 1 or Alarm 2, depending on the -// value of alarmType (use a value from the ALARM_TYPES_t enumeration). -// When setting Alarm 2, the seconds value must be supplied but is -// ignored, recommend using zero. (Alarm 2 has no seconds register.) -void DS3232RTC::setAlarm(ALARM_TYPES_t alarmType, byte seconds, byte minutes, byte hours, byte daydate) -{ - uint8_t addr; - - seconds = dec2bcd(seconds); - minutes = dec2bcd(minutes); - hours = dec2bcd(hours); - daydate = dec2bcd(daydate); - if (alarmType & 0x01) seconds |= _BV(A1M1); - if (alarmType & 0x02) minutes |= _BV(A1M2); - if (alarmType & 0x04) hours |= _BV(A1M3); - if (alarmType & 0x10) daydate |= _BV(DYDT); - if (alarmType & 0x08) daydate |= _BV(A1M4); - - if ( !(alarmType & 0x80) ) // alarm 1 - { - addr = ALM1_SECONDS; - writeRTC(addr++, seconds); - } - else - { - addr = ALM2_MINUTES; - } - writeRTC(addr++, minutes); - writeRTC(addr++, hours); - writeRTC(addr++, daydate); -} - -// Set an alarm time. Sets the alarm registers only. To cause the -// INT pin to be asserted on alarm match, use alarmInterrupt(). -// This method can set either Alarm 1 or Alarm 2, depending on the -// value of alarmType (use a value from the ALARM_TYPES_t enumeration). -// However, when using this method to set Alarm 1, the seconds value -// is set to zero. (Alarm 2 has no seconds register.) -void DS3232RTC::setAlarm(ALARM_TYPES_t alarmType, byte minutes, byte hours, byte daydate) -{ - setAlarm(alarmType, 0, minutes, hours, daydate); -} - -// Enable or disable an alarm "interrupt" which asserts the INT pin -// on the RTC. -void DS3232RTC::alarmInterrupt(byte alarmNumber, bool interruptEnabled) -{ - uint8_t controlReg, mask; - - controlReg = readRTC(RTC_CONTROL); - mask = _BV(A1IE) << (alarmNumber - 1); - if (interruptEnabled) - controlReg |= mask; - else - controlReg &= ~mask; - writeRTC(RTC_CONTROL, controlReg); -} - -// Returns true or false depending on whether the given alarm has been -// triggered, and resets the alarm flag bit. -bool DS3232RTC::alarm(byte alarmNumber) -{ - uint8_t statusReg, mask; - - statusReg = readRTC(RTC_STATUS); - mask = _BV(A1F) << (alarmNumber - 1); - if (statusReg & mask) - { - statusReg &= ~mask; - writeRTC(RTC_STATUS, statusReg); - return true; - } - else - { - return false; - } -} - -// Enable or disable the square wave output. -// Use a value from the SQWAVE_FREQS_t enumeration for the parameter. -void DS3232RTC::squareWave(SQWAVE_FREQS_t freq) -{ - uint8_t controlReg; - - controlReg = readRTC(RTC_CONTROL); - if (freq >= SQWAVE_NONE) - { - controlReg |= _BV(INTCN); - } - else - { - controlReg = (controlReg & 0xE3) | (freq << RS1); - } - writeRTC(RTC_CONTROL, controlReg); -} - -// Returns the value of the oscillator stop flag (OSF) bit in the -// control/status register which indicates that the oscillator is or * -// was stopped, and that the timekeeping data may be invalid. -// Optionally clears the OSF bit depending on the argument passed. -bool DS3232RTC::oscStopped(bool clearOSF) -{ - uint8_t s = readRTC(RTC_STATUS); // read the status register - bool ret = s & _BV(OSF); // isolate the osc stop flag to return to caller - if (ret && clearOSF) // clear OSF if it's set and the caller wants to clear it - { - writeRTC( RTC_STATUS, s & ~_BV(OSF) ); - } - return ret; -} - -// Returns the temperature in Celsius times four. -int16_t DS3232RTC::temperature() -{ - union int16_byte { - int16_t i; - byte b[2]; - } rtcTemp; - - rtcTemp.b[0] = readRTC(RTC_TEMP_LSB); - rtcTemp.b[1] = readRTC(RTC_TEMP_MSB); - return rtcTemp.i / 64; -} - -// Decimal-to-BCD conversion -uint8_t DS3232RTC::dec2bcd(uint8_t n) -{ - return n + 6 * (n / 10); -} - -// BCD-to-Decimal conversion -uint8_t __attribute__ ((noinline)) DS3232RTC::bcd2dec(uint8_t n) -{ - return n - 6 * (n >> 4); -} - -#ifdef ARDUINO_ARCH_AVR -DS3232RTC RTC; // instantiate an RTC object -#endif diff --git a/.oldds32rtc.h b/.oldds32rtc.h deleted file mode 100644 index 0f627ca..0000000 --- a/.oldds32rtc.h +++ /dev/null @@ -1,93 +0,0 @@ -// Arduino DS3232RTC Library -// https://github.com/JChristensen/DS3232RTC -// Copyright (C) 2018 by Jack Christensen and licensed under -// GNU GPL v3.0, https://www.gnu.org/licenses/gpl.html -// -// Arduino library for the Maxim Integrated DS3232 and DS3231 -// Real-Time Clocks. -// Requires PJRC's improved version of the Arduino Time Library, -// https://playground.arduino.cc/Code/Time -// https://github.com/PaulStoffregen/Time -// -// For AVR architecture, a DS3232RTC object named RTC is instantiated -// by the library and I2C initialization occurs in the constructor; -// this is for backwards compatibility. -// For other architectures, the user needs to instantiate a DS3232RTC -// object and optionally initialize the I2C bus by calling -// DS3232RTC::begin(). The constructor has an optional bool parameter -// to indicate whether I2C initialization should occur in the -// constructor; this parameter defaults to true if not given. - -#ifndef DS3232RTC_H_INCLUDED -#define DS3232RTC_H_INCLUDED - -#include <Arduino.h> -#include <TimeLib.h> // https://github.com/PaulStoffregen/Time - -// Alarm masks -enum ALARM_TYPES_t { - ALM1_EVERY_SECOND = 0x0F, - ALM1_MATCH_SECONDS = 0x0E, - ALM1_MATCH_MINUTES = 0x0C, // match minutes *and* seconds - ALM1_MATCH_HOURS = 0x08, // match hours *and* minutes, seconds - ALM1_MATCH_DATE = 0x00, // match date *and* hours, minutes, seconds - ALM1_MATCH_DAY = 0x10, // match day *and* hours, minutes, seconds - ALM2_EVERY_MINUTE = 0x8E, - ALM2_MATCH_MINUTES = 0x8C, // match minutes - ALM2_MATCH_HOURS = 0x88, // match hours *and* minutes - ALM2_MATCH_DATE = 0x80, // match date *and* hours, minutes - ALM2_MATCH_DAY = 0x90, // match day *and* hours, minutes -}; - -// Square-wave output frequency (TS2, RS1 bits) -enum SQWAVE_FREQS_t { - SQWAVE_1_HZ, - SQWAVE_1024_HZ, - SQWAVE_4096_HZ, - SQWAVE_8192_HZ, - SQWAVE_NONE -}; - -#define ALARM_1 1 // constants for alarm functions -#define ALARM_2 2 - -class DS3232RTC -{ - public: - DS3232RTC(bool initI2C = true); - void begin(); - static time_t get(); // static needed to work with setSyncProvider() in the Time library - byte set(time_t t); - static byte read(tmElements_t &tm); - byte write(tmElements_t &tm); - byte writeRTC(byte addr, byte *values, byte nBytes); - byte writeRTC(byte addr, byte value); - byte readRTC(byte addr, byte *values, byte nBytes); - byte readRTC(byte addr); - void setAlarm(ALARM_TYPES_t alarmType, byte seconds, byte minutes, byte hours, byte daydate); - void setAlarm(ALARM_TYPES_t alarmType, byte minutes, byte hours, byte daydate); - void alarmInterrupt(byte alarmNumber, bool alarmEnabled); - bool alarm(byte alarmNumber); - void squareWave(SQWAVE_FREQS_t freq); - bool oscStopped(bool clearOSF = false); - int16_t temperature(); - static byte errCode; - - private: - uint8_t dec2bcd(uint8_t n); - static uint8_t bcd2dec(uint8_t n); -}; - -#ifdef ARDUINO_ARCH_AVR -extern DS3232RTC RTC; -#endif - -#ifndef _BV -#define _BV(bit) (1 << (bit)) -#endif - -#ifndef BUFFER_LENGTH // a horrible and limiting kludge for samd (arduino zero) -#define BUFFER_LENGTH 32 -#endif - -#endif |