- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like you to send me the source code of the standard library functions: memcpy() and memset().
Thanks
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Trying to find it by yourself is always a good practice.
But saying "easy" and "doing it" is a totally different story.
So I tried it by my way.
(1) I googled "ARM GCC 5.4" (Sorry, my native tongue is Japanese)
and I found following page
(2) The page looked like
(3) I scroll down to "5-2016-q2-update"
(4) I down loaded the source, which was 184MB in BZ2 format
(5) Then I uncompressed the archive using Lhaplus and Cygwin
(6) In the src/newlib/newlib/libc/string there they are
Well, not quite difficult if you are familiar with tar and find,
but I don't think that this is a quite easy task either.
Anyway, I attached memcpy.c and memset.c from this version.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I woulld suggest you to go to the GCC community, because the standard compiler for PSoCs is GNU C.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
shil,
If you don't get a reply from GCC, you code always code your own memcpy() and memset() functions. It should be very easy.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Trying to find it by yourself is always a good practice.
But saying "easy" and "doing it" is a totally different story.
So I tried it by my way.
(1) I googled "ARM GCC 5.4" (Sorry, my native tongue is Japanese)
and I found following page
(2) The page looked like
(3) I scroll down to "5-2016-q2-update"
(4) I down loaded the source, which was 184MB in BZ2 format
(5) Then I uncompressed the archive using Lhaplus and Cygwin
(6) In the src/newlib/newlib/libc/string there they are
Well, not quite difficult if you are familiar with tar and find,
but I don't think that this is a quite easy task either.
Anyway, I attached memcpy.c and memset.c from this version.
moto