![]() ![]() I have edited the original files to reflect the fixes this is still a work in progress for improvement and library size reduction. On Ubuntu 16.04 you can install the command-line and graphical application with: sudo apt-get install cmake sudo apt-get install cmake-gui. On Linux, you can also install the packages from the distributions package manager. Since my original post I have gotten a freertos static library to build from a Rensas project. On Windows double click the binary to install. This makes sense given the extent of the errors, but considering for our target device the defines should all be in core_cm23.h I'm not sure why they would be appearing as missing since they are in this included header The following cmakeminimumrequired(VERSION 2. As required by CMake, the items are separated by semicolons. So from what I've learned about this area recently the source of the problem seems to stem from the fact I'm not getting IO Port defines at the hardware level. I would like to loop over list of items, given in a string. Below are my CMake files any help with this would be greatly appreciated This concerns me as since I can't find any I've missed I'm wondering if E2 is implicitly pulling stuff from somewhere it's not telling me about and links it behind the scenes so when ran through it's own build system it works but isolated from this the code won't actually be able to compile. And - because I was also missing this in CMake before - Im planning to post a feature request for a -list-all-targets command line option on CMakes bug tracker. I am by no means an expert in CMake but running my setup presently will generate me a makefile so at least it's syntactically not correct my only thought is I've overlooked something as an include or source file. Mypath/ra/fsp/inc/api/././src/bsp/cmsis/Device/RENESAS/Include/renesas.h:31031:23: error: expected ‘:’, ‘,’, ‘ ’, ‘}’ or ‘_attribute_’ before ‘DOCR’ģ1031 | _IOM uint8_t DOCR /*!ICSR = SCB_ICSR_PENDSVSET_Msk Īlmost all of them seem to be related to missing definitions of typedefs but I'm stumped as I think I've included every source file in the sources list and every directory with a header file in the target directories. ![]() But despite this so far my resulted makefile while generating from CMake successfully is generating a ton of errors of tons of various flavors but here are some examples The project is the default E2 FPS FreeRTOS project so there is no source code added by my team in this yet. Thing is so far I've run into a bit of mystifying trouble with the project and the makefile generated by it. However having to rely on a resource intensive IDE for generation of a static library is excessive and doesn't fit well into our CI/CD pipeline (doesn't make for good automation), so I wanted to migrate both projects to CMake so that we could pass the makefile into our pipeline and automate the process. In E2 there is no issue with compiling the project to be a static library (.a) file and using it in the main project. I am presently working on a new project which leverages the FreeRTOS version provided by FSP for the RA2L1 MCU family.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |