bakalarka/README.md

45 lines
1.7 KiB
Markdown
Raw Normal View History

2020-04-05 10:27:20 +00:00
# Certifikacna autorita na procesore ESP32
Softverova kniznica: ESP-IDF v4.2-dev-792-g6330b3345-dirty
Struktura projektu:
/.vscode/-c_cpp_properties.json #podpora C/C++ v projekte pre VS Code
/launch.json # GDB debugger
/components/ca/-ca.c
-gen_key.c
/cmd_nvs/-cmd_nvs.c
/cmd_system/-cmd_system.c
/display/-display.c
/files/-file.c
/https_server/-https_server.c
/-url_decoder.c
/wifi/wifi.c
/@lv_port_esp32 #graficka kniznica
/main/main.c
/partitions_example.csv
Stiahnutie projektu:
git clone git@git.kemt.fei.tuke.sk:db195kv/bakalarka.git
git submodule update --init --recursive
Vyuzitie projektu na procesore ESP32:
Used static DRAM: 124440 bytes ( 56296 available, 68.9% used)
Used static IRAM: 97948 bytes ( 33124 available, 74.7% used)
Total image size:~1162779 bytes
Pouzite priklady v projekte
2020-03-28 03:30:36 +00:00
* https://github.com/espressif/esp-idf/tree/master/examples/wifi/getting_started/station
* https://github.com/espressif/esp-idf/tree/master/examples/protocols/https_server
* https://github.com/espressif/esp-idf/tree/master/examples/system/console
* https://github.com/ARMmbed/mbedtls/blob/development/programs/pkey/gen_key.c
2020-04-05 10:27:20 +00:00
* https://github.com/ARMmbed/mbedtls/blob/development/programs/x509/cert_write.c
gen_key type=ec output_file=/spiffs/server_key.key
write_cert selfsign=1 issuer_key=/spiffs/keyfile.key issuer_name=CN=ESP32_CA,O=TUKE,C=SK is_ca=1 output_file=/spiffs/ca.crt
write_cert issuer_key=/spiffs/keyfile.key issuer_crt=/spiffs/ca.crt output_file=/spiffs/server.crt
write_cert request_file=/spiffs/certsignreq.csr issuer_key=/spiffs/keyfile.key issuer_crt=/spiffs/ca.crt output_file=/spiffs/user.crt