-
-
Thanks @Gary.Ott
-
Thanks @allObjects, yes I have been around, first device I programmed was the HP65, which was essentially assembly.
https://en.wikipedia.org/wiki/HP-65 -
Thanks @Robin
-
@JumJum thanks, those links look helpful
-
To clarify what I'm asking, consider what the embedded landscape looks like from the perspective of a seasoned Java or Javascript developer.
In the case of Javascript it's easy to get started, basically:
npm init -y
npm iSimilarly in the case of Java you have Maven and Gradle.
so, in both cases very easy to get a project going.
Now let's look at embedded C/C++, no standard way of getting started, tons of cryptic makefiles, no standard way of packaging and including libraries, lot's of magical incantations.
Java was like that 15 years ago with Ant files.So, for someone looking to get started, it's not a pretty sight, let's just say.
-
thanks @Robin I appreciate the response, though it's mostly focused on being able to build Espruino on WSL, which doesn't apply to me, because:
a) I use Ubuntu on my desktops, laptops, and servers, and
b) I'm not looking to just build Espruino, but rather to understand the C/C++ embedded toolchain, and how to debug embedded firmware, coming from and enterprise Java and Javascript background (of 20+ years each).My budget is $1,000 for the first few lessons....
-
Hi, am struggling to get MQTT working on ESP8266.
I have numerous actual Espruinos (eg Espruino Wifi), and this code runs fine:const mqtt = require("tinyMQTT").create('.... url of local hivemq server ...'); mqtt.on('error', function(err){console.log(err)}) mqtt.on('connected', function(){console.log('connected')}) var wifi = require("Wifi"); wifi.connect("...", {password:"...."}, function(){ console.log("wifi connected"); mqtt.connect(); }); wifi.stopAP();
Am able to connect to the MQTT server fine with a real Espruino, but with ESP8266 I get nothing, not even an error.
This happens with the official MQTT library and tinyMQTT - work fine on Espruino WiFi, fails on ESP8266.
Question: how to debug this and figure out what's wrong?
David
-
adding this link to the list of interesting esp32-related stuff (once I've figured this out, I'll compile a proper document, just using this thread as a placeholder):