This did the trick.
I am trying to use serialport in NodeJS 8 on the latest firmware on Omega2S+. I tried installing the module from https://github.com/sdesalas/node-serialport-omega2 but I get this error:
was compiled against a different Node.js version using
NODE_MODULE_VERSION 46. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
I tried cross-compiling serialport but I end up getting another error when running a simple test:
Fatal error in ../deps/v8/src/api.cc, line 1244
Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo().
Not having much (read: any) experience building my own Node modules or cross-compiling at all, I have no clue how to solve this. Maybe going back to an earlier version of the firmware with NODE_MODULE_VERSION 46, but that does not seem like a good long-term solution.
Any help is greatly appreciated
I have some issues with my Omega2S+ on a custom board. The CPU does not reboot after reset, and this HW reset circuit has been implemented.
I notice that even with Q2 (in the diagram of topic 2927) shut off (or even removed from the PCB) there is around 2V on the VDD_FLASH pin. I assume this is enough to keep the flash from resetting to 3 byte mode.
Does anyone know how to make sure the reset works?
I have installed the Docker image for cross compiling and built the toolchain which took a few hours. Now I would like to save the container to avoid having to build it all over again.
What is the best approach to do that? I tried committing the container which took forever and then I got a "no space left" error. I am pretty sure this is not the appropriate way of doing it.
Any help is appreciated
I have been using Python 2.7 and the SDK for Microsoft Azure IoT hub to build an application on a Pi, and I want to port it to an Omega2+ (with SD storage) for mass production.
It seems somewhat more complicated than getting started on the Pi.
Does anyone have a guide on how to install the IoT SDK for Python and its dependencies?
Thanks in advance,
Looks like your connection to Community was lost, please wait while we try to reconnect.