Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidal 3D Firmware #84

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
[submodule "lodepng"]
path = lodepng
url = https://github.com/lvandeve/lodepng
[submodule "tidal3d"]
path = tidal3d
url = git@github.com:mbooth101/tidal3d.git
2 changes: 1 addition & 1 deletion drivers/lodepng/lodepng_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ const mp_obj_module_t lodepng_user_module = {
.globals = (mp_obj_dict_t *)&lodepng_module_globals,
};

MP_REGISTER_MODULE(MP_QSTR_lodepng, lodepng_user_module, 1);
MP_REGISTER_MODULE(MP_QSTR_lodepng, lodepng_user_module);
2 changes: 2 additions & 0 deletions drivers/micropython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ include(${CMAKE_CURRENT_LIST_DIR}/ota/micropython.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/tidal_helpers/micropython.cmake)

include(${CMAKE_CURRENT_LIST_DIR}/lodepng/micropython.cmake)

include(${CMAKE_CURRENT_LIST_DIR}/../tidal3d/module/micropython.cmake)
2 changes: 1 addition & 1 deletion drivers/ota/ota.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ const mp_obj_module_t ota_user_cmodule = {
.globals = (mp_obj_dict_t *)&ota_module_globals,
};

MP_REGISTER_MODULE(MP_QSTR_ota, ota_user_cmodule, 1);
MP_REGISTER_MODULE(MP_QSTR_ota, ota_user_cmodule);
2 changes: 1 addition & 1 deletion drivers/tidal_helpers/tidal_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,4 +423,4 @@ const mp_obj_module_t tidal_helpers_user_module = {
.globals = (mp_obj_dict_t *)&tidal_helpers_module_globals,
};

MP_REGISTER_MODULE(MP_QSTR_tidal_helpers, tidal_helpers_user_module, 1);
MP_REGISTER_MODULE(MP_QSTR_tidal_helpers, tidal_helpers_user_module);
2 changes: 1 addition & 1 deletion drivers/tidal_usb/tidal_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ const mp_obj_module_t tidal_usb_module = {
};

// Regisiter as a top-level module
MP_REGISTER_MODULE(MP_QSTR__tidal_usb, tidal_usb_module, 1);
MP_REGISTER_MODULE(MP_QSTR__tidal_usb, tidal_usb_module);
2 changes: 1 addition & 1 deletion micropython
Submodule micropython updated 1316 files
5 changes: 3 additions & 2 deletions micropython.diff
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ diff --git a/ports/esp32/mphalport.c b/ports/esp32/mphalport.c
index 41e6e6ec0..761e93c01 100644
--- a/ports/esp32/mphalport.c
+++ b/ports/esp32/mphalport.c
@@ -107,13 +107,8 @@ void mp_hal_stdout_tx_strn(const char *str, size_t len) {
@@ -107,14 +107,8 @@ void mp_hal_stdout_tx_strn(const char *str, size_t len) {
if (release_gil) {
MP_THREAD_GIL_EXIT();
}
- #if CONFIG_USB_ENABLED
usb_tx_strn(str, len);
- #elif CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
- usb_serial_jtag_tx_strn(str, len);
- #else
- #endif
- #if MICROPY_HW_ENABLE_UART_REPL
uart_stdout_tx_strn(str, len);
- #endif
if (release_gil) {
Expand Down
1 change: 1 addition & 0 deletions tidal3d
Submodule tidal3d added at 4e0b88
2 changes: 1 addition & 1 deletion tildamk6/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def freeze_images(path, generated_dir):

freeze("$(PORT_DIR)/modules")
freeze("$(MPY_DIR)/tools", ("upip.py", "upip_utarfile.py"))
freeze("$(MPY_DIR)/ports/esp8266/modules", "ntptime.py")
freeze("$(MPY_DIR)/extmod", "ntptime.py")
freeze("$(MPY_DIR)/drivers/dht", "dht.py")
freeze("$(MPY_DIR)/drivers/onewire")
freeze("$(MPY_DIR)/../modules")
Expand Down