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

serial2xsbug #1411

Open
su-cheng-yang opened this issue Sep 25, 2024 · 2 comments
Open

serial2xsbug #1411

su-cheng-yang opened this issue Sep 25, 2024 · 2 comments

Comments

@su-cheng-yang
Copy link

I update Moddable to the latest version, reproduced the same problem.as shown below:

Build environment:linux
Target device: esp32/m5stack
Steps to Reproduce:

Build and install the app using this build command: npm run mod --target=esp32/m5stack ./mods/look_around/manifest.json
/bin/sh: 1: [[: not found
/home/s/Projects/moddable/tools/serial2xsbug/serial2xsbug_lin.c:132: No such file or directory
make: *** [/home/s/Projects/moddable/build/tmp/esp32/debug/look_around/makefile:133: debug] Error 1

l am compling the Stack-chan firmware ,I don't know where the problem lies。, Is it likely Moddable environment ?

@mkellner
Copy link
Collaborator

Hello. Maybe UPLOAD_PORT can not be found?
On my Linux machine, sometimes my device is enumerated as /dev/ttyUSB0 and sometimes /dev/ttyACM0

Maybe try export UPLOAD_PORT=/dev/ttyUSB0 or whatever device is enumerated.
Then try again.

@su-cheng-yang
Copy link
Author

thank you for your reply

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

No branches or pull requests

2 participants