Search found 24 matches

by motley
Fri May 24, 2013 6:37 pm
Forum: LCD Driver and Graphic Framework
Topic: Undeclared identifiers in tdisp_lld.c
Replies: 14
Views: 6572

Re: Undeclared identifiers in tdisp_lld.c

Tectu, End of a much better day, both lines of the 2x40 display working well - even have the custom characters working. This is just what I need for now - if I get time over the weekend I will have a look at the 'read status/busy' command (I think that's what it is called) to avoid having to use del...
by motley
Fri May 24, 2013 4:59 pm
Forum: LCD Driver and Graphic Framework
Topic: Undeclared identifiers in tdisp_lld.c
Replies: 14
Views: 6572

Re: Undeclared identifiers in tdisp_lld.c

Hi tectu, More luck today - I was trying to use the same port for data and control (GPIOD) but that didn't seem to work. Changing control to GPIOE I now get some output to the top line. At least I now have something to work on :-) A simple question has arisen on the way: Using GCC and make I see tha...
by motley
Mon May 20, 2013 9:19 pm
Forum: LCD Driver and Graphic Framework
Topic: Undeclared identifiers in tdisp_lld.c
Replies: 14
Views: 6572

Re: Undeclared identifiers in tdisp_lld.c

Hi Joel, I did that - took the STM32f4 demo - no changes just amended the makefile for GFX, however I didn't get a sensible lcd output. It was a combination of garbled output and no response to the home or clear commands. I changed the main.c around a bit to set up a pattern I could recognize and tr...
by motley
Mon May 20, 2013 6:33 pm
Forum: LCD Driver and Graphic Framework
Topic: Undeclared identifiers in tdisp_lld.c
Replies: 14
Views: 6572

Re: Undeclared identifiers in tdisp_lld.c

Hi Tectu, Sadly the honest answer to that is no. I am struggling with the makefile, I used the demo project for my STM32f4 and I modified the makefile according to your instructions. I realise there is code being compiled for the demo which I don't need for my simple tdisp project but I am having di...
by motley
Fri May 17, 2013 7:58 am
Forum: STM32 Support
Topic: PAL differnce between PORT and PAD ?
Replies: 3
Views: 2026

Re: PAL differnce between PORT and PAD ?

Giovanni - you are most welcome

Tectu - many thanks as ever...
by motley
Thu May 16, 2013 4:41 pm
Forum: STM32 Support
Topic: PAL differnce between PORT and PAD ?
Replies: 3
Views: 2026

PAL differnce between PORT and PAD ?

Just curious and a sure fire way to demonstrate my ignorance but I was reading the HAL reference manual for the STM32F4 (bfl paid***)... In the PAL section I find reference to 'Ports' as you would expect and 'Pads' which is not a description I have seen before - is this the same as the pins on a por...
by motley
Thu May 16, 2013 10:11 am
Forum: LCD Driver and Graphic Framework
Topic: Undeclared identifiers in tdisp_lld.c
Replies: 14
Views: 6572

Re: Undeclared identifiers in tdisp_lld.c

Hi tectu, Almost there but there is small difference between the declaration and defintion of tdispCreateChar() : from tdisp.h: void tdispCreateChar(uint8_t address, char* charmap); and from tdisp.c: void tdispCreateChar(uint8_t address, uint8_t *charmap) { /* make sure we don't write somewhere we'r...
by motley
Wed May 15, 2013 3:28 pm
Forum: LCD Driver and Graphic Framework
Topic: Undeclared identifiers in tdisp_lld.c
Replies: 14
Views: 6572

Re: Undeclared identifiers in tdisp_lld.c

Tectu, As you say it compiled fine - just getting used to OpenOCD at the moment, I will keep going with the tdisp since I already have the displays btw the base board I am using http://www.wvshare.com/column/STM32_DevelopmentBoard.htm#Open407V-D has an LCD display that uses SSD1289 controller so is ...
by motley
Wed May 15, 2013 1:34 pm
Forum: LCD Driver and Graphic Framework
Topic: Undeclared identifiers in tdisp_lld.c
Replies: 14
Views: 6572

Re: Undeclared identifiers in tdisp_lld.c

Tectu, I would be happy to do that once I get there, I have changed the identifiers now I have problems with these two: tdispDrawStringLocation() - implicit declaration tdispCreateChar() - argument 2 pointer has differing signedness both are called in main.c as follows: #include "ch.h" #in...
by motley
Wed May 15, 2013 1:08 pm
Forum: LCD Driver and Graphic Framework
Topic: Undeclared identifiers in tdisp_lld.c
Replies: 14
Views: 6572

Undeclared identifiers in tdisp_lld.c

Hi, I get compile warnings for undeclared identifiers "DISPLAY_ON" "CURSOR_ON" and "CURSOR_BLINK" in tdisp_lld.c This is the relevant code block: void tdisp_lld_control(uint16_t what, uint16_t value) { switch(what) { case TDISP_CTRL_BACKLIGHT: if ((uint8_t)value) displa...

Go to advanced search