hi i have been stuck up with this silly problem..Maple wont recognize a header file i created ..i have tried to put it in several locations but all in vain.i ahd pointed it to the locations several times but it does not recognizze the file ..pls healp :(
help help help
(15 posts) (5 voices)-
Posted 5 years ago #
-
We'll need to know a bit more detail to help.
What do you mean by "wont recognize a header file"?
Do you mean it throws lots of errors when compiling, or doesn't find the file?
Are you using the Maple IDE, or the command line tools (make, gcc, etc)?If your using the Maple IDE, and the error is can't *FIND* the file,
Have you tried #including using the entire path name to the file, i.e.
#include "/Users/handsome/Documents/Maple/thinggy/foo.h"
or whatever the file is on your system?Posted 5 years ago # -
yes i have tried including the path but it again does not recognize ..i am using maple IDE only .
Posted 5 years ago # -
yokurk,
please copy paste the dumps of the failed output. The Maple IDE will only compile files it is told to compile, it is insufficient to just #include a new file thats not part of libmaple or wirish. External libraries will be compiled if you select them from the drop down menu. If you would like to include a new library thats not in the drop down menu, then add your entire library into the maple-ide path (maple-ide/libraries/your-new-lib)Posted 5 years ago # -
the library i am trying to include is already there in libmaple.To be precise i am trying to use stm32f10x_rcc.h from libmaple. even then i am not able to include it int o the sketch. any other way to go?
Posted 5 years ago # -
So you *ONLY* want to #include a header file, and you do NOT expect anything to be linked in?
So the header file only includes some pre-processor stuff, constants, inline functions etc. which DO NOT need any other files to be compiled and linked?
Posted 5 years ago # -
yokurk, stm32f10x_rcc.h is NOT part of libmaple. That file is part of the ST peripheral library written and distributed by ST, which we do not use. libmaple provides its own direct interface to the rcc registers via rcc.h, which you can #include and see here:
https://github.com/leaflabs/libmaple/blob/master/libmaple/rcc.hPosted 5 years ago # -
thanks a lot
Posted 5 years ago # -
not to be a broken record, but if you had actually read and listened to the smart questions link i posted in your tft lcd thread, poslathian would have been able to give you the answer you were looking for 5 days ago when he answered the first time..
just sayin...
Posted 5 years ago # -
hmmm....
anyway, how is that TFT
library port going? I did not get a chance to take a look at it but I agree that a library of that sort is sorely needed. Since screens are usually quite different in their interface details I never gave much thought to a general purpose library, although it was pretty straightforward to
get a few different types of lcd's and Oled's to drive over spi.I'll make a new thread for this later, but we've been thinking of doing an audio/video shield(s) for maple. Perhaps there's some favorite screen types or arduino lib front ends people would like to promote for this project?
Posted 5 years ago # -
The Nokia LCD's are great. A chum gets old Nokia mobiles for £0.50 from a recycling shop.
They are very popular on small robots.As we say in the UK, "they are cheap as chips". This doesn't work in the USA so well; "they are cheap as fries" looses something :-)
Posted 5 years ago # -
i've used these 4d screens with mixed results.
they're certainly /not/ cheap as chips, but they only use a UART (with the screens' SGC firmware), and they've got a lot of basic functionality built in. their documentation and support is only mediocre at best, though.. for the high cost, you might expect a little more (i did until i just got used to it)..
for rapid prototyping and getting something up and running, they're pretty quick.. they also have resistive single-touch versions..
Posted 5 years ago # -
I had a quick look at eBay, and they are selling Nokia LCD's for $3.30 + P&P, though a 3310 is about $6+ inclding P&P.
Sparkfun are selling a 'naked' Nokia 3310 (84x48 pixel) LCD for $2.95:
http://www.sparkfun.com/products/9924If you can find them, it is even cheaper to get them from a recycling shop.
They don't have a touch screen at this price.I am pretty sure colleagues said they are essentially SPI, with a command set, so not as convenient as a UART.
I noticed this old thread at the Arduino forum about Nokia LCDs.
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1142523140This company sells an Arduino shield with a Nokia 3310 LCD for £9.99:
http://www.nuelectronics.com/estore/index.php?main_page=product_info&products_id=12
So, not cheap as chips, but not expensive either.Posted 5 years ago # -
I got two of the Nokia5510 displays from here:
http://iteadstudio.com/store/index.php?main_page=product_info&cPath=3&products_id=155They have a link to an Arduino library and an STM32 library (which unfortunately uses the ST Peripheral library). The STM32 library itself looks fairly simple, it's basically bit-banging the protocol from what I can tell.
I am going to look into porting these to the Maple, hopefully not that difficult....just need to get some time ...Posted 5 years ago # -
hi all,
i have been breaking my head for th epast 1 week ..and cudnt find enuff time either on porting a library from arduino to Maple..this is to drive a lcd+touchscreen which i used for one of my projects..
im posting the link here :http://iteadstudio.com/store/index.php?main_page=product_info&cPath=3&products_id=55a little help would be appreciated :(
thanx
Posted 5 years ago #
Reply
You must log in to post.