cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

Anonymous
Not applicable

Hello, i am working with the PSOC-Creator 4.0 (4.0.0.432) with gcc toolchain. In a Project i want to add some external produced binary data, which then can be accessed by "unsigned char external_data[index]". In this case it is some fonts for a display. Is there an easy way or do i have to do it manually with "ld" and "objcpy"?

0 Likes
Reply
1 Solution
Honored Contributor II

AFAIK gcc has no way to do this. I personally would use "xxd -i" to convert the binary file into a header file, and then use this.

View solution in original post

0 Likes
Reply
1 Reply
Honored Contributor II

AFAIK gcc has no way to do this. I personally would use "xxd -i" to convert the binary file into a header file, and then use this.

View solution in original post

0 Likes
Reply