Hello
In order to prevent the message around Small data sections, there are 2 solutions:
1- Disable usage of small data in the project.
If you are using CW for MCU V10.x, this is done as follows:
- Open project properties dialog (select Project > Properties).
- Go to C/C++ Build > Settings > Tool Settings > PowerPC CPU panel.
- Set Small Data and Small data2 to 0
- Click OK to save the changes.
If you are using V2.x, this is done as follows:
- Open target Settings dialog (Press ALT + F7)
- Go to Target > EPPC Target panel
- set Small data and Small Data2 to 0
- Click on OK to save the changes.
2- Explicitly place Small Data Sections in your application linker command file.
Edit the .lcf file and add the section .PPC.EMB.sdata0 and .PPC.EMB.sbss0 to one of the
output sections.
In order to remove the warning around vletext, in one of the output section in your .lcf file.
CrasyCat