-
• #2
"Module NetworkJs not found"
This is because the
NetworkJS
andhttp
modules aren't in the firmware for the Nucleo board I'm afraid.If you want something that 'just works' you'll have to buy an Original Espruino or Pico board, in which case you're also helping to support my work on Espruino - otherwise you can try and compile your own firmware using the instructions here, and can tweak the Makefile to include networking support for your board.
-
• #3
What define do I need to have enabled to get NetworkJS and http onto the Nucleo build?
I will need to make this work for one of my own projects soon, so I need to know how to do that on my Nucleo nightlies. I'm not surprised NetworkJS isn't in, but http?! I've been building my nightlies with CC3k/WIZnet support, so I'd think they'd have http.
-
• #4
Yes, the nightlies should have HTTP.
USE_NET=1
should be enough for NetworkJS - so regardless of whether you have CC3k/wiznet support in, you should get it too.
Hi,
I've been working on Espruino and Sim900 module on my ST Nucleo-F401RE, but I have found some problems with this module: when I send the module code example from web to the board with Espruino Web IDE (from the right side of IDE), I only can receive from USART "Connecting to SIM900 module", no error displays or anything.
I can observe loading the code that some messages appear: "Module NetworkJs not found" and "Module http not found". I know these are built-in, and I have the update firmware on board and last IDE version. This same problem appears too when I try to require CC3000 module.
In addition, I have to change my board too due to the fact that my previous board (Olimexino STM32) couldn't load any module bigger than 4 or 5 kB (for example the BMP085 module, now I can do it, this is not the matter, but I would want to know the cause, because I changed the Olimexino STM32 microController STM32f103RBT6 for the STM32f103RCT6 that has bigger SRAM, but I didn't get it either).
Also, I have worked on this module in other boards with Maple software, and I have always used a pulse of 1200 ms in order to initiate the module, but in JavaScript code I only observe a pulse of 1ms on reset pin. In fact I can't initiate my SIM900 if I don't send this digitalPulse (only with JavaScript code I don't get it).
I would really appreciate if you could help me with this. Thanks