0 Replies Latest reply on Aug 6, 2012 3:38 PM by dan_schiro

    How to include the assembly Checksum assembly routines in Nucleus NET

    dan_schiro

      Nucleus NET contains optimization assembly code for ARM/ADS  and  PowerPC/DIAB  platforms.  If your platform or toolset is different, then  the assembly code will need to be modified to match your core  architecture/toolset syntax.  If your port supports an optimized  checksum routine, the assembly code will be located in a subdirectory  named for your platform at NET/OPTIMIZATIONS/CHECKSUM/.

       

      To  use  the  optimized  routine,  in  the  file  NET/TARGET.H,   change  the  macro TCPCHECK_ASM to OS_TRUE,  add  the  assembly  file   containing  the optimized checksum routine to your project and rebuild  the code.