Author Topic: C::B as IDE for Arduino, ESP8266 and similar  (Read 32542 times)

Offline AZ

  • Almost regular
  • **
  • Posts: 151
Re: C::B as IDE for Arduino, ESP8266 and similar
« Reply #15 on: June 16, 2016, 05:17:28 pm »
i can't post more than 2 attachments per post .... so adding another post just to upload an attachment.
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: C::B as IDE for Arduino, ESP8266 and similar
« Reply #16 on: June 16, 2016, 06:04:11 pm »
This has nothing to do with the cb_arduino_template I'm maintaining.
What version of arduino are you trying to use - 1.0.x or 1.5.x/1.6.x?
There are changes in the folder structure of the arduino code between 1.0 and 1.5, so the old templates are useless.
I'll be fixing my template (the one in github) to support 1.5. I'm not sure I'll preserve compatibility with 1.0.
Follow the repo for details.

But first I need c++11 enabled avr-gcc...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline AZ

  • Almost regular
  • **
  • Posts: 151
Re: C::B as IDE for Arduino, ESP8266 and similar
« Reply #17 on: June 16, 2016, 06:36:02 pm »
This has nothing to do with the cb_arduino_template I'm maintaining.
What version of arduino are you trying to use - 1.0.x or 1.5.x/1.6.x?
There are changes in the folder structure of the arduino code between 1.0 and 1.5, so the old templates are useless.
I'll be fixing my template (the one in github) to support 1.5. I'm not sure I'll preserve compatibility with 1.0.
Follow the repo for details.

But first I need c++11 enabled avr-gcc...

bingo! that explains the problems i've been having.
Yes, i'm on 1.5.6. I haven't looked @ 1.6.

So can we say that CB arduino specific wizards do not work with Arduino >1.0.x?

How do i use your template (once it is ready)? I looked around and can't find any instructions on how to use templates.
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: C::B as IDE for Arduino, ESP8266 and similar
« Reply #18 on: June 16, 2016, 08:55:01 pm »
Check the readme file...but as I've said it doesn't work... you have to manually adjust the paths.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline AZ

  • Almost regular
  • **
  • Posts: 151
Re: C::B as IDE for Arduino, ESP8266 and similar
« Reply #19 on: June 16, 2016, 09:34:21 pm »
Check the readme file...but as I've said it doesn't work... you have to manually adjust the paths.
other then paths, do you know what else needs to be updated?
i'm trying to see how much effort is it to make CB to work with the arduino 1.5.x 1.6.5

P.S. oh , what a mess i created over time. But i think i finally sorted the things out. I got rid of arduino 1.0.x, 1.5.x and only left 1.6.5(-rc5).
« Last Edit: June 16, 2016, 09:49:52 pm by AZ »
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: C::B as IDE for Arduino, ESP8266 and similar
« Reply #20 on: June 17, 2016, 12:22:43 am »
The include paths seems to need adjustments, I've not finished the compilation yet, so I don't know if something else needs to be changed.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline AZ

  • Almost regular
  • **
  • Posts: 151
Re: C::B as IDE for Arduino, ESP8266 and similar
« Reply #21 on: June 17, 2016, 08:29:30 pm »
The include paths seems to need adjustments, I've not finished the compilation yet, so I don't know if something else needs to be changed.
i think i completely hijacked this topic...
i'll file a new one specific to CB and Arduino 1.6.x.
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: C::B as IDE for Arduino, ESP8266 and similar
« Reply #22 on: June 17, 2016, 08:48:48 pm »
It will stay single post probably. Just follow my repo on github. Probably I'll just remove the wizard from the official cb distribution and want to stimulate and support it as standalone wizard.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]