Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SFUD在DSP的C28x上的移植问题 #86

Open
YazooBao opened this issue Nov 15, 2023 · 1 comment
Open

SFUD在DSP的C28x上的移植问题 #86

YazooBao opened this issue Nov 15, 2023 · 1 comment

Comments

@YazooBao
Copy link

由于DSP的C28x的数据访问最小是16位,即在C28x上定义不了1字节类型的变量,最小只能定义2字节类型的变量,也即使用char定义的变量是占用两个字节的,这种情况下要移植SFUD的话有什么好的办法兼容吗?

@xkwy
Copy link

xkwy commented Nov 27, 2023

试一下使用编译器提供的内部函数__byte()

https://software-dl.ti.com/ccs/esd/documents/c2000_byte-accesses-with-the-c28x-cpu.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants