Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By erhardd
#29512 Sorry, i've installed cygwin long time ago!
But this line (777 in Ucglib.cpp)
#if defined(__PIC32MX) || defined(__arm__) || defined(__XTENSA__)
brings me to an 8-bit Interface;
I have this constructor uncommented:
Ucglib_ILI9341_18x240x320_HWSPI ucg(/*cd=*/ 9 , /*cs=*/ 10, /*reset=*/ 8);
(with other Pins for cd,cs and reset)
and want to use HWSPI ..
User avatar
By Oldmicroguy
#29519
In that case, doing what the shellscript does manually is perhaps easiest (basically, it's just: cppsrc -> library root, csrc -> clib subdir, and edit the include in Ucglib.h to point into clib/ucg.h).

Hi spapadim,

I'm afraid I'm a little dense. Can you elaborate on your instructions?
Thanks,
Oldmicroguy
User avatar
By Oldmicroguy
#29712 So I got cygwin and ran sh create_release.sh
Tried to run Hello World but got a lot of errors
Then edited #if defined(__PIC32MX) || defined(__arm__)
to #if defined(__PIC32MX) || defined(__arm__) || defined(__XTENSA__)
Tried to run Hello World again and was hopeful because the compiler worked for quite a while but finally generated these errors:
......`.rodata' will not fit in region `dram0_0_seg'
.....`.bss' is not within region `dram0_0_seg'
.....`.text' will not fit in region `iram1_0_seg'
.....`.bss' is not within region `dram0_0_seg'

I am using the Stable version Jul 23, 2015
and Ucglib 1.3.3 modified by "create_release.sh"

Any ideas?
Oldmicroguy