Commit Graph

279 Commits

Author SHA1 Message Date
suchmememanyskill
9a6fce854c In progress 2024-10-20 22:27:31 +02:00
Rory Hayes
0b1db1d834 Add emergency stop and full filename options (#124)
* init estop button

* style estop and add full filename option

* finalize estop style and adjust layout to accommodate extras

---------

Co-authored-by: Sims <38142618+suchmememanyskill@users.noreply.github.com>
2024-08-31 11:36:00 +02:00
suchmememanyskill
db019939a6 Allow escaped spaces in wifi ssid serial console 2024-08-14 23:06:46 +02:00
suchmememanyskill
6ebaf68cf1 Merge branch 'master' into dev 2024-08-02 21:19:47 +02:00
bwucke
41aa073ae0 Serial console (#117)
* Update readme

* Update README.md (#95)

* v1.6.4 (#113)

* Fix gcode previews with special chars not loading

* Add .gitignore file (#108)

* Bulletproof ci.py (#107)

* Implement file sorting (implement #89)

* Set chip family to ESP32-S3 for specific models (fix #67)

* Add files menu to params panel while printing (implement #80)

* Update ci.py (#110)

Typo fix for ESP32-S3 boards array name

---------

Co-authored-by: Sebastian Göls <6608231+Abrynos@users.noreply.github.com>
Co-authored-by: Miroslav Zuzelka <mzuzelka@gmail.com>

* Added serial console

* backspace, minor tweaks

* - added temporary_config alongside global_config, to hold non-persistent configuration
- added macros LOG, LOG_F, LOG_LN conditional on temporary_config.debug for Serial.print/printf/println
- put all debug to console behind these macros
- added 'debug' serial command to toggle temporary_config.debug, defaults to REPO_DEVELOPMENT
- added 'echo' serial command to toggle remote echo, temporary_config.remote_echo
- added #define DISPLAY_SECRETS to global_config.h, to censor wifi password and api key on serial console
- added entries about serial console to README.md and to _site/index.html

* restored -DREPO_DEVELOPMENT=1 (m)

* Build failed on esp32-3248S035C, reduced console input buffer size (static char cmdline) as it was failing to fit.

* typo

* A lot of what should be LOG_F was LOG_LN instead
Handling undefined REPO_DEVELOPMENT when initializing temporary_config.debug

---------

Co-authored-by: Sims <38142618+suchmememanyskill@users.noreply.github.com>
Co-authored-by: Beebles <102569435+beebls@users.noreply.github.com>
Co-authored-by: Sebastian Göls <6608231+Abrynos@users.noreply.github.com>
Co-authored-by: Miroslav Zuzelka <mzuzelka@gmail.com>
Co-authored-by: Bartosz Wucke <b.wucke@a-ster.pl>
2024-08-02 21:16:45 +02:00
suchmememanyskill
19cfaefd36 Don't forget to actually use the auth 2024-07-14 19:57:43 +02:00
suchmememanyskill
04d890227e Fix auth on minimal requests 2024-07-14 19:54:38 +02:00
Sims
e2c2a38b20 v1.6.4 (#113)
* Fix gcode previews with special chars not loading

* Add .gitignore file (#108)

* Bulletproof ci.py (#107)

* Implement file sorting (implement #89)

* Set chip family to ESP32-S3 for specific models (fix #67)

* Add files menu to params panel while printing (implement #80)

* Update ci.py (#110)

Typo fix for ESP32-S3 boards array name

---------

Co-authored-by: Sebastian Göls <6608231+Abrynos@users.noreply.github.com>
Co-authored-by: Miroslav Zuzelka <mzuzelka@gmail.com>
v1.6.4
2024-06-28 19:11:20 +02:00
Miroslav Zuzelka
5d2571ef83 Update ci.py (#110)
Typo fix for ESP32-S3 boards array name
2024-06-12 11:27:08 +02:00
suchmememanyskill
d4645f4fa1 Add files menu to params panel while printing (implement #80) 2024-06-11 20:52:51 +02:00
suchmememanyskill
4ac87c8ffc Set chip family to ESP32-S3 for specific models (fix #67) 2024-06-11 20:49:50 +02:00
suchmememanyskill
d780c8d55e Implement file sorting (implement #89) 2024-06-11 20:49:13 +02:00
Sebastian Göls
d69446a11b Bulletproof ci.py (#107) 2024-06-10 23:06:44 +02:00
Sebastian Göls
90fd1b0ab2 Add .gitignore file (#108) 2024-06-10 22:42:44 +02:00
suchmememanyskill
4a96f7db0b Fix gcode previews with special chars not loading 2024-06-09 00:18:57 +02:00
Sims
c640d7fade Merge pull request #104 from suchmememanyskill/dev
Clear memory before doing OTA
v1.6.3
2024-05-28 22:15:23 +02:00
suchmememanyskill
d22a9e1ee4 Clear memory before doing OTA 2024-05-28 22:03:51 +02:00
Sims
98c7364ce7 Merge pull request #103 from suchmememanyskill/dev
v1.6.2
v1.6.2
2024-05-28 21:30:19 +02:00
suchmememanyskill
7815a0fbf4 Specify specific version for esp32 platform 2024-05-26 00:26:49 +02:00
suchmememanyskill
bd32fcb81e Allow accessing the parameters/stats panel from unlocked stepper move panel 2024-05-25 12:47:43 +02:00
suchmememanyskill
bc0502745d Allow custom extrude/retract macros 2024-05-25 12:40:07 +02:00
suchmememanyskill
d75cbb65dc Fix #99 2024-05-11 00:05:24 +02:00
Beebles
e004456ee9 Update README.md (#95) 2024-04-28 23:57:29 +02:00
Flaviu Tamas
ae34e91530 Custom API key keymap (#94)
Since the api key is just hex, we can use a keymap with larger buttons
that is easier to use.
2024-04-28 20:23:49 +02:00
Flaviu Tamas
cbd40414c8 Fix segfault on entering IP (#93)
On my esp32-3248S035C, after entering the IP address, I was seeing a
segfault at

lv_mem_free at .pio/libdeps/esp32-3248S035C/lvgl/src/misc/lv_mem.c:179
allocate_btn_areas_and_controls at .pio/libdeps/esp32-3248S035C/lvgl/src/widgets/lv_btnmatrix.c:877
lv_btnmatrix_set_map at .pio/libdeps/esp32-3248S035C/lvgl/src/widgets/lv_btnmatrix.c:94
lv_keyboard_update_map at .pio/libdeps/esp32-3248S035C/lvgl/src/extra/widgets/keyboard/lv_keyboard.c:397
lv_keyboard_set_mode at .pio/libdeps/esp32-3248S035C/lvgl/src/extra/widgets/keyboard/lv_keyboard.c:185
keyboard_event_ip_entry(_lv_event_t*) at src/ui/ip_setup.cpp:81
event_send_core at .pio/libdeps/esp32-3248S035C/lvgl/src/core/lv_event.c:467
lv_event_send at .pio/libdeps/esp32-3248S035C/lvgl/src/core/lv_event.c:63
lv_keyboard_def_event_cb at .pio/libdeps/esp32-3248S035C/lvgl/src/extra/widgets/keyboard/lv_keyboard.c:308
event_send_core at .pio/libdeps/esp32-3248S035C/lvgl/src/core/lv_event.c:467
lv_event_send at .pio/libdeps/esp32-3248S035C/lvgl/src/core/lv_event.c:63
lv_btnmatrix_event at .pio/libdeps/esp32-3248S035C/lvgl/src/widgets/lv_btnmatrix.c:520
lv_obj_event_base at .pio/libdeps/esp32-3248S035C/lvgl/src/core/lv_event.c:91 (discriminator 1)
event_send_core at .pio/libdeps/esp32-3248S035C/lvgl/src/core/lv_event.c:458
lv_event_send at .pio/libdeps/esp32-3248S035C/lvgl/src/core/lv_event.c:63
indev_proc_release at .pio/libdeps/esp32-3248S035C/lvgl/src/core/lv_indev.c:970
indev_button_proc at .pio/libdeps/esp32-3248S035C/lvgl/src/core/lv_indev.c:808
lv_timer_exec at .pio/libdeps/esp32-3248S035C/lvgl/src/misc/lv_timer.c:313
set_screen_brightness() at src/core/lv_setup.cpp:191
ip_init() at src/ui/ip_setup.cpp:239
setup() at src/main.cpp:28
loopTask(void*) at /home/user/etc/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:41

This seems to be due to a free-after-free. The solution here is to
potentially change the keymap before running the rest of the logic,
because the later logic may tear down the context.

This change also only changes the keyboard mode on focus change, to
avoid running this code on the many un-related events that this handler
gets called for.
2024-04-28 20:22:06 +02:00
suchmememanyskill
06691df094 Remove esp32-4827S043R-SD from CI builds 2024-04-24 22:23:57 +02:00
suchmememanyskill
9b551915d7 Fix possible nullref in fetch_printer_data 2024-04-15 22:56:57 +02:00
suchmememanyskill
73be7c6c9f Forgot to add device to platformio cfg 2024-04-15 19:39:03 +02:00
suchmememanyskill
e06ea214c4 esp32-4827S043R 2024-04-15 18:02:05 +02:00
suchmememanyskill
9e739de731 Add more clear manual install instructions 2024-04-15 17:37:07 +02:00
Sims
29dcb4717a Merge pull request #87 from suchmememanyskill/dev
v1.6.1
v1.6.1
2024-04-14 12:13:50 +02:00
suchmememanyskill
356c78ee5f Lock UI thread when setting state to offline, fix #86 2024-04-14 12:01:35 +02:00
suchmememanyskill
dce6f70ef9 Allow dismissing m117 messages, allow disabling m117 messages 2024-04-05 23:03:48 +02:00
Sims
2e3ac7b02c Merge pull request #83 from suchmememanyskill/dev
v1.6.0
v1.6.0
2024-03-29 22:51:31 +01:00
suchmememanyskill
2e5a2dfbeb Add note about clearing touch calibration 2024-03-29 22:14:21 +01:00
suchmememanyskill
4a4fdb77d6 Clarify invert colors text 2024-03-29 22:07:14 +01:00
suchmememanyskill
db448ae401 Fix compile error 2024-03-29 21:26:23 +01:00
suchmememanyskill
9a9134da4a Reset touch calibration when holding BOOT for 8 seconds 2024-03-29 20:16:13 +01:00
suchmememanyskill
86a999253f Reorganise settings menu 2024-03-28 20:26:57 +01:00
suchmememanyskill
1238b7ee37 Add color fix for dual-usb 2432S028R 2024-03-28 18:25:32 +01:00
suchmememanyskill
f110feee1e Copy unstable manual ssid string 2024-03-27 17:37:25 +01:00
suchmememanyskill
41d0b77d17 Copy over move data from previous printer config 2024-03-26 23:16:51 +01:00
suchmememanyskill
364f1ee49c Add configurable move values 2024-03-26 22:57:54 +01:00
Kurt Haenen
ad68095124 Differentiated between printed and elapsed time (#75)
Co-authored-by: Kurt Haenen <kurt.haenen@quintux.com>
2024-03-26 21:13:53 +01:00
suchmememanyskill
38a1acb7b1 Refactor wifi setup; add option to type ssid manually 2024-03-26 20:05:58 +01:00
suchmememanyskill
f5f970afce Show macros help message even when there's power devices present 2024-03-26 18:51:25 +01:00
suchmememanyskill
e4dd146a96 Fix slicer estimate when switching between printers 2024-03-25 22:02:00 +01:00
suchmememanyskill
ea8a6b561f Allow setting absolute xyz pos 2024-03-24 18:10:22 +01:00
suchmememanyskill
a9a732daa6 Revert coloring active printer buttons; Put wifi icon instead 2024-03-24 00:28:58 +01:00
suchmememanyskill
713e04bfa5 Improve printer menu 2024-03-22 22:09:09 +01:00