Skip to content

Conversation

@netmindz
Copy link
Member

No description provided.

willmmiles and others added 4 commits January 11, 2025 12:08
Redesign the usermod system so that usermods are implemented as
PlatformIO libraries instead of headers.  This permits them to call for
dependencies, and eliminates the compiler flags for enabling each one,
allowing the build cache to behave better.

The usermod list is built using some linker magic to construct a static
list in ROM memory.  This eliminates the need for wasting SRAM on
something fixed at build time.
Look for 'usermod_v2_x' as well.  This could be removed later if we
clean up the folder names.
Borrowed library definition from @netmindz's work on wled#4476.
@netmindz
Copy link
Member Author

Dependency Graph
|-- LittleFS_esp32 @ 1.0.6+sha.f0817ca
|-- AsyncTCP @ 1.2.0+sha.38b8475
|-- FastLED @ 3.6.0
|-- IRremoteESP8266 @ 2.8.2
|-- NeoPixelBus @ 2.8.0
|-- ESPAsyncWebServerWLED @ 2.2.1+sha.6d2540d
|-- QuickEspNow @ 0.6.2+sha.aa61f26
|-- ADS1115_v2
|-- AHT10_v2
|-- Analog_Clock
|-- Animated_Staircase
|-- BH1750_v2
|-- BME280_v2
|-- BME68X_v2
|-- Battery
|-- Cronixie
|-- DHT
|-- EleksTube_IPS
|-- INA226_v2
|-- Internal_Temperature_v2
|-- LD2410_v2
|-- LDR_Dusk_Dawn_v2
|-- MAX17048_v2
|-- MY9291
|-- PIR_sensor_switch
|-- PWM_fan
|-- RTC
|-- SN_Photoresistor
|-- ST7789_display
|-- Si7021_MQTT_HA
|-- Temperature
|-- TetrisAI_v2
|-- VL53L0X_gestures
|-- boblight
|-- buzzer
|-- deep_sleep
|-- mpu6050_imu
|-- mqtt_switch_v2
|-- multi_relay
|-- pixels_dice_tray
|-- pov_display
|-- pwm_outputs
|-- quinled-an-penta
|-- rgb-rotary-encoder
|-- sd_card
|-- sensors_to_mqtt
|-- seven_segment_display
|-- seven_segment_display_reloaded
|-- sht
|-- smartnest
|-- stairway_wipe_basic
|-- usermod_rotary_brightness_color
|-- usermod_v2_HttpPullLightControl
|-- animartrix
|-- auto_save
|-- usermod_v2_four_line_display_ALT
|-- usermod_v2_klipper_percentage
|-- usermod_v2_ping_pong_clock
|-- usermod_v2_rotary_encoder_ui_ALT
|-- usermod_v2_word_clock
|-- wireguard
|-- wizlights
|-- word-clock-matrix
|-- Wire @ 1.0.1
|-- EEPROM @ 1.0.3
|-- ArduinoOTA @ 1.0
|-- DNSServer @ 1.1.0
|-- ESPmDNS @ 1.0
|-- WiFi @ 1.0
|-- SPI @ 1.0
|-- ESP32 Async UDP @ 1.0.0
|-- WebServer @ 1.0

@netmindz netmindz requested a review from willmmiles January 13, 2025 11:29
@netmindz netmindz closed this Jan 15, 2025
@netmindz netmindz deleted the usermod-libs-migration branch January 15, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants