Other Parts Discussed in Thread: CC1310, CC1312R
Hi
I have tried the lab on POSIX Project Zero, I know the code is correct as described in the lab, but all I get are a lot of errors (please see below) can someone please assist.
Regards
David
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I have tried the lab on POSIX Project Zero, I know the code is correct as described in the lab, but all I get are a lot of errors (please see below) can someone please assist.
Regards
David
- From which SDK (version) have you imported the uart project (I note that the latest SDK only have uart2echo and not uartecho as the example ask for. Please show exactly which example that you have used, including compiler option)
- I assume that you are following https://dev.ti.com/tirex/explore/node?node=ACzypa9NTyZS--.cZMxD.g__BSEc4rl__LATEST. At which step of the academy do you get the compile errors?
Hi TER
Please see below for SDK
Here are the Errors that start in 3. of the lab actual code is below
/* * Make the alarm thread a higher priority. */
priParam.sched_priority = 2;
pthread_attr_setschedparam(&attrs, &priParam);
retc = pthread_create(&alarm, &attrs, alarmThread, (void *)&mqdes);
if (retc != 0) { /* pthread_create() failed */ while (1); }
Regards
David
The question headline indicate that you are using a Launchpad with CC1312R but you have selected a project for CC1310. The selected chip and project has to align. Which Launchpad are you using?
If I complete Task 5 the compiler complaints since "alarmThread" is not defined. I suggest you also do task 7 since this step defines "alarmThread" and after completing this step you are able to compile.
Note that the academy only ask for building the code in step 8 since required code is added up to this point.