Skip to content

Commit

Permalink
Fix s2
Browse files Browse the repository at this point in the history
  • Loading branch information
spuder committed Dec 1, 2024
1 parent c55ed6e commit c897e8c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
12 changes: 6 additions & 6 deletions firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ USB_ADDRESS ?= $(error USB_ADDRESS is not set)
all: build upload dashboard logs

# Preserve backwards compatabliity in documentation
run-usb: run-usb-breadboard-mini
run-usb-pcb: run-usb-pcb-mini
build-pcb-mini: build-esp32s2-mini
build-pcb-ams: build-esp32s2-ams
# run-usb: run-usb-breadboard-mini
# run-usb-pcb: run-usb-pcb-mini
# build-pcb-mini: build-esp32s2-mini
# build-pcb-ams: build-esp32s2-ams

clean:
esphome clean lolin_s2_mini.yaml
Expand Down Expand Up @@ -61,10 +61,10 @@ dashboard:
# -s rfid0_ss_pin "GPIO33" \
# -s spi2_type "any" \
# run openspool-mini.yaml --device $(USB_ADDRESS)
run-usb-pcb-mini:
lolin_s2_mini:
esphome \
run lolin_s2_mini.yaml --device $(USB_ADDRESS)
run-usb-pcb-ams:
lolin_s3_mini:
esphome \
run lolin_s3_mini.yaml --device $(USB_ADDRESS)
devkit:
Expand Down
13 changes: 6 additions & 7 deletions firmware/lolin_s2_mini.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ wifi:
packages:
openspool-mini: !include openspool-mini.yaml
improv-serial: !include conf.d/improv-serial.yaml
improv-bluetooth: !include conf.d/improv-bluetooth.yaml

# The s2 is pushing the limits of its cpu,
# Especially the fake clones without PSRAM
# Remove components to improve performance
sensor:
- id: !remove loop_time
- id: !remove openspool_wifi_signal
- id: !remove openspool_ssid
- id: !remove openspool_ip_address
- id: !remove free_psram
# sensor:
# - id: !remove loop_time
# - id: !remove openspool_wifi_signal
# - id: !remove openspool_ssid
# - id: !remove openspool_ip_address
# - id: !remove free_psram
1 change: 1 addition & 0 deletions firmware/lolin_s3_mini.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ substitutions:
packages:
openspool-mini: !include openspool-mini.yaml
led-internal: !include conf.d/led-internal.yaml
improv-bluetooth: !include conf.d/improv-bluetooth.yaml
3 changes: 0 additions & 3 deletions firmware/openspool-mini.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@

packages:
base: !include common.yaml
status_led: !include conf.d/status_led.yaml
button: !include conf.d/button.yaml
improv-serial: !include conf.d/improv-serial.yaml

api:
reboot_timeout: 0s #reboot_timeout must be 0 if api and mqtt are defined
Expand Down

0 comments on commit c897e8c

Please sign in to comment.