I need to write a file in a USB Flash drive, so my board is going to be the host.
This topic is not yet included in your book, but it seems to be implemented in the HAL libraries as middleware.
Following your book I’ve been able to implement the ADC on my own, but now I can’t figure out how to manually import a project in Eclipse using middleware libraries. I guess Liviu’s plugin doesn’t include this stuff.
I’d rather import the project from the STM32Cube_FW_F4 than generating and importing it with the CubeMX tool. The board for this project is a stm32f4Discovery.
Could you tell me what folders I need to import and where should they been placed in the Eclipse project tree?
Hi, sorry to bring this topic back up here.
I’m trying to create an USB audio project, if I copy all the middleware .h and .c files to the root source and inc folders it compiles and works, but if I try to have the middlewares in a separate folder under the root I get a lot of undefined references.
I’ve dragged and dropped the middlewares folder to my project’s root and then added the folders containing .h files into the C/C++ build settings under the GNU assembler, C complier and C++ compiler to no avail.
I am sure I am missing something stupid but I seem to be unable to know what it is…
Privacy & Cookies Policy
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.