Skip to content

fix CI travis , add esp32 #521

Closed
Closed
@tablatronix

Description

@tablatronix

Can someone fix travis in developement branch ?

Activity

tzapu

tzapu commented on Feb 15, 2018

@tzapu
Owner

what's the minimum arduino ide and esp8266 sdk this compiles for now?

cheers

tablatronix

tablatronix commented on Feb 15, 2018

@tablatronix
CollaboratorAuthor

I have no idea
I would say when they added C++11

And esp8266 should still be the same, although its bugged as shit before 2.4.0

tzapu

tzapu commented on Feb 15, 2018

@tzapu
Owner

just tried with latest stable and arduino 1.8.5 but it fails miserably with this error


<command-line>:0:7: error: token "{" is not valid in preprocessor expressions
/home/travis/.arduino15/packages/esp8266/hardware/esp8266/2.4.0/cores/esp8266/core_esp8266_si2c.c:40:5: note: in expansion of macro 'F_CPU'
 #if F_CPU == FCPU80
     ^
/home/travis/.arduino15/packages/esp8266/hardware/esp8266/2.4.0/cores/esp8266/core_esp8266_si2c.c: In function 'twi_setClock':
<command-line>:0:7: error: token "{" is not valid in preprocessor expressions
/home/travis/.arduino15/packages/esp8266/hardware/esp8266/2.4.0/cores/esp8266/core_esp8266_si2c.c:47:5: note: in expansion of macro 'F_CPU'
 #if F_CPU == FCPU80
     ^
exit status 1

which i have no idea how to fix

tablatronix

tablatronix commented on Feb 15, 2018

@tablatronix
CollaboratorAuthor

yeah that makes no sense, ill poke around

tablatronix

tablatronix commented on Feb 15, 2018

@tablatronix
CollaboratorAuthor

It looks like the compile string is maybe not replacing vars properly

-DF_CPU={build.f_cpu} <-- is it literally defining F_CPU as {build.f_cpu} ?

from platform..txt recipe

## Compile c++ files
recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpreprocessor.flags} {compiler.cpp.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" -DARDUINO_VARIANT="{build.variant}" {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}"
tablatronix

tablatronix commented on Feb 15, 2018

@tablatronix
CollaboratorAuthor

Can you debug the entire command, see if all boards.txt build.conf are missing ?

I don't know anything about travis

tzapu

tzapu commented on Feb 16, 2018

@tzapu
Owner

something wrong with travis now, won t give out any logs :))

tablatronix

tablatronix commented on Mar 9, 2018

@tablatronix
CollaboratorAuthor

whats the status on this ?
Did esp32 ever get added also?

added
ESP32Esp 32 related issue
and removed
ESP32Esp 32 related issue
on Mar 14, 2018
tablatronix

tablatronix commented on Mar 21, 2018

@tablatronix
CollaboratorAuthor

fixed spiffs esp32 examples
7279333

tablatronix

tablatronix commented on Feb 24, 2019

@tablatronix
CollaboratorAuthor

why the f** is travis failing, what does it mean
this makes no sense, it complains about cpu freq memory, debug level, wtf, how are they invalid options ?

Error: FlashSize: Invalid option for board "generic"
The command "arduino --board esp8266:esp8266:generic:CrystalFreq=26,FlashFreq=40,FlashMode=qio,FlashSize=4M1M,led=2,LwIPVariant=v2mss536,Debug=Serial,DebugLevel=CORE --save-prefs" exited with 3.
liebman

liebman commented on Feb 24, 2019

@liebman
Contributor

Looks like that was renamed to 'eesz' in boards.txt in current git version. EDIT: wait esp32. NM - ACTUALY yea esp8266 - it was renamed.

tablatronix

tablatronix commented on Feb 25, 2019

@tablatronix
CollaboratorAuthor
Error: 40: Invalid option for "eesz" option for board "generic"
The command "arduino --board esp8266:esp8266:generic:xtal=80,CrystalFreq=26,eesz=40,FlashMode=qio,FlashSize=4M1M,led=2,LwIPVariant=v2mss536,Debug=Serial,DebugLevel=CORE --save-prefs" exited with 3.
tablatronix

tablatronix commented on Feb 25, 2019

@tablatronix
CollaboratorAuthor

shrug no idea what the deal is

tablatronix

tablatronix commented on May 7, 2019

@tablatronix
CollaboratorAuthor
tablatronix

tablatronix commented on Sep 17, 2021

@tablatronix
CollaboratorAuthor

travis is deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DEV Help WantedDeveloper Needs HelpESP32Esp 32 related issuebugValidated BUG

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @tablatronix@liebman@tzapu

      Issue actions

        fix CI travis , add esp32 · Issue #521 · tzapu/WiFiManager