2015-12-18 01:26 AM
Hi.
What is the proper way to ''merge'' x-cube expansion packages into STM32Cube base repository (e.g. STM32Cube_FW_F4_Vx.y.z)?Whenever I merge files I see many overwritings I'm not sure I should confirm.Thanks! #stm32cube-x-cube2015-12-25 01:44 AM
Hi maiorfi.lorenzo,
Which firmware software expansion are you using?Go to its official page and refer to User manuals.-Shahrzad-2015-12-28 07:25 AM
Hi.
I'm talking about those enlisted at http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1743/LN1920At this time I'm doing some lab with:x-cube-mems1x-cube-wifi1x-cube-cryptolibAt what source tree level should I merge into STM32Cube source base?Thanks!2017-10-26 09:37 AM
Hi, did you get any reply or guidance ? I am also lost when it comes to use STM32Cube and its expansions. They look like separate source trees, and we don't have any indication on how to use them together.
2017-10-26 11:47 AM
If you are talking about examples, I havn't seen anything usefull about combining those. It looks like you have to do it yourself. I think you need to modify only the main.c and check what include paths there are in each project.
2017-10-26 12:24 PM
The 'Cube Expansions' is a poor characterization of what they are, they are really additional HAL code examples which demonstrate assorted concepts.
I wouldn't merge such things en masse, but rather seek to understand the essence of what they do, and take the pieces that are salient. They are not tightly integrated with CubeMX, and if you use the tool in an iterative manner it might become a bit tedious to keep reintergrating external code. I would recommend partitioning the new code into it's own files, and provide yourself with a handful of interfacing points.
You'd want to be comfortable with the HAL libraries, and your own merge/diff tools and processes.