Open rob-miller opened 2 years ago
referencing #195 and #74
platformio.ini settings I have tried without luck:
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
;;board_upload.maximum_ram_size = 65536
;; https://github.com/platformio/platform-espressif8266/issues/195
;[env:esp12e]
;platform = espressif8266
;board = esp12e
;framework = arduino
;board_build.f_cpu = 160000000L
and various combinatorics of course. Tried all f_flash speeds and flash_mode options (independently) with no apparent change.
Arduino IDE works with CPU freq set to 80 or 160 MHz, doesn't care.
My test sketch for completeness, works on Arduino IDE:
#define LEDpin D4 //set led pin
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LEDpin, OUTPUT);
}
void loop() {
// HIGH is off, LOW is on
digitalWrite(LEDpin, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LEDpin, LOW); // turn the LED off by making the voltage LOW
delay(10); // wait for a second
}
Any update on this?
I am attempting to develop for the AZ-Delivery Lolin V3 ESP8266 ESP-12F. The Arduino IDE uploads and runs my version of blink.ino without issue (the single difference from normal ESP8266 12E being that the LED Pin is defined as D4.
For information, the Arduino IDE output looks like:
The PlatformIO build/upload output looks like:
Then the actual upload output and light behaviour on the NodeMCU appears identical to the Arduino IDE upload.
After this, however the NodeMCU is showing no lights, whereas it is flashing happily after the Arduino IDE upload. This result is the same as #537 for a different board, but in this case blindly reducing the ram size to 32K or 64K did not help.
My environment is freshly installed PlatformIO IDE on VSCode under Monterey MacOS:
Advice on any configuration changes I should try would be very much appreciated.