Tool/software: TI-RTOS
Guys...
Well, I've blown yet another week spinning my wheels trying to get this eco-system to work. Of course, it doesn't.
I've pretty much given up getting help on my other thread. ( e2e.ti.com/.../686579 From a "factory original" sample package, I make one minuscule line change, and the linker fails - No one can explain why)
So, I figured I'd just start from scratch. The target is a simple Beagle Bone Black. Not that it matters when dealing with linker errors.
I created a new project, added the header files and a few calls from the MMCSD library. Then added it, plus "board" plus "osal" to the CFG file. Then even added "csl" and "I2C"... And I get hundreds of linker errors. I would expect linker errors due structures and functions which the project needs to supply, so I included them. And I don't get those. Instead I get linker errors for functions that are supposed to be supplied by the eco-system. Things like "SemaphoreP_create", "HwiP_disable", "_DebugP_assert", etc....
(No, I do NOT expect this project to work yet, I expect it only to compile and link... to demonstrate that the eco system can properly include libraries that are completely hidden and out of my control to specify... but it won't even do that. Nor can I figure out where they are supposed to come from)
Comparing the CFG file from the example that I cannot change without the entire project breaking, to the new project which should contain the MMCSD, OSAL, BOARD, I see NOTHING that would cause it to fail to resolve "SemaphoreP_create", "HwiP_disable", "_DebugP_assert", etc.... In fact, it's RIGHT IN THERE, on line 13:
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
According to THIS thread, all I need to resolve the "SemaphoreP_create" symbol is OSAL and BOARD (Different chip, but the concept should be the same??? ).
Whenever, you link into any LLD driver provided in the RTOS SDK, you will need to link to OSAL and board library whether you are using any RTOS or running the drivers in bare-metal...
Well, that's not correct. I did that, and it fails. I have proof. It's a CCS 7.2 project that is attached.
