Search found 89 matches

by inmarket
Sat Jun 15, 2013 12:59 am
Forum: LCD Driver and Graphic Framework
Topic: Benchmark SSD1289
Replies: 16
Views: 8886

Re: Benchmark SSD1289

For Win32: I am using mingw32 For ARM: yagarto I have the same issue with both: -O2 fails to produce good code. As an example in gtimer.c /* Don't rework this macro to use a ternary operator - the gcc compiler stuffs it up */ #define TimeIsWithin(x, start, end) ((end >= start && x >= start &...
by inmarket
Fri Jun 14, 2013 2:41 am
Forum: LCD Driver and Graphic Framework
Topic: Benchmark SSD1289
Replies: 16
Views: 8886

Re: Benchmark SSD1289

Just add #define GDISP_NEED_MULTITHREAD TRUE to your gfxconf.h file. If, as I suspect. your problem with -O0 is due to increased stack usage, this needs to be fixed in the ChibiOS linker script. How much you increase it by will depend on your application requirements. Refer to the ChibiOS forum on i...
by inmarket
Fri Jun 14, 2013 2:37 am
Forum: LCD Driver and Graphic Framework
Topic: Question about New Notepad Demo for ChibiOS/GFX
Replies: 20
Views: 8922

Re: Question about New Notepad Demo for ChibiOS/GFX

The touch drivers can be interrupt driven where the hardware supports it. For example, the Win32 and POSIX emulators use a interrupt emulation to provide a very smooth mouse performance. In practice none of the real hardware that we have played with has ever been connected to a real CPU interrupt pi...
by inmarket
Thu Jun 13, 2013 3:42 am
Forum: LCD Driver and Graphic Framework
Topic: Question about New Notepad Demo for ChibiOS/GFX
Replies: 20
Views: 8922

Re: Question about New Notepad Demo for ChibiOS/GFX

This is a very good idea. I will look at adding it in the future.
by inmarket
Thu Jun 13, 2013 3:41 am
Forum: LCD Driver and Graphic Framework
Topic: Benchmark SSD1289
Replies: 16
Views: 8886

Re: Benchmark SSD1289

Yes optimisation problems are common. For my implementations -O2 never works (causes ChibiOS to crash) so I need to use -O0. Note that since the C source code hasn't changed, this problem with -O? is actually highlighting bugs in the gcc optimiser. The compiler is in some cases generating incorrect ...
by inmarket
Thu Jun 13, 2013 3:07 am
Forum: LCD Driver and Graphic Framework
Topic: SSD1322
Replies: 2
Views: 3383

Re: SSD1322

Sorry for the delay in answering this. I didn't see it earlier due to my work load. Take a look at the Nokia6610ge8 driver. It is a SPI 12 bit per pixel (4 bits per color component) driver. It supports that packing and unpacking that is required by the driver. Use that as your template on how to han...
by inmarket
Tue May 07, 2013 5:47 am
Forum: LCD Driver and Graphic Framework
Topic: Modifying GADC example board file.
Replies: 46
Views: 15289

Re: Modifying GADC example board file.

Changes highlighted in red. float voltage = ((adcsample_t) samples2[0]*2.45/409 6 ); sprintf(buffer, "voltage: %.2fV", voltage); gdispDrawString(10, 150, buffer1, font1, White); // This works fine and displays "voltage:2.45V" gdispDrawLine(300, 470, 300, (coord_t)(voltage*100.0),...
by inmarket
Sun May 05, 2013 11:28 am
Forum: LCD Driver and Graphic Framework
Topic: Modifying GADC example board file.
Replies: 46
Views: 15289

Re: Modifying GADC example board file.

You will notice that there is a GADC driver for the AT91SAM7. This driver connects the GADC layer to the AT91SAM7 ChibiOS ADC driver. A similar driver needs to be written for the STM32. Just changing the config file in the AT91SAM7 driver is unfortunately not enough. The driver for the STM32 would b...
by inmarket
Mon Apr 22, 2013 2:14 am
Forum: Development and Feedback
Topic: Development Board
Replies: 12
Views: 4994

Re: Development Board

In that case - all of the above functions except the RS232 (not much use these days).

I agree cables are a pain and not good for fast signal integrity although pin header arrangements are better.
by inmarket
Sun Apr 21, 2013 10:55 pm
Forum: Development and Feedback
Topic: Development Board
Replies: 12
Views: 4994

Re: Development Board

Keep it simple initially with the good expansion options. You can always do a more expensive board later. The key is getting something out there to start with. My suggestions... CPU Ethernet USB OTG JTAG UEXT Optional RAM and/or Flash Access to all other IO pins Perhaps a small prototyping area With...

Go to advanced search