diff --git a/SillyFilly-Hardware-Attack-Tool/ESP32-P4/CMakeLists.txt b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/CMakeLists.txt new file mode 100644 index 0000000..96d9c82 --- /dev/null +++ b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/CMakeLists.txt @@ -0,0 +1,9 @@ +# 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.16) + +# for disable 80211 sanity check +add_link_options("-Wl,-z,muldefs") + +include($ENV{IDF_PATH}/tools/cmake/project.cmake) +project(SillyFilly-Hardware-Attack-Tool) diff --git a/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/CMakeLists.txt b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/CMakeLists.txt new file mode 100644 index 0000000..b5dc009 --- /dev/null +++ b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/CMakeLists.txt @@ -0,0 +1,2 @@ +idf_component_register(SRCS "SillyFilly-Hardware-Attack-Tool.c" + INCLUDE_DIRS "." "includes") diff --git a/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/Kconfig.projbuild b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/Kconfig.projbuild new file mode 100644 index 0000000..fe5a033 --- /dev/null +++ b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/Kconfig.projbuild @@ -0,0 +1,21 @@ +menu "SillyFilly Hardware Attack Tool Configuration" + + config EXAMPLE_PULSE_COUNT_PIN + int "Input pin for the pulse counter" + default 6 + help + GPIO pin used as the input for the pulse counter + + config EXAMPLE_PULSE_COUNT_WAKEUP_LIMIT + int "Wake-up pulse count limit" + default 10 + help + Number of pulses counted after which the ULP will wake up the main CPU + +config EXAMPLE_PULSE_COUNT_SIMULATE + bool "Simulate pulses on input pin" + default n + help + The ULP will periodically toggle the input pin to simulate pulses + +endmenu \ No newline at end of file diff --git a/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/SillyFilly-Hardware-Attack-Tool.c b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/SillyFilly-Hardware-Attack-Tool.c new file mode 100644 index 0000000..7b66f33 --- /dev/null +++ b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/SillyFilly-Hardware-Attack-Tool.c @@ -0,0 +1,6 @@ +#include + +void app_main(void) +{ + +} diff --git a/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/idf_component.yml b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/idf_component.yml new file mode 100644 index 0000000..f6b892e --- /dev/null +++ b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/idf_component.yml @@ -0,0 +1,3 @@ +dependencies: + espressif/esp_hosted: "*" + espressif/esp_wifi_remote: "*" diff --git a/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/includes/README.md b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/includes/README.md new file mode 100644 index 0000000..c05c071 --- /dev/null +++ b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/includes/README.md @@ -0,0 +1 @@ +intentionally left blank \ No newline at end of file diff --git a/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/lp/README.md b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/lp/README.md new file mode 100644 index 0000000..c05c071 --- /dev/null +++ b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/main/lp/README.md @@ -0,0 +1 @@ +intentionally left blank \ No newline at end of file diff --git a/SillyFilly-Hardware-Attack-Tool/ESP32-P4/sdkconfig.defaults b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/sdkconfig.defaults new file mode 100644 index 0000000..743f554 --- /dev/null +++ b/SillyFilly-Hardware-Attack-Tool/ESP32-P4/sdkconfig.defaults @@ -0,0 +1,19 @@ +# This file was generated using idf.py save-defconfig. It can be edited manually. +# Espressif IoT Development Framework (ESP-IDF) 5.5.0 Project Minimal Configuration +# +CONFIG_IDF_TARGET="esp32p4" +CONFIG_BOOTLOADER_LOG_LEVEL_WARN=y +CONFIG_ESPTOOLPY_FLASHMODE_QIO=y +CONFIG_ESPTOOLPY_FLASHFREQ_120M=y +CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y +CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE=y +CONFIG_CONSOLE_SORTED_HELP=y +CONFIG_SPIRAM=y +CONFIG_SPIRAM_SPEED_80M=y +CONFIG_SPIRAM_XIP_FROM_PSRAM=y +CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y +CONFIG_FREERTOS_UNICORE=y +CONFIG_ULP_COPROC_ENABLED=y +CONFIG_ULP_HP_UART_CONSOLE_PRINT=y +CONFIG_SLAVE_IDF_TARGET_ESP32C5=y +CONFIG_IDF_EXPERIMENTAL_FEATURES=y