Search found 38 matches

by alister
Wed May 22, 2019 10:54 pm
Forum: TrueSTUDIO for STM32 discussions
Topic: how to use FATfs on SPI in a STM32F429
Replies: 7
Views: 343

Re: how to use FATfs on SPI in a STM32F429

Well neither FATFS nor SPI needs arm_maths.h nor changing any libraries. So you're borrowing the wrong pieces of code from places. I've recently implemented FATFS on SPI for the H7 and discovered a bug in stm32_adafruit_sd.c that I'd read was fixed in L4 was missing. So the L4 FW examples are good a...
by alister
Sun May 19, 2019 11:02 pm
Forum: TrueSTUDIO for STM32 discussions
Topic: how to use FATfs on SPI in a STM32F429
Replies: 7
Views: 343

Re: how to use FATfs on SPI in a STM32F429

> Can you explain me to see clearly what I have to do, in wich order, and/or link me to a full project.

Google "fatfs spi sd card stm32f4" without the quotes.
by alister
Wed May 15, 2019 10:54 pm
Forum: TrueSTUDIO for STM32 discussions
Topic: how to use FATfs on SPI in a STM32F429
Replies: 7
Views: 343

Re: how to use FATfs on SPI in a STM32F429

FatFs needs you provide a low-level driver to do its I/O, so yes of course it'll support SPI.
If you search the F4's Cube FW, expect you'd find an example that pretty much does it all.
by alister
Tue May 14, 2019 10:58 pm
Forum: Embedded target code development discussions
Topic: [solved] Issues using libopencm3 with TrueStudio
Replies: 3
Views: 255

Re: Issues using libopencm3 with TrueStudio

> I open the code for 'dac.c' and select the include. Then I press "F3" which is the key for jumping to the selected include, and it works This means Eclipse can find dac.h. The files visible to Eclipse are listed in its Project Explorer. > "fatal error : libopencm3/stm32/dac.h: no su...
by alister
Mon May 13, 2019 1:34 am
Forum: Atollic TrueSTUDIO tool discussions
Topic: TrueStudio 9.3.0 - Debug / Release - header files
Replies: 3
Views: 210

Re: TrueStudio 9.3.0 - Debug / Release - header files

> In the project Properties -> C/C++ Build -> Settings -> C Compiler -> DIrectories, they are listed fine. At this screen you'll notice the configured include paths apply the configuration selected at the top, which defaults the current build configuration. To apply your changes to all your configur...
by alister
Mon May 06, 2019 11:51 pm
Forum: TrueSTUDIO for STM32 discussions
Topic: Issue when building an example
Replies: 18
Views: 538

Re: Issue when building an example

> in the recomeded directory for testing Is this the "C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.3.0\ARMTools\lib\gcc" directory I mentioned in my last post? You're not supposed to put your libraries there. That suggestion was not a recommendation. It was an experiment to try to...
by alister
Mon May 06, 2019 9:09 am
Forum: TrueSTUDIO for STM32 discussions
Topic: Header file seems included in search path, but not found ?
Replies: 6
Views: 241

Re: Header file seems included in search path, but not found ?

I'm unsure how you've established the files are in the same directory. You may have said and I missed it. Your using an example prepared by someone else. They may have organised the source file directories and the TrueSTUDIO Project Explorer view in some inconsistent fashion and comprehensible only ...
by alister
Mon May 06, 2019 7:05 am
Forum: TrueSTUDIO for STM32 discussions
Topic: Header file seems included in search path, but not found ?
Replies: 6
Views: 241

Re: Header file seems included in search path, but not found ?

> is this situation that shouldn't happen normally and TrueStudio is doing it wrong... The gcc command line looks good. The gcc is throwing an error. TrueSTUDIO seems fine. > I've verified that they both are in the same directory The only cause I can think of is the header file isn't in a compiler s...
by alister
Mon May 06, 2019 5:12 am
Forum: TrueSTUDIO for STM32 discussions
Topic: Header file seems included in search path, but not found ?
Replies: 6
Views: 241

Re: Header file seems included in search path, but not found ?

File "deprecated_definitions.h" resides in same directory as "portable.h". Why it finds portable.h, but not "deprecated_definitions.h" ? Following "Includes" group in project I can easily find and edit both files... What is wrong ? Those "-I<path>" ...
by alister
Sun May 05, 2019 11:24 pm
Forum: TrueSTUDIO for STM32 discussions
Topic: Issue when building an example
Replies: 18
Views: 538

Re: Issue when building an example

A guess... remove the trailing '\' from the library search path. If that doesn't work, a way forward... study the standard libraries being searched successfully. In the verbose output we see it's adding e.g. "-Lc:/program files (x86)/atollic/truestudio for stm32 9.3.0/armtools/bin/../lib/gcc&qu...

Go to advanced search