-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Latest windows version 1.6.1-p1.zip doesn't seem to compile #4
Comments
temp solve: copy this file from arduino-1.6.1\hardware\tools\avr\libexec\gcc\avr\4.8.1 to arduino-1.6.1 |
Sorry. I'm not sure what you mean. Which files need to be copied libiconv-2.dll ? PS. I have replaced the tools folder with a working copy from another repo, and it now compiles, but it gets a java runtime null pointer error something to do with esptool, but I'm not sure what the platforms.txt is missing, I suspect its missing a paramater that is required for 1.6.1 |
Yes. |
I'll try that, but I still think I will get this error when uploading java.lang.NullPointerException |
Well, you change did fix the compile bug, but the upload bug still exists I'd already fixed the compile bug by using another build of the Xtensia compiler Does upload work for you ?? I have set the com port and I know my board works fine, as I have a fork of a different (older) esp8266 on github But there is definitely an upload issue |
yes, I down't have any upload troubles. All work very well. |
OK The Programmer menu default selection is empty. You have to select "esptool" otherwise it goes wrong PS. I figured that out by looking in the Java source code Strange. because line 246 is not code in the version in github The version in your release must be somewhat older, |
delete Arduino 1.6.1 folder |
This whole method of needing to deploy the whole IDE is the old way You should not be using this method. The new method is to put files in the user's hardware folder I have re-configure all the files to do this now on my local installation It is now working fine for me Thankyou I will create a new repo in my github account with a version where you don't need the whole IDE, just the hardware folder for esp8266com and esp8266 specific tools |
and now all working good? 2015-03-29 5:50 GMT+05:00, Roger Clark notifications@github.com:
|
Yes. It is working. However I will upload a much better way to do this, and I have a better compiler version which doesn't need that hack. I've just made a new repo, based on your repo and I'm currently uploading (slowly - because the toolchain is 400mb) However if you want to see how to correctly structure 3rd party hardware for the 1.6.x Arduino IDE take a look at this older version I did for esp8266 (based on someone else's code) https://github.com/rogerclarkmelbourne/arduinesp and also take a look at the STM32 repo i manage https://github.com/rogerclarkmelbourne/Arduino_STM32 I think there are also some issues with the way the uploading is handled. You don't need the programmers.txt file. However I will fix this after the upload is complete And I may look at the V1.0 SDK issue, however I took a quick look and there are many things which gave errors when I tried using the 1.0 SDK with your core files :-( |
OK. Instructions In your MyDocuments/ Arduino folder make a hardware folder (if you don't already have one) Then clone the repo into the hardware folder Download the official Arduino IDE 1.6.2 and install it Run the Official IDE, (first run seems to take some time, I suspect its building a file cache) quit the official IDE as the first run doesn't seem to be able to see comm ports correctly Restart the official IDE Looking in the boards menu and you will see the Generic ESP8266 - select this Under the programmer menu, select esptool (as the default appears to be no selection, which causes issues for upload) Compile upload and enjoy ;-) |
@rogerclarkmelbourne |
That is, unless there is a way to integrate Java plugins into the IDE. |
What do you need to do that requires Java ? Ah. Uploading via Wifi ?? You can run anything you like as an upload script, so I presume you can just execute java from a batch file from windows And run shell scripts from OSX and Linux I manage a repo for the STM32 on Arduino and we have support for Linux and OSX and have upload scripts for both of those OS's But on Linux, users have to get and compile their own uploaders, because we can't distribute a binary uploader that works for all Linux distro's (Actually its quite complex as on the STM32, there are various different boards, some with bootloaders that need specific uploaders e.f. DFU (like android uses) and also Serial and also anoher protocol called STLink Anyway. If you let me know what the wifi uploader would need to do, I may be able to assist |
Uploading over Wifi requires adding items to the list of serial ports, one
|
Ivan I'm not entirely sure what you mean. Do you mean you want to update the list of serial ports that the IDE is showing in its menu ? If so, I don't think there is a way to do that without recompiling the IDE, or at least modifying part of it. You can add menu's to the IDE, by defining them in boards.txt, but as far as I know they are static, e.g. you can add a menu which selects the baud rate for the upload, and you can use the params from the menu and pass them to the upload script But I don't think you can dynamically add items to any of these menus You can run any external script you like, when the user presses Upload (control U), but I'm not sure whether this would help. As it stands you already pass the comm port to the esptool, so I guess what you require is far more complicated Perhaps if you can write a description of how the wifi upload works, I may be able to help |
Roger, Wifi upload works as follows:
So given that we need to add items to the ports list I don't see other way
|
this is, by the way, similar to the wifi uploads that are implemented for
|
Ivan, At the moment, I agree that it sounds like you need to have a modified version of the IDE However the IDE developers are very active at the moment, and if you can propose a new system e,g which runs as a script when the IDE is started, this may avoid the need for a completely custom version The problem is that the IDE team seem to release a new version very month, e.g when I started the arduino stm32 project last November, the IDE was 1.5.7 and now its 1.6.2 So having to rebuild a new release each time the IDE team makes a new version takes a lot of time. |
Just a thought... But you could get the wifi uploader to display a popup, with the list of devices. The user could then select a device, and the uploader would remember that selection for the current session. However this is not ideal, as if the user is allowed to change the selection each time, you would need some way to allow this, Perhaps a small delay and if no change of selection, the upload would continue |
I agree that it would be better to distribute a plugin, not the IDE.
|
Add option to disable DTR and RTS in serial monitor
Add option to disable DTR and RTS in serial monitor
Update package_esp8266com_index.template.json
fix _min and _max macros (esp8266#6374)
There was a typo in I2C pin assignment, SCL was set to GPIO #4 instead of GPIO #14, The schematic can be seen here: https://github.com/OLIMEX/ESP8266/blob/master/HARDWARE/MOD-WIFI-ESP8266-DEV/MOD-WiFi-ESP8266-DEV%20revision%20B1/MOD-WiFi-ESP8266-DEV_Rev_B1.pdf
There seems to be some sort of compiler build issue in the latest windows zip.
You just get a message saving Error compiling
But if you look at the verbose output and cut and paste it into the Windows command line, and run it, the error is that the xtensia gcc compilor can't locate libiconv-2.dll
The text was updated successfully, but these errors were encountered: