Development FAQ: Difference between revisions

From Hackspire
Jump to navigation Jump to search
(Created)
 
(nspire-ld error after YAGARTO upgrade)
 
Line 2: Line 2:


Make sure that the program doesn't read then write directly from and to the [[Memory-mapped_I/O_ports#A4000000_-_Internal_SRAM|LCD screen buffer]]. A buffer allocated with [[Syscalls#stdlib.h|malloc()]] and copied to the LCD screen buffer with [[Syscalls#string.h|memcpy()]] should be used instead.
Make sure that the program doesn't read then write directly from and to the [[Memory-mapped_I/O_ports#A4000000_-_Internal_SRAM|LCD screen buffer]]. A buffer allocated with [[Syscalls#stdlib.h|malloc()]] and copied to the LCD screen buffer with [[Syscalls#string.h|memcpy()]] should be used instead.
'''After upgrading YAGARTO (or the GCC toolchain), <tt>nspire-ld</tt> fails to produce the .elf file'''
Delete the .o files in the ''system/'' directory of the Ndless SDK and rebuild your program.

Latest revision as of 20:01, 26 May 2011

The document screen of the OS is sometimes shifted after a program execution, what's wrong?

Make sure that the program doesn't read then write directly from and to the LCD screen buffer. A buffer allocated with malloc() and copied to the LCD screen buffer with memcpy() should be used instead.

After upgrading YAGARTO (or the GCC toolchain), nspire-ld fails to produce the .elf file

Delete the .o files in the system/ directory of the Ndless SDK and rebuild your program.