Brand new here and pretty much brand new to Espruino and esp8266.
Tonight I decided to set up the esp8266 tool chain and compile the Espruino esp8266 code. I ran into one snag and was hoping if some one could let me know if I missed something along the way. When doing the compile, the linking errors out because it cannot find the pwm functions (pwm_init, pwm_start, etc). I was able to get past the error by commenting out the code in the jshPinAnalogOutput function of jshardware.c for the esp8266.
I have the latest expressif sdk version 1.4.0 with the latest build I saw on their website. I know c so-so, but not nearly as familiar with all the compiler and linker commands and options. I was thinking the issue might be in their linker script???
Does anybody have any suggestions as to what I might have set up incorrectly?
Let me know if there's any additional info I can provide that might help.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
Tips:
Create headers by underlining text with ==== or ----
To *italicise* text put one asterisk each side of the word
To **bold** text put two asterisks each side of the word
Embed images by entering: ![](https://www.google.co.uk/images/srpr/logo4w.png) That's the hard one: exclamation, square brackets and then the URL to the image in brackets.
* Create lists by starting lines with asterisks
1. Create numbered lists by starting lines with a number and a dot
> Quote text by starting lines with >
Mention another user by @username
For syntax highlighting, surround the code block with three backticks:
```
Your code goes here
```
Just like Github, a blank line must precede a code block.
If you upload more than 5 files we will display all attachments as thumbnails.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi All,
Brand new here and pretty much brand new to Espruino and esp8266.
Tonight I decided to set up the esp8266 tool chain and compile the Espruino esp8266 code. I ran into one snag and was hoping if some one could let me know if I missed something along the way. When doing the compile, the linking errors out because it cannot find the pwm functions (pwm_init, pwm_start, etc). I was able to get past the error by commenting out the code in the jshPinAnalogOutput function of jshardware.c for the esp8266.
I have the latest expressif sdk version 1.4.0 with the latest build I saw on their website. I know c so-so, but not nearly as familiar with all the compiler and linker commands and options. I was thinking the issue might be in their linker script???
Does anybody have any suggestions as to what I might have set up incorrectly?
Let me know if there's any additional info I can provide that might help.
Thanks,
Les