🔮 Reduces flash size

This commit is contained in:
Rune Harlyk
2024-06-04 17:24:12 +02:00
committed by Rune Harlyk
parent b560aacd7f
commit a7efb274b8
5 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -186,7 +186,7 @@
on:click={() => setActiveMenuItem('')}
>
<img src={logo} alt="Logo" class="h-12 w-12" />
<h1 class="px-4 text-2xl font-bold">{$page.data.appName}</h1>
<h1 class="px-4 text-2xl font-bold">{appName}</h1>
</a>
<ul class="menu rounded-box menu-vertical flex-nowrap overflow-y-auto">
{#each menuItems as menuItem, i (menuItem.title)}
+2 -2
View File
@@ -4,8 +4,8 @@ build_flags =
-D FT_NTP=1
-D FT_SECURITY=0
-D FT_MQTT=0
-D FT_SLEEP=0
-D FT_UPLOAD_FIRMWARE=0
-D FT_SLEEP=1
-D FT_UPLOAD_FIRMWARE=1
-D FT_DOWNLOAD_FIRMWARE=0
-D FT_ANALYTICS=1
-D FT_IMU=1
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef Kinematics_h
#define Kinematics_h
#include <esp_dsp.h>
#include <dspm_mult.h>
#include <cmath>
#define RAD2DEG 57.295779513082321 // 180 / PI
+1 -3
View File
@@ -56,14 +56,12 @@ lib_compat_mode = strict
[env:esp32cam]
board = esp32cam
board_build.partitions = huge_app.csv
board_build.partitions = min_spiffs.csv
monitor_rts = 0
monitor_dtr = 0
build_flags=
-D FT_CAMERA
-D CAMERA_MODEL_AI_THINKER
-D FT_DOWNLOAD_FIRMWARE=0
-D FT_UPLOAD_FIRMWARE=0
${env.build_flags}
-D LED_BUILTIN=4
-D KEY_BUILTIN=0
+1 -1
View File
@@ -5,7 +5,7 @@
DRAM_ATTR PsychicHttpServer server;
DRAM_ATTR ESP32SvelteKit spot(&server, 125);
DRAM_ATTR ESP32SvelteKit spot(&server, 126);
void setup()
{