Search found 68 matches

by Phono
Wed May 06, 2020 12:03 pm
Forum: Libraries & Hardware
Topic: Problems with FreeRTOS
Replies: 1
Views: 4135

Problems with FreeRTOS

The FreeRTOS library allows to add a config file at the sketch level. This is very convenient. However, there are settings that pose problems, and I would be pleased if someone could explain me the reason. I am using a generic STM32F103 board, with a STM32F103RBT6 chip. I have set the options in the...
by Phono
Mon May 04, 2020 9:21 pm
Forum: Libraries & Hardware
Topic: [Solved] Compile error with STM32SD library
Replies: 11
Views: 8471

Re: Compile error with STM32SD library

I did it, and it works! Thanks a lot!
by Phono
Mon May 04, 2020 8:18 pm
Forum: Libraries & Hardware
Topic: [Solved] Compile error with STM32SD library
Replies: 11
Views: 8471

Re: Compile error with STM32SD library

Sorry, I omitted an important information. I am not using a SD card shield, but a Olimexino STM32 board (Maple-like) that has a built-in SD card fixture. This one does not use the Arduino pins 10 through 13, but instead what they call D25, D32, D33 and D34, which correspond to the SPI2 (pins PD2, PB...
by Phono
Mon May 04, 2020 7:17 pm
Forum: Libraries & Hardware
Topic: [Solved] Compile error with STM32SD library
Replies: 11
Views: 8471

Re: Compile error with STM32SD library

I checked the Arduino SD library. It compiles. However, the pin allocation is wrong, since the STM32 is not defined in the file SD2Pinmap.h. Curiously, no compile error is produced. I suppose that __arm__ is defined somewhere, which makes the library think the board is an Arduino Due. This library m...
by Phono
Mon May 04, 2020 5:36 pm
Forum: Libraries & Hardware
Topic: [Solved] Compile error with STM32SD library
Replies: 11
Views: 8471

Re: Compile error with STM32SD library

Ok I overlooked this requirement. I am porting a sketch that worked with Roger's core, the SD card being supported by the SDFat library. So this library did not use the SDIO feature of the STM32F103. Actually, it just used a SPI. Now, is there another library that will allow me to interface my SD ca...
by Phono
Mon May 04, 2020 4:34 pm
Forum: Libraries & Hardware
Topic: [Solved] Compile error with STM32SD library
Replies: 11
Views: 8471

[Solved] Compile error with STM32SD library

Hi, I am testing the example file STM32SD/examples/ReadWrite/ReadWrite.ino. I have installed the library FatFs, and I selected the following compile options: Generic STM32F1 board, Board part number F103RBT6, UART enabled, CDC generic enabled. I get the following compile error: In file included from...
by Phono
Sun Apr 26, 2020 2:36 pm
Forum: Libraries & Hardware
Topic: vApplicationStackOverflowHook cannot be declared in sketch
Replies: 1
Views: 3884

vApplicationStackOverflowHook cannot be declared in sketch

Hi, for the sake of debugging, I need to check whether a stack overflow would occur in a multitasking sketch. I am using STM32FreeRTOS version 9.0.4. In the FreeRTOS configuration I activated the option configCHECK_FOR_STACK_OVERFLOW, and I added in my sketch a function as follows: extern "C&qu...
by Phono
Sat Apr 25, 2020 8:22 am
Forum: Libraries & Hardware
Topic: Bug in softwire library
Replies: 13
Views: 9492

Re: Bug in softwire library

In the description of the issue, I suggested two ways to overcome it. I thought that the author would have a preference of his own, and I wanted to wait for his advice before going any further. On my part, I (at least temporarily) have implemented the easiest way that fulfils my needs.
by Phono
Fri Apr 24, 2020 6:51 pm
Forum: IDE's
Topic: Install another, separate, Arduino IDE
Replies: 3
Views: 4023

Re: Install another, separate, Arduino IDE

Thanks a lot. I could install a newer version without impacting the previous one.
by Phono
Fri Apr 24, 2020 6:50 pm
Forum: Libraries & Hardware
Topic: Bug in softwire library
Replies: 13
Views: 9492

Re: Bug in softwire library

I certainly would not issue a pull request without having very carefully thought of the fix to be done, and without having checked it. In this case, I admit it could be helpful to everyone, since the bug is not related to a certain type of microcontroller. What I think is just that I did a test that...

Go to advanced search