Changes between Version 6 and Version 7 of Hardware/jCM/cCM2/cSoftware
- Timestamp:
- Jul 23, 2008, 12:53:48 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Hardware/jCM/cCM2/cSoftware
v6 v7 3 3 == Development Environment == 4 4 5 == Firmware Programming==5 === Firmware Programming === 6 6 7 7 ==== JTAG Programmer Hardware ==== … … 24 24 You can also get the latest version of gcc, binutils, and newlib, and compile these as {{{configure --target=arm-elf}}}. Both the Makefile and the loader know (at least in theory) how to deal with ELF format CM2 images. In this case tools are prefixed with "arm-elf", so for example an appropriate value for {{{CC}}} in the {{{Makefile}}} would be {{{CC=/usr/local/arm-elf-gcc}}} 25 25 26 == newlib==26 === Libraries === 27 27 28 Routines with entry points referenced by the GCC compiler, such as the ones for integer division, are provided by newlib, a library designed just for this sort of purpose. Impact on the size of the executeable from newlib is minimized. 28 ==== newlib ==== 29 29 30 == STR71X Library == 30 Routines with entry points referenced by the GCC compiler, such as the ones for integer division, are provided by newlib, a library designed just for this sort of purpose. Impact on the size of the executeable from newlib is minimized. Newlib source is used unmodified, and not incorporated into the CM2 source repository. 31 31 32 The ST's firmware library is used for peripheral management. We have made light modifications to ensure it works perfectly with GCC or other fully C99 compliant compilers. The source is included with the rest of the CM2 repository. 32 ==== STR71X Library ==== 33 33 34 == TCP/IP Library == 34 The ST's firmware library is used for peripheral management. We have made light modifications to ensure it works perfectly with GCC or other fully C99 compliant compilers. The source is included with the rest of the CM2 repository. 35 35 36 We are using [http://www.sics.se/~adam/uip/index.php/Main_Page uIP TCP/IP stack] developed by Adam Dunkels. Significant modifications have been made to the upstream uIP library to get it to support multiple protocols at the application layer. 36 ==== TCP/IP Library ==== 37 38 We are using [http://www.sics.se/~adam/uip/index.php/Main_Page uIP TCP/IP stack] developed by Adam Dunkels. Significant modifications have been made to the upstream uIP library to get it to support multiple protocols at the application layer. 37 39 Source to this library is also include in the CM2 source repository.