diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5732c728..64f0c635 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,9 @@ on: pull_request: branches: [main, dev] +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: commitlint: name: Validate Commits diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 764bddcf..55343ed0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,12 @@ permissions: issues: write pull-requests: write +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: - version: - name: Semantic Release + release: + name: Release runs-on: ubuntu-latest outputs: new_release: ${{ steps.semrel.outputs.new_release }} @@ -21,6 +24,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + persist-credentials: false - uses: actions/setup-node@v4 with: @@ -43,20 +47,24 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - OUTPUT=$(npx semantic-release 2>&1) || true - echo "$OUTPUT" - VERSION=$(echo "$OUTPUT" | grep -oP 'Published release \K[0-9]+\.[0-9]+\.[0-9]+' || echo "") + npx semantic-release 2>&1 | tee /tmp/semrel.log + VERSION=$(grep -oP 'Published release \K[0-9]+\.[0-9]+\.[0-9]+' /tmp/semrel.log || echo "") + if [ -z "$VERSION" ]; then + VERSION=$(grep -oP 'next release version is \K[0-9]+\.[0-9]+\.[0-9]+' /tmp/semrel.log || echo "") + fi if [ -n "$VERSION" ]; then echo "new_release=true" >> $GITHUB_OUTPUT echo "version=$VERSION" >> $GITHUB_OUTPUT + echo "Release version: $VERSION" else echo "new_release=false" >> $GITHUB_OUTPUT + echo "No new release" fi build: name: Build & Upload - needs: version - if: needs.version.outputs.new_release == 'true' + needs: release + if: needs.release.outputs.new_release == 'true' runs-on: ubuntu-latest container: image: espressif/idf:v5.5.1 @@ -65,22 +73,19 @@ jobs: - uses: actions/checkout@v4 with: ref: main - fetch-depth: 0 submodules: recursive - - name: Pull latest (includes version commit) - run: git pull origin main - - name: Build run: bash tools/build.sh shell: bash + - name: Rename binary + run: cp firmware_p4/build/TentacleOS_P4.bin "TentacleOS_v${{ needs.release.outputs.version }}.bin" + - name: Upload binary to Release + uses: softprops/action-gh-release@v2 + with: + tag_name: "v${{ needs.release.outputs.version }}" + files: "TentacleOS_v${{ needs.release.outputs.version }}.bin" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VERSION: ${{ needs.version.outputs.version }} - run: | - cp firmware_p4/build/TentacleOS_P4.bin "TentacleOS_v${VERSION}.bin" - gh release upload "v${VERSION}" \ - "TentacleOS_v${VERSION}.bin" \ - --clobber diff --git a/firmware_p4/temp/config/OTA/firmware.json b/firmware_p4/temp/config/OTA/firmware.json deleted file mode 100644 index 0b1c70df..00000000 --- a/firmware_p4/temp/config/OTA/firmware.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "system_hardware": "HighBoy_v1", - "ota_repository_url": "https://repository.highboy.com.br/firmware/system/update.json", - "changelog": "vazio ate agora", - "components": { - "master_mcu": { - "chip": "ESP32-S3", - "version": "1.0.0", - "status": "active" - }, - "slave_mcu": { - "chip": "ESP32-C5", - "version": "1.0.0", - "status": "active" - } - } -} - -update.json (its be available in web server, saving it here temporary). -{ - "release_tag": "release_2024_01_update", github actions - "critical": true, - "changelog": "Update crítico do driver de rádio no C5 e melhorias de UI no S3.", - "packages": [ - { - "component": "master_mcu", - "version": "1.0.1", - "url": "https://repository.highboy.com.br/firmware/esp32-s3/fw_s3_1.0.1.bin", - "size": 1452032, - "md5": "5eb63bbbe01eeed093cb22bb8f5acdc3", - "action": "self_update" - }, - { - "component": "slave_mcu", - "version": "1.0.2", - "url": "https://repository.highboy.com.br/firmware/esp32-c5/fw_c5_1.0.2.bin", - "size": 524288, - "md5": "a1b2c3d4e5f6as12da123f12r6", - "action": "flash_via_peripheral" - } - ] -} diff --git a/firmware_p4/temp/config/bluetooth/beacon_list.conf b/firmware_p4/temp/config/bluetooth/beacon_list.conf deleted file mode 100644 index 9eed31c9..00000000 --- a/firmware_p4/temp/config/bluetooth/beacon_list.conf +++ /dev/null @@ -1,14 +0,0 @@ -{ - "spam_ble_announce": [ - "Darth Maul", - "Obi-Wan Kenobi", - "WiFi_Gratis_SQN", - "Virus_Detected", - "Area 51 Lab", - "FBI Surveillance Van", - "Click Here For Free Pizza", - "404 Network Not Found", - "High Code Guest", - "The Dark Side" - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/bluetooth/ble_announce.conf b/firmware_p4/temp/config/bluetooth/ble_announce.conf deleted file mode 100644 index f235a077..00000000 --- a/firmware_p4/temp/config/bluetooth/ble_announce.conf +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ssid": "Darth Maul", - "max_conn": 4 -} - diff --git a/firmware_p4/temp/config/buzzer/buzzer.conf b/firmware_p4/temp/config/buzzer/buzzer.conf deleted file mode 100644 index 0aac3f6a..00000000 --- a/firmware_p4/temp/config/buzzer/buzzer.conf +++ /dev/null @@ -1,4 +0,0 @@ -{ - "volume": 3, - "enabled": 1 -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/default_notes.conf b/firmware_p4/temp/config/buzzer/default_notes.conf deleted file mode 100644 index 07ca5964..00000000 --- a/firmware_p4/temp/config/buzzer/default_notes.conf +++ /dev/null @@ -1,91 +0,0 @@ -{ - "B0": 31.00, - "C1": 33.00, - "CS1": 35.00, - "D1": 37.00, - "DS1": 39.00, - "E1": 41.00, - "F1": 44.00, - "FS1": 46.00, - "G1": 49.00, - "GS1": 52.00, - "A1": 55.00, - "AS1": 58.00, - "B1": 62.00, - "C2": 65.00, - "CS2": 69.00, - "D2": 73.00, - "DS2": 78.00, - "E2": 82.00, - "F2": 87.00, - "FS2": 93.00, - "G2": 98.00, - "GS2": 104.00, - "A2": 110.00, - "AS2": 117.00, - "B2": 123.00, - "C3": 131.00, - "CS3": 139.00, - "D3": 147.00, - "DS3": 156.00, - "E3": 165.00, - "F3": 175.00, - "FS3": 185.00, - "G3": 196.00, - "GS3": 208.00, - "A3": 220.00, - "AS3": 233.00, - "B3": 247.00, - "C4": 261.63, - "CS4": 277.00, - "D4": 293.66, - "DS4": 311.00, - "E4": 329.63, - "F4": 349.23, - "FS4": 370.00, - "G4": 392.00, - "GS4": 415.00, - "A4": 440.00, - "AS4": 466.00, - "B4": 493.88, - "C5": 523.25, - "CS5": 554.00, - "D5": 587.00, - "DS5": 622.00, - "E5": 659.00, - "F5": 698.00, - "FS5": 740.00, - "G5": 784.00, - "GS5": 831.00, - "A5": 880.00, - "AS5": 932.00, - "B5": 988.00, - "C6": 1047.00, - "CS6": 1109.00, - "D6": 1175.00, - "DS6": 1245.00, - "E6": 1319.00, - "F6": 1397.00, - "FS6": 1480.00, - "G6": 1568.00, - "GS6": 1661.00, - "A6": 1760.00, - "AS6": 1865.00, - "B6": 1976.00, - "C7": 2093.00, - "CS7": 2217.00, - "D7": 2349.00, - "DS7": 2489.00, - "E7": 2637.00, - "F7": 2794.00, - "FS7": 2960.00, - "G7": 3136.00, - "GS7": 3322.00, - "A7": 3520.00, - "AS7": 3729.00, - "B7": 3951.00, - "C8": 4186.00, - "CS8": 4435.00, - "D8": 4699.00, - "DS8": 4978.00 -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_access_denied.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_access_denied.conf deleted file mode 100644 index 089cfd2d..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_access_denied.conf +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "buzzer_access_denied", - "notes": [ - { - "freq": 311.00, - "duration": 200 - }, - { - "freq": 293.66, - "duration": 200 - }, - { - "freq": 277.00, - "duration": 200 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_access_granted.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_access_granted.conf deleted file mode 100644 index 07655907..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_access_granted.conf +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "buzzer_access_granted", - "notes": [ - { - "freq": 440.00, - "duration": 100 - }, - { - "freq": 0, - "duration": 50 - }, - { - "freq": 523.25, - "duration": 120 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_alarm.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_alarm.conf deleted file mode 100644 index 742a3845..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_alarm.conf +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "buzzer_alarm", - "notes": [ - {"freq": 523.25, "duration": 250}, - {"freq": 392.00, "duration": 250}, - {"freq": 523.25, "duration": 250}, - {"freq": 392.00, "duration": 250}, - {"freq": 523.25, "duration": 250}, - {"freq": 392.00, "duration": 250} - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_beep.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_beep.conf deleted file mode 100644 index 2e1fee3a..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_beep.conf +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "buzzer_beep", - "notes": [ - { - "freq": 988.00, - "duration": 100 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_boot_sequence.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_boot_sequence.conf deleted file mode 100644 index 6a7896b9..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_boot_sequence.conf +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "buzzer_boot_sequence", - "notes": [ - { - "freq": 523.25, - "duration": 80 - }, - { - "freq": 0, - "duration": 50 - }, - { - "freq": 659.00, - "duration": 60 - }, - { - "freq": 0, - "duration": 30 - }, - { - "freq": 784.00, - "duration": 100 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_click.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_click.conf deleted file mode 100644 index 5d891975..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_click.conf +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "buzzer_click", - "notes": [ - { - "freq": 784.00, - "duration": 50 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_critical_alert.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_critical_alert.conf deleted file mode 100644 index 55491809..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_critical_alert.conf +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "buzzer_critical_alert", - "notes": [ - {"freq": 988.00, "duration": 100}, {"freq": 0, "duration": 50}, - {"freq": 988.00, "duration": 100}, {"freq": 0, "duration": 50}, - {"freq": 988.00, "duration": 100}, {"freq": 0, "duration": 50}, - {"freq": 988.00, "duration": 100}, {"freq": 0, "duration": 50} - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_digital_pulse.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_digital_pulse.conf deleted file mode 100644 index 02ae59fe..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_digital_pulse.conf +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "buzzer_digital_pulse", - "notes": [ - { - "freq": 1047.00, - "duration": 40 - }, - { - "freq": 0, - "duration": 20 - }, - { - "freq": 1319.00, - "duration": 40 - }, - { - "freq": 0, - "duration": 20 - }, - { - "freq": 1568.00, - "duration": 40 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_error.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_error.conf deleted file mode 100644 index 73fbd1ea..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_error.conf +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "buzzer_error", - "notes": [ - { - "freq": 659.00, - "duration": 150 - }, - { - "freq": 0, - "duration": 50 - }, - { - "freq": 523.25, - "duration": 150 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_flipper_denied.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_flipper_denied.conf deleted file mode 100644 index 25557fb3..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_flipper_denied.conf +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "buzzer_flipper_denied", - "notes": [ - { - "freq": 311.13, - "duration": 80 - }, - { - "freq": 261.63, - "duration": 50 - }, - { - "freq": 0, - "duration": 80 - }, - { - "freq": 246.94, - "duration": 120 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_flipper_granted.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_flipper_granted.conf deleted file mode 100644 index abba3a07..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_flipper_granted.conf +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "buzzer_flipper_granted", - "notes": [ - { - "freq": 440.00, - "duration": 60 - }, - { - "freq": 523.25, - "duration": 60 - }, - { - "freq": 659.25, - "duration": 120 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_hacker_confirm.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_hacker_confirm.conf deleted file mode 100644 index 36c076a1..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_hacker_confirm.conf +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "buzzer_hacker_confirm", - "notes": [ - { - "freq": 659.00, - "duration": 60 - }, - { - "freq": 0, - "duration": 30 - }, - { - "freq": 784.00, - "duration": 100 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_hacker_glitch.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_hacker_glitch.conf deleted file mode 100644 index f1fd6152..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_hacker_glitch.conf +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "buzzer_hacker_glitch", - "notes": [ - {"freq": 1245.00, "duration": 30}, {"freq": 0, "duration": 10}, - {"freq": 1661.00, "duration": 30}, {"freq": 0, "duration": 10}, - {"freq": 1245.00, "duration": 30}, {"freq": 0, "duration": 10}, - {"freq": 1661.00, "duration": 30}, {"freq": 0, "duration": 10}, - {"freq": 1245.00, "duration": 30}, {"freq": 0, "duration": 10}, - {"freq": 1661.00, "duration": 30}, {"freq": 0, "duration": 10}, - {"freq": 1245.00, "duration": 30}, {"freq": 0, "duration": 10}, - {"freq": 1661.00, "duration": 30}, {"freq": 0, "duration": 10}, - {"freq": 1245.00, "duration": 30}, {"freq": 0, "duration": 10}, - {"freq": 1661.00, "duration": 30}, {"freq": 0, "duration": 10} - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_notify_long.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_notify_long.conf deleted file mode 100644 index a6b856a5..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_notify_long.conf +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "buzzer_notify_long", - "notes": [ - { - "freq": 659.00, - "duration": 150 - }, - { - "freq": 0, - "duration": 50 - }, - { - "freq": 784.00, - "duration": 150 - }, - { - "freq": 0, - "duration": 50 - }, - { - "freq": 1047.00, - "duration": 300 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_notify_short.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_notify_short.conf deleted file mode 100644 index f72da3d8..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_notify_short.conf +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "buzzer_notify_short", - "notes": [ - { - "freq": 784.00, - "duration": 80 - }, - { - "freq": 0, - "duration": 50 - }, - { - "freq": 1047.00, - "duration": 100 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_radar_ping.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_radar_ping.conf deleted file mode 100644 index 8221acb9..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_radar_ping.conf +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "buzzer_radar_ping", - "notes": [ - { - "freq": 392.00, - "duration": 100 - }, - { - "freq": 0, - "duration": 300 - }, - { - "freq": 329.63, - "duration": 80 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_scanner_loop.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_scanner_loop.conf deleted file mode 100644 index a6b2d514..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_scanner_loop.conf +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "buzzer_scanner_loop", - "notes": [ - { - "freq": 262.00, - "duration": 50 - }, - { - "freq": 0, - "duration": 30 - }, - { - "freq": 312.00, - "duration": 50 - }, - { - "freq": 0, - "duration": 30 - }, - { - "freq": 362.00, - "duration": 50 - }, - { - "freq": 0, - "duration": 30 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_scroll_tick.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_scroll_tick.conf deleted file mode 100644 index 96326035..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_scroll_tick.conf +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "buzzer_scroll_tick", - "notes": [ - { - "freq": 1047.00, - "duration": 20 - }, - { - "freq": 0, - "duration": 20 - }, - { - "freq": 1319.00, - "duration": 20 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_success.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_success.conf deleted file mode 100644 index 8d919ecc..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_success.conf +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "buzzer_success", - "notes": [ - { - "freq": 523.25, - "duration": 100 - }, - { - "freq": 0, - "duration": 50 - }, - { - "freq": 587.00, - "duration": 100 - }, - { - "freq": 0, - "duration": 50 - }, - { - "freq": 659.00, - "duration": 100 - } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/buzzer_system_tick.conf b/firmware_p4/temp/config/buzzer/sounds/buzzer_system_tick.conf deleted file mode 100644 index 3e820553..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/buzzer_system_tick.conf +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "buzzer_system_tick", - "notes": [ - { "freq": 1047.00, "duration": 25 }, - { "freq": 0, "duration": 40 }, - { "freq": 1047.00, "duration": 25 }, - { "freq": 0, "duration": 40 }, - { "freq": 1047.00, "duration": 25 }, - { "freq": 0, "duration": 40 } - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/megalovania.conf b/firmware_p4/temp/config/buzzer/sounds/megalovania.conf deleted file mode 100644 index 0902aac5..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/megalovania.conf +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "Megalovania", - "notes": [ - {"freq": 587.33, "duration": 125}, {"freq": 587.33, "duration": 125}, {"freq": 440.00, "duration": 125}, - {"freq": 587.33, "duration": 125}, {"freq": 440.00, "duration": 125}, {"freq": 587.33, "duration": 125}, - {"freq": 440.00, "duration": 250}, {"freq": 0, "duration": 125}, - {"freq": 698.46, "duration": 125}, {"freq": 698.46, "duration": 125}, {"freq": 523.25, "duration": 125}, - {"freq": 698.46, "duration": 125}, {"freq": 523.25, "duration": 125}, {"freq": 698.46, "duration": 125}, - {"freq": 523.25, "duration": 250}, {"freq": 0, "duration": 125}, - {"freq": 783.99, "duration": 125}, {"freq": 739.99, "duration": 125}, {"freq": 698.46, "duration": 125}, - {"freq": 622.25, "duration": 125}, {"freq": 587.33, "duration": 125}, {"freq": 622.25, "duration": 125}, - {"freq": 698.46, "duration": 250} - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/super_mario.conf b/firmware_p4/temp/config/buzzer/sounds/super_mario.conf deleted file mode 100644 index 77ebf06a..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/super_mario.conf +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Super Mario Bros Theme", - "notes": [ - {"freq": 2637.02, "duration": 83}, {"freq": 2637.02, "duration": 83}, {"freq": 0, "duration": 83}, {"freq": 2637.02, "duration": 83}, - {"freq": 0, "duration": 83}, {"freq": 2093.00, "duration": 83}, {"freq": 2637.02, "duration": 83}, {"freq": 0, "duration": 83}, - {"freq": 3135.96, "duration": 83}, {"freq": 0, "duration": 83}, {"freq": 0, "duration": 83}, {"freq": 0, "duration": 83}, - {"freq": 1567.98, "duration": 83}, {"freq": 0, "duration": 83}, {"freq": 0, "duration": 83}, {"freq": 0, "duration": 83}, - {"freq": 2093.00, "duration": 83}, {"freq": 0, "duration": 83}, {"freq": 0, "duration": 83}, {"freq": 1567.98, "duration": 83}, - {"freq": 0, "duration": 83}, {"freq": 0, "duration": 83}, {"freq": 1318.51, "duration": 83}, {"freq": 0, "duration": 83}, - {"freq": 0, "duration": 83}, {"freq": 1760.00, "duration": 83}, {"freq": 0, "duration": 83}, {"freq": 1975.53, "duration": 83}, - {"freq": 0, "duration": 83}, {"freq": 1864.66, "duration": 83}, {"freq": 1760.00, "duration": 83}, {"freq": 0, "duration": 83} - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/buzzer/sounds/zelda_lullaby.conf b/firmware_p4/temp/config/buzzer/sounds/zelda_lullaby.conf deleted file mode 100644 index 6b879889..00000000 --- a/firmware_p4/temp/config/buzzer/sounds/zelda_lullaby.conf +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "Zelda's Lullaby", - "notes": [ - {"freq": 246.94, "duration": 1000}, {"freq": 293.66, "duration": 500}, {"freq": 220.00, "duration": 1000}, - {"freq": 196.00, "duration": 250}, {"freq": 220.00, "duration": 250}, {"freq": 246.94, "duration": 1000}, - {"freq": 293.66, "duration": 500}, {"freq": 220.00, "duration": 1500}, {"freq": 246.94, "duration": 1000}, - {"freq": 293.66, "duration": 500}, {"freq": 440.00, "duration": 1000}, {"freq": 392.00, "duration": 500}, - {"freq": 293.66, "duration": 1000}, {"freq": 261.63, "duration": 250}, {"freq": 246.94, "duration": 250}, - {"freq": 220.00, "duration": 1500}, {"freq": 523.25, "duration": 1500} - ] -} \ No newline at end of file diff --git a/firmware_p4/temp/config/chat/addresses.conf b/firmware_p4/temp/config/chat/addresses.conf deleted file mode 100644 index ac62bf5a..00000000 --- a/firmware_p4/temp/config/chat/addresses.conf +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "mac": "24:6F:28:AE:B1:C0", - "name": "Highboy_Dev" - }, - { - "mac": "30:AE:A4:07:0B:D4", - "name": "Retro_User" - } -] \ No newline at end of file diff --git a/firmware_p4/temp/config/chat/chat.conf b/firmware_p4/temp/config/chat/chat.conf deleted file mode 100644 index ce6cf820..00000000 --- a/firmware_p4/temp/config/chat/chat.conf +++ /dev/null @@ -1,4 +0,0 @@ -{ - "nick": "Highboy_User", - "online": true -} diff --git a/firmware_p4/temp/config/screen/brightness.conf b/firmware_p4/temp/config/screen/brightness.conf deleted file mode 100644 index a6444f39..00000000 --- a/firmware_p4/temp/config/screen/brightness.conf +++ /dev/null @@ -1,5 +0,0 @@ -{ - "brightness": 100, - "rotate": true, -} - diff --git a/firmware_p4/temp/config/screen/interface_config.conf b/firmware_p4/temp/config/screen/interface_config.conf deleted file mode 100644 index 9863419d..00000000 --- a/firmware_p4/temp/config/screen/interface_config.conf +++ /dev/null @@ -1,6 +0,0 @@ -{ - "theme": "default", - "header_idx": 0, - "hide_footer": false, - "lang_idx": 0 -} \ No newline at end of file diff --git a/firmware_p4/temp/config/screen/screen_config.conf b/firmware_p4/temp/config/screen/screen_config.conf deleted file mode 100644 index eb69aebb..00000000 --- a/firmware_p4/temp/config/screen/screen_config.conf +++ /dev/null @@ -1,4 +0,0 @@ -{ - "brightness": 80, - "rotation": 1 -} \ No newline at end of file diff --git a/firmware_p4/temp/config/screen/screen_themes.conf b/firmware_p4/temp/config/screen/screen_themes.conf deleted file mode 100644 index 3bde2c02..00000000 --- a/firmware_p4/temp/config/screen/screen_themes.conf +++ /dev/null @@ -1,134 +0,0 @@ -{ - "default": { - "bg_primary": "0x1A053D", - "bg_secondary": "0x1B1764", - "bg_item_top": "0x000000", - "bg_item_bot": "0x2E0157", - "border_accent": "0x834EC6", - "border_interface": "0x5E12A0", - "border_inactive": "0x333333", - "text_main": "0xFFFFFF", - "screen_base": "0x0A0220" - }, - "matrix": { - "bg_primary": "0x001a0d", - "bg_secondary": "0x003d1a", - "bg_item_top": "0x00120a", - "bg_item_bot": "0x002614", - "border_accent": "0x00FF41", - "border_interface": "0x39FF14", - "border_inactive": "0x1a4d2e", - "text_main": "0x7FFF00", - "screen_base": "0x000a05" - }, - "cyber_blue": { - "bg_primary": "0x0a1f29", - "bg_secondary": "0x1a3d52", - "bg_item_top": "0x050f14", - "bg_item_bot": "0x0d2633", - "border_accent": "0x00D9FF", - "border_interface": "0xFF00FF", - "border_inactive": "0x2a5266", - "text_main": "0x0FF0FC", - "screen_base": "0x020a0f" - }, - "blood": { - "bg_primary": "0x2d0a14", - "bg_secondary": "0x4d1429", - "bg_item_top": "0x1a0508", - "bg_item_bot": "0x330a1a", - "border_accent": "0xFF0055", - "border_interface": "0xFF3377", - "border_inactive": "0x4d1f33", - "text_main": "0xFF4466", - "screen_base": "0x14050a" - }, - "toxic": { - "bg_primary": "0x1f2900", - "bg_secondary": "0x334d00", - "bg_item_top": "0x0a1400", - "bg_item_bot": "0x1a2600", - "border_accent": "0xCCFF00", - "border_interface": "0x99FF00", - "border_inactive": "0x4d6633", - "text_main": "0xD4FF00", - "screen_base": "0x0f1400" - }, - "ghost": { - "bg_primary": "0x1a1a29", - "bg_secondary": "0x2e2e47", - "bg_item_top": "0x0a0a14", - "bg_item_bot": "0x1a1a2e", - "border_accent": "0xB8B8FF", - "border_interface": "0x9D9DFF", - "border_inactive": "0x3d3d5c", - "text_main": "0xE6E6FF", - "screen_base": "0x0d0d1a" - }, - "neon_pink": { - "bg_primary": "0x29001a", - "bg_secondary": "0x4d0033", - "bg_item_top": "0x14000a", - "bg_item_bot": "0x26001a", - "border_accent": "0xFF00AA", - "border_interface": "0xFF33CC", - "border_inactive": "0x4d2647", - "text_main": "0xFF66DD", - "screen_base": "0x14000d" - }, - "amber": { - "bg_primary": "0x291a00", - "bg_secondary": "0x4d3300", - "bg_item_top": "0x140a00", - "bg_item_bot": "0x261a00", - "border_accent": "0xFFAA00", - "border_interface": "0xFFCC33", - "border_inactive": "0x664d33", - "text_main": "0xFFDD55", - "screen_base": "0x140d00" - }, - "terminal": { - "bg_primary": "0x0f1a0f", - "bg_secondary": "0x1a2e1a", - "bg_item_top": "0x050a05", - "bg_item_bot": "0x0d1a0d", - "border_accent": "0x00FF00", - "border_interface": "0x33FF33", - "border_inactive": "0x2e4d2e", - "text_main": "0x44FF44", - "screen_base": "0x050a05" - }, - "ice": { - "bg_primary": "0x001a29", - "bg_secondary": "0x00334d", - "bg_item_top": "0x000a14", - "bg_item_bot": "0x001a2e", - "border_accent": "0x00FFFF", - "border_interface": "0x66DDFF", - "border_inactive": "0x2e5266", - "text_main": "0xAAFFFF", - "screen_base": "0x000d1a" - }, - "deep_purple": { - "bg_primary": "0x1a0029", - "bg_secondary": "0x33004d", - "bg_item_top": "0x0a0014", - "bg_item_bot": "0x1a0026", - "border_accent": "0xAA00FF", - "border_interface": "0xCC66FF", - "border_inactive": "0x4d2e66", - "text_main": "0xDD99FF", - "screen_base": "0x0d0014" - }, - "midnight": { - "bg_primary": "0x00142e", - "bg_secondary": "0x002952", - "bg_item_top": "0x000a1a", - "bg_item_bot": "0x001a33", - "border_accent": "0x4488FF", - "border_interface": "0x66AAFF", - "border_inactive": "0x2e4766", - "text_main": "0x99CCFF", - "screen_base": "0x000a1a" - } -} \ No newline at end of file diff --git a/firmware_p4/temp/config/wifi/wifi_ap.conf b/firmware_p4/temp/config/wifi/wifi_ap.conf deleted file mode 100644 index 7985af18..00000000 --- a/firmware_p4/temp/config/wifi/wifi_ap.conf +++ /dev/null @@ -1,7 +0,0 @@ -{ - "ssid": "Darth Maul", - "password": "MyPassword123", - "ip_addr": "192.168.4.1", - "max_conn": 4, - "enabled": true -} diff --git a/firmware_p4/temp/html/captive_portal/evil_twin_index.html b/firmware_p4/temp/html/captive_portal/evil_twin_index.html deleted file mode 100644 index 41456e59..00000000 --- a/firmware_p4/temp/html/captive_portal/evil_twin_index.html +++ /dev/null @@ -1,19 +0,0 @@ - - Wi-Fi Login

Conecte-se a rede

Por favor, insira a senha da - rede para continuar.

- - - diff --git a/firmware_p4/temp/html/captive_portal/evil_twin_thank_you.html b/firmware_p4/temp/html/captive_portal/evil_twin_thank_you.html deleted file mode 100644 index 96ad0ee4..00000000 --- a/firmware_p4/temp/html/captive_portal/evil_twin_thank_you.html +++ /dev/null @@ -1,6 +0,0 @@ - - "Conectado

Obrigado!

Você está " - "conectado a internet.

"; diff --git a/firmware_p4/temp/html/storage/file_manager.html b/firmware_p4/temp/html/storage/file_manager.html deleted file mode 100644 index df2040bd..00000000 --- a/firmware_p4/temp/html/storage/file_manager.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - -ESP32 File Manager - - - - - - -
- - - - - - - -
-
-
- -
-

FILE MANAGER

-
● CONNECTED
-
-
-
- - -
-
- - - -
- - - - - - - - - - - - -
NAMESIZEACTIONS
Loading...
-
-
-
- - - - - - - - - - \ No newline at end of file diff --git a/firmware_p4/temp/storage/bad_usb_scripts/rickroll.txt b/firmware_p4/temp/storage/bad_usb_scripts/rickroll.txt deleted file mode 100644 index a2eeb774..00000000 --- a/firmware_p4/temp/storage/bad_usb_scripts/rickroll.txt +++ /dev/null @@ -1,7 +0,0 @@ -REM Rickroll DuckyScript -CONTROL t -DELAY 500 -STRING https://www.youtube.com/watch?v=dQw4w9WgXcQ -ENTER -DELAY 1000 -SPACE diff --git a/firmware_p4/temp/storage/ble/scanned_devices.json b/firmware_p4/temp/storage/ble/scanned_devices.json deleted file mode 100644 index e69de29b..00000000 diff --git a/firmware_p4/temp/storage/captive_portal/passwords.json b/firmware_p4/temp/storage/captive_portal/passwords.json deleted file mode 100644 index e69de29b..00000000 diff --git a/firmware_p4/temp/storage/wifi/beacon_list.json b/firmware_p4/temp/storage/wifi/beacon_list.json deleted file mode 100644 index f3505951..00000000 --- a/firmware_p4/temp/storage/wifi/beacon_list.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "spam_networks": [ - "Darth Maul", - "Obi-Wan Kenobi", - "WiFi_Gratis_SQN", - "Virus_Detected", - "Area 51 Lab", - "FBI Surveillance Van", - "Click Here For Free Pizza", - "404 Network Not Found", - "High Code Guest", - "The Dark Side" - ], - "open_networks": true -} diff --git a/firmware_p4/temp/storage/wifi/know_networks.json b/firmware_p4/temp/storage/wifi/know_networks.json deleted file mode 100644 index e69de29b..00000000 diff --git a/firmware_p4/temp/storage/wifi/scanned_aps.json b/firmware_p4/temp/storage/wifi/scanned_aps.json deleted file mode 100644 index e69de29b..00000000 diff --git a/firmware_p4/temp/storage/wifi/scanned_clients.json b/firmware_p4/temp/storage/wifi/scanned_clients.json deleted file mode 100644 index e69de29b..00000000