Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHow can i handle the pio in uclinux?
I have upload the kernal and filesystem to flash,and the kernal runs very well.Then i build the example 'hello world',it runs very well too. Now i want to handle the PIO in uclinux,like...
Altera_Forum
Honored Contributor
20 years ago> there are error undefined reference to `writew',I have include the header file like
> this# <asm/io.h>.Can anyone tell me why. __KERNEL__ must be defined. If you define this for an application, you'll likely pull in other definitions that will cause compile-time problems. I recommend you copy the macros you need into a header file in your application source tree. It'll probably save you some headaches. Regards, --Scott