Skip to content

Commit

Permalink
New async wifi manager
Browse files Browse the repository at this point in the history
drops support for NTP & RTC
  • Loading branch information
pilotak committed May 13, 2023
1 parent fa4f03a commit 011285c
Show file tree
Hide file tree
Showing 19 changed files with 579 additions and 914 deletions.
42 changes: 42 additions & 0 deletions .astylerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Don't create backup files, let git handle it
suffix=none

# K&R style
style=google

# 4 spaces, convert tabs to spaces
indent=spaces=4
convert-tabs

# Indent
indent-switches
indent-classes
indent-preproc-block
indent-preproc-define

# Brackets
add-brackets

# Remove spaces in and around parentheses
unpad-paren

# Insert a space after if, while, for, and around operators
pad-header
pad-oper

# Pointer/reference operators go next to the name (on the right)
align-pointer=name
align-reference=name

# Attach { for classes and namespaces
attach-namespaces
attach-classes

# Extend longer lines, define maximum 120 value. This results in aligned code,
# otherwise the lines are broken and not consistent
max-continuation-indent=120
max-code-length=120

# Breaks
break-after-logical
break-blocks=all
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: build

on:
push:
branches:
- master

pull_request:
branches:
- "*"

jobs:
build:
strategy:
matrix:
board: ["ESP8266", "ESP32", "ESP32-C3"]

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"

- name: Install PlatformIO
run: |
pip install --upgrade platformio
- name: Compile ${{ matrix.board }}
run: |
pio run -e ${{ matrix.board }}
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.pioenvs
.piolibdeps
.pio
99 changes: 0 additions & 99 deletions ESP_boilerplate/clock.h

This file was deleted.

37 changes: 0 additions & 37 deletions ESP_boilerplate/const.h

This file was deleted.

131 changes: 0 additions & 131 deletions ESP_boilerplate/load.h

This file was deleted.

Loading

0 comments on commit 011285c

Please sign in to comment.