I planned to use THE UARTE of nRF52840, but I encountered some problems when I added it to the project from the routine of SDK17.0.2. I compared the UARTE and sdk_config.h configurations in the project with those in the routine, but found no problems.
(17): error: #94: the size of an array must be greater than zero NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);
I don't know what the problem is. Now I don't know what to do, you know? tell me thank you !!!

I checked enable in sdk_config.h, but why is it gray in the program? What's the reason?

What's the reason?