diff --git a/ueforth/esp32/bindings.fs b/ueforth/esp32/bindings.fs index 5796e38..804ca29 100644 --- a/ueforth/esp32/bindings.fs +++ b/ueforth/esp32/bindings.fs @@ -151,6 +151,7 @@ ESP_INTR_FLAG_DEFAULT gpio_install_isr_service drop forth definitions +DEFINED? rmt_set_clk_div [IF] vocabulary rmt rmt definitions transfer{ rmt_set_clk_div rmt_get_clk_div rmt_set_rx_idle_thresh rmt_get_rx_idle_thresh @@ -168,6 +169,7 @@ transfer{ rmt_translator_set_context rmt_translator_get_context rmt_write_sample }transfer forth definitions +[THEN] vocabulary rtos rtos definitions transfer{ diff --git a/ueforth/esp32/template.ino b/ueforth/esp32/template.ino index fb613a2..404a50f 100644 --- a/ueforth/esp32/template.ino +++ b/ueforth/esp32/template.ino @@ -32,7 +32,6 @@ #define ENABLE_SOCKETS_SUPPORT #define ENABLE_FREERTOS_SUPPORT #define ENABLE_INTERRUPTS_SUPPORT -#define ENABLE_RMT_SUPPORT // SD_MMC does not work on ESP32-S2 / ESP32-C3 #if !defined(CONFIG_IDF_TARGET_ESP32S2) && !defined(CONFIG_IDF_TARGET_ESP32C3) @@ -44,6 +43,13 @@ # define ENABLE_DAC_SUPPORT #endif +// RMT support designed around v2.0.1 toolchain. +// While ESP32 also has RMT, for now only include for +// ESP32-S2 and ESP32-C3. +#if defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32C3) +# define ENABLE_RMT_SUPPORT +#endif + // Uncomment this #define for OLED Support. // You will need to install these libraries from the Library Manager: // Adafruit SSD1306 diff --git a/ueforth/site/ESP32forth.html b/ueforth/site/ESP32forth.html index b795cf7..503f333 100644 --- a/ueforth/site/ESP32forth.html +++ b/ueforth/site/ESP32forth.html @@ -95,36 +95,211 @@ Download the Arduino IDE for yo
Go to File > Preferences.
-Under Additional Board Manager URLs enter: https://dl.espressif.com/dl/package_esp32_index.json
+Under Additional Board Manager URLs add:
+
https://dl.espressif.com/dl/package_esp32_index.jsonhttps://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json-Choose these options under Tools. - -
+Under Tools choose board and settings as below under Tools. +
+ +diff --git a/ueforth/site/static/eforth.css b/ueforth/site/static/eforth.css index 8059318..eec116e 100644 --- a/ueforth/site/static/eforth.css +++ b/ueforth/site/static/eforth.css @@ -84,4 +84,20 @@ a:hover { .menu .picked a:hover { color: #fff; } - +table { + border: 1px solid black; + border-collapse: collapse; +} +th { + border: 1px solid black; + padding: 3px; + color: #fff; + background-color: #444; +} +td { + border: 1px solid black; + padding: 5px; +} +.hilit { + background-color: yellow; +} diff --git a/ueforth/site/static/esp-cam-back.jpg b/ueforth/site/static/esp-cam-back.jpg new file mode 100644 index 0000000..c08c879 Binary files /dev/null and b/ueforth/site/static/esp-cam-back.jpg differ diff --git a/ueforth/site/static/esp-cam-front.jpg b/ueforth/site/static/esp-cam-front.jpg new file mode 100644 index 0000000..f1df33c Binary files /dev/null and b/ueforth/site/static/esp-cam-front.jpg differ diff --git a/ueforth/site/static/esp-cam-wiring.jpg b/ueforth/site/static/esp-cam-wiring.jpg new file mode 100644 index 0000000..51971c5 Binary files /dev/null and b/ueforth/site/static/esp-cam-wiring.jpg differ diff --git a/ueforth/site/static/esp32-c3-mini-1.jpg b/ueforth/site/static/esp32-c3-mini-1.jpg new file mode 100644 index 0000000..058d0fe Binary files /dev/null and b/ueforth/site/static/esp32-c3-mini-1.jpg differ diff --git a/ueforth/site/static/esp32-c3-wroom-02.jpg b/ueforth/site/static/esp32-c3-wroom-02.jpg new file mode 100644 index 0000000..aab2769 Binary files /dev/null and b/ueforth/site/static/esp32-c3-wroom-02.jpg differ diff --git a/ueforth/site/static/esp32-mini-1.jpg b/ueforth/site/static/esp32-mini-1.jpg new file mode 100644 index 0000000..63b7e46 Binary files /dev/null and b/ueforth/site/static/esp32-mini-1.jpg differ diff --git a/ueforth/site/static/esp32-s2-wroom.jpg b/ueforth/site/static/esp32-s2-wroom.jpg new file mode 100644 index 0000000..5bf0cbd Binary files /dev/null and b/ueforth/site/static/esp32-s2-wroom.jpg differ diff --git a/ueforth/site/static/esp32-s2-wrover.jpg b/ueforth/site/static/esp32-s2-wrover.jpg new file mode 100644 index 0000000..43cf549 Binary files /dev/null and b/ueforth/site/static/esp32-s2-wrover.jpg differ diff --git a/ueforth/site/static/esp32-wroom.jpg b/ueforth/site/static/esp32-wroom.jpg new file mode 100644 index 0000000..c9bc331 Binary files /dev/null and b/ueforth/site/static/esp32-wroom.jpg differ diff --git a/ueforth/site/static/serial_bridge.jpg b/ueforth/site/static/serial_bridge.jpg new file mode 100644 index 0000000..0e176c4 Binary files /dev/null and b/ueforth/site/static/serial_bridge.jpg differ