Other Parts Discussed in Thread: TMS320F28335, SYSBIOS
All:
I have been asked to explore the use of SYS/BIOS on a product using the F28335. To do that, I have copied the C2000 code examples to a separate directory - so I would not inadvertantly destroy them.
First, I created a base SYS/BIOS system "Typical" template. I was able to build this system without error.
I then started copying files from an existing F28335 example - I used the timed blink example so I could tell at a glance that a compiled system was still working.
The timed blink example has several files that I added into the Bios project, including
DSP2833x_ADC.cal.asm, DSP2833x_usDelay.asm
DSP2833x_CpuTimers.c, DSP2833x_DefaultIsr.c, DSP2833x_GlobalVariableDefs.c, DSP2833x_PieCtrl.c, DSP2833x_PieVect.c, Example_2833xLEDBlink.c
DSP2833x_Headers_BIOS.cmd, TMS320F28335.cmd
I also needed to point at the proper include files for the headers & common, and I added this to the Build Options --> Include settings under C2000 Compiler.
Once I did all of this, I then needed to take care of build errors, and there were a few related to Uint16 being "doubly-defined."
Not sure if I did this right, but I did manage to get a "base Bios" build that would and use the peripheral header files. I ended up commenting out some lines in the xdctools area.
Now that I have a basic design, I plan to use a Bios timer instead of the CpuTimer to control the LED.
I also plan to add several tasks that are in an existing project.
Question: has anyone tried to create a Sys/Bios based project in conjunction with the C2000 header files?