These are chat archives for esp8266/Arduino

May 2016
Stavros Korokithakis
May 12 2016 01:14
does anyone have a wifimulti example with mqtt?
Michael Miller
May 12 2016 01:16
@M0ebiu5 Can you reproduce it with a simple example? If so, enter an issue for the problem, and mention me "@makuna" somewhere in the text and I will take a look.
Clemens Kirchgatterer
May 12 2016 10:57
section .text' will not fit in regioniram1_0_seg' when compiling with gdbstub support. without my bin file is: Memory usage: Ram: 39828 bytes, Flash: 329257 bytes
i guess i have reached a limit
May 12 2016 11:07
yeah, I meet the same problem when I add envs_dir=.XXX to platformio.ini in this project , this problem will disappear when I modify the size of iram1_0_seg in the ldscripts .
Clemens Kirchgatterer
May 12 2016 13:02
ICACHE_FLASH_ATTR is the default, isn't it?
Clemens Kirchgatterer
May 12 2016 13:43
hmpf, even if i reduce my binary by 3KB (text) gdbstub still does not fit in. is gdbstub really that big?
May 12 2016 22:38
@Makuna Here is the sample:
const unsigned int pwmTable[] PROGMEM  = {0,0};
unsigned int i = 0;

void setup() {
void loop() {
  unsigned int itmp = pgm_read_word_near(pwmTable + i++);
Gus Grubba
May 12 2016 23:46
pwmTable alocates space for 2 integers. Your loop goes on beyond it and crashes when i == 2.