NNDK2.3 RC3 Now Available (1/14/09)

Discussion to talk about software related topics only.
User avatar
yevgenit
Posts: 84
Joined: Fri Apr 25, 2008 12:47 am
Contact:

Re: NNDK2.3 RC3 Now Available (1/14/09)

Post by yevgenit »

Forrest,

the following compilation issue is returned:
"Command "Rebuild All System Files" without touch of any file in C:\Nburn\include folder and with still opened user project is failed with the following error message: "Error: Unable to find platform definition"."
This issue occurs with both opened and closed project.

The exotic workaround is the same as the previously reported: import C:\Nburn\include\predef.h to the project directory, and rebuild the project.
Now command "Rebuild All System Files" pass OK.

Possibly, only some project configuration file has the demanded platform definition.

yevgenit wrote:Forrest, I also cannote reproduce the major error at the "clean" computer. The exact scenario is as the following.
1. Install NNDK2.3 RC3 on a "clean" computer (where NDDK wasn't previously).
2. Select the new workspace outside Nburn tree.
3. Create the new project with NB wizard. Only "enable network debug" option is checked.
4. Verify, that compilation of the generated project pass Ok.
5. Add line "static int array[3*2048] FAST_USER_VAR;" before any function at main.cpp file.
6. Add fragment
// Use SRAM variables.
for( int i=0; i<(3*2048); i++ )
{
array[ i ] = 0;
}
just before the originally generated line " iprintf("Application started\n");" at main.cpp file.
7. The compilation failed with the following error messages:
Description Resource Path Location Type
region SRAM overflowed by 6656 bytes SRAM_use 0 C/C++ Problem
SRAM_use.elf section .SRAM_SECT will not fit in region SRAM SRAM_use 0 C/C++ Problem
8. Command "Rebuild All System Files" without touch of any file in C:\Nburn\include folder and with still opened user project is failed with the following error message: "Error: Unable to find platform definition".
9. Command "Rebuild Modified System Files" without touch of any file in C:\Nburn\include folder and with still opened user project is finished Ok.
10. Comment out the line "#define NB_SSH_SUPPORTED ( 1 )" in C:\Nburn\include\predef.h
11. Command "Rebuild Modified System Files" with still opened user project is finished Ok.
12. Clean build of the user project is finished Ok.

Forrest wrote:I have been unable to duplicate the rebuild all/rebuild modified errors. Can you describe the situation in more detail? Do you have an open project when you get this error?
8.
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Post Reply