Skip to content

Commit

Permalink
Added code
Browse files Browse the repository at this point in the history
  • Loading branch information
janick committed Jan 17, 2023
1 parent 1091feb commit d1dd508
Show file tree
Hide file tree
Showing 39 changed files with 5,099 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
main/secrets.h
*.pem
build*
backup
managed_components

# Prerequisites
*.d
Expand Down
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "components/LovyanGFX"]
path = components/LovyanGFX
url = https://github.com/lovyan03/LovyanGFX.git
[submodule "components/lvgl"]
path = components/lvgl
url = https://github.com/lvgl/lvgl.git
48 changes: 48 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# For more information about build system see
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
# The following five lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)

# Make sure sdkconfig is created in the build folder
# Only required if working with different controller variants
# set(SDKCONFIG "${CMAKE_BINARY_DIR}/sdkconfig")

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

#LVGL custom config file setup
idf_build_set_property(COMPILE_OPTIONS "-DLV_CONF_INCLUDE_SIMPLE=1" APPEND)
idf_build_set_property(COMPILE_OPTIONS "-I../main" APPEND)

# Disable annoying warnings (for now)
idf_build_set_property(COMPILE_OPTIONS "-Wno-missing-field-initializers" APPEND)
idf_build_set_property(COMPILE_OPTIONS "-Wno-unused-variable" APPEND)
idf_build_set_property(COMPILE_OPTIONS "-Wno-unused-function" APPEND)


# This should be only for .cpp files
#idf_build_set_property(COMPILE_OPTIONS "-Wdeprecated-enum-enum-conversion" APPEND)

# Trouble unless you know what you are doing
idf_build_set_property(COMPILE_OPTIONS "-Wno-pointer-arith" APPEND)

project(WT32-SqLn)

# Enable colors for compile output
idf_build_set_property(COMPILE_OPTIONS "-fdiagnostics-color=always" APPEND)

# Display Compile Time Information
message(STATUS "--------------Compile Info------------")
message(STATUS "IDF_PATH = ${IDF_PATH}")
message(STATUS "IDF_TARGET = ${IDF_TARGET}")
message(STATUS "PROJECT_NAME = ${PROJECT_NAME}")
message(STATUS "PROJECT_DIR = ${PROJECT_DIR}")
message(STATUS "BUILD_DIR = ${BUILD_DIR}")
message(STATUS "SDKCONFIG = ${SDKCONFIG}")
message(STATUS "SDKCONFIG_DEFAULTS = ${SDKCONFIG_DEFAULTS}")
message(STATUS "CONFIG_LV_CONF_SKIP = ${CONFIG_LV_CONF_SKIP}")
#message(STATUS "COMPILE_OPTIONS = ${COMPILE_OPTIONS}")
message(STATUS "---------------------------------------")
message(STATUS "CMAKE_SOURCE_DIR = ${CMAKE_SOURCE_DIR}")
message(STATUS "CMAKE_BINARY_DIR = ${CMAKE_BINARY_DIR}")
message(STATUS "---------By Sukesh Ashok Kumar---------")
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
MIT License

Copyright (c) 2022 Sukesh Ashok Kumar
Copyright (c) 2023 Janick Bergeron

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ If you were fortunate enough to order a WT32-SC01 Plus that came with its own cu
## OTA Updates

This trivial example application includes over-the-air (OTA) update cability.
Once the example application is flashed once using the serial communication board,
Once the example application is flashed using the serial communication board,
you can use OTA updates instead for subsequent updates but takes longer to flash (approx 2mins).

1. Build the latest version of the application using the command `idf.py build`
Expand All @@ -121,7 +121,9 @@ you can use OTA updates instead for subsequent updates but takes longer to flash
1. Reset your WT32-SC01 Plus

1. While the splash screen is displayed, tap the project name 5 times to trigger an OTA upgrade.
For the upgrade to complete succesfully, you must have correctly specified your WiFi credentials and OTA server certificate when building.

For the upgrade to complete succesfully, you must have correctly specified your WiFi credentials and OTA server certificate when building.


## Squareline Studio

Expand All @@ -148,14 +150,15 @@ After cloning this respository:

1. Set your target device using the command `idf.py set-target esp32s3`

2. Generate a self-signed certificate for the OTA https server using the command `openssl req -x509 -newkey rsa:2048 -keyout ca_key.pem -out ca_cert.pem -days 365 -nodes`.
1. Generate a self-signed certificate for the OTA https server using the command
`openssl req -x509 -newkey rsa:2048 -keyout server_certs/ca_key.pem -out server_certs/ca_cert.pem -days 365 -nodes`.
When prompted for the `Common Name (CN)`, enter the IP address of the server that the WT32-SC01 Plus will connect to.

3. Copy the file `secrets.h` into the 'main' directory, and edit it to specify your WiFi credentials and OTA server certificate.
1. Copy the file `secrets.h` into the 'main' directory, and edit it to specify your WiFi credentials and OTA server certificate.
The certificate can be found in the file `server_certs/ca_cert.pem`.
ToDo: replace with menuconfig and get the certificate compiled into the binary directly.

4. Build the demo application using the command `idf.py build`
1. Build the demo application using the command `idf.py build`

## Screenshots

Expand Down
1 change: 1 addition & 0 deletions SquareLine/SquareLine_Project.sll
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"SquareLine_Project.spj","depth":2,"width":320,"height":480,"rotation":0,"offset_x":0,"offset_y":0,"description":"","board":"WT32-SC01 Plus","board_version":"1.0.0","editor_version":"1.1.1","image":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAHgAUADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD5/ooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAorvNTbw54f03w8kvhW1vpL3S47ued7u4SQuzupxtfaOEH8NXrPwTo/9s3V6AbjShpEeq2lpdXaW5fzHWMRyykqAFYtkgjOBjk0Aea0V6L/wi1pLrVhqd5otpZaHHbTXd2llqq3UUywEblVldmTcXjj5YnLcH0rv4Z0tdc14x27PpraLJqmmZkb5FYKU5B5KEshznlTmgDgqK7XWoPD3h5Y9Hk0F725fT4p21H7W6P5ksQkBRR8mxdwHKknB5Fbsngyxihs9IsdF0/Ur66sY5TdS67FBcebJEJB5cRkACruHDISwBORkGgDy2iui8B6XZ61450jTtQh860uJ9kse4ruGD3BBH4GjV9Jtrbwf4av4LdluL77SJpAWPmFJAqgDOBgEdPWgDnaK7/XPDmj2t38QEtrXamkzRpZDzHPlA3AQjk/Nxkc5q1a6F4dTxHpHhCbRpp7jUILYvqq3D+Ykk8auGjQfIY13gEEEna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Vj4dP8QoruXxB441a7sNBsoXd4r0KhlOCOVxkAZzzgkgAZ5rxLQPH/irwvB9n0fWri3g7QttkjX1wrggfgKj8QeN/EvipVTWtYuLqJTuEXCR59digLn3xQBD4u1seI/F2q6wqlY7u5Z41PUJnCg++AKxaKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAOmvfH/iPUPCMHhe5v9+lwhVWPy1DFV+6pbGSBgY+g9K5miigAooooAKKKKACiiigAooooAKKKKACum1Hx94j1Xwpa+Gry+36ZbBQkflqGIXhQWxkgdvw9K5migAooooA3PDXi/XfCFxPPoV99klnQJI3kpJuAOQPnU4rDJJJJ6miigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/Z","force_export_images":false,"pointfilter":false,"theme_simplified":false,"theme_dark":true,"theme_color1":5,"theme_color2":0,"exportFolderPath":"/Users/janick/Documents/WT32-SqLn/main/ui","backup_cnt":7,"autosave_cnt":0,"lvgl_version":"8.2.0","callfuncsexport":""}
1 change: 1 addition & 0 deletions SquareLine/SquareLine_Project.spj

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions SquareLine/SquareLine_Project_events.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

def splashScreenTitleTapped_cb(event_struct):
return


def buttonClicked_cb(event_struct):
return


def splashScreenTapped_cb(event_struct):
return


def counterButtonClicked_cb(event_struct):
return

1 change: 1 addition & 0 deletions components/LovyanGFX
Submodule LovyanGFX added at 18435d
1 change: 1 addition & 0 deletions components/lvgl
Submodule lvgl added at 5545ff
15 changes: 15 additions & 0 deletions dependencies.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
dependencies:
espressif/fmt:
component_hash: 629fefb141acf0bf838acbf9bac33ad22135b06b6da01f6cc657d59e83d5b213
source:
service_url: https://api.components.espressif.com/
type: service
version: 9.1.0
idf:
component_hash: null
source:
type: idf
version: 5.0.0
manifest_hash: 139975ecd6540748714231ebdfea7d23a7e685c8c136504bc78c60749aca2cee
target: esp32s3
version: 1.0.0
10 changes: 10 additions & 0 deletions main/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
file(GLOB_RECURSE UI_FILES "ui/*.c")

idf_component_register(SRCS "main.cpp" ${UI_FILES}
INCLUDE_DIRS "." "devices" "helpers" "ui"
REQUIRES LovyanGFX lvgl
app_update esp_https_ota esp_event esp_timer spi_flash esp_wifi esp_partition
esp_hw_support
# Embed the server root certificate into the final binary
EMBED_TXTFILES ${project_dir}/server_certs/ca_cert.pem
)
Loading

0 comments on commit d1dd508

Please sign in to comment.