Take a look at Using IPC for Wireless Encryption with Intel Galileo . This link shows a step by step connection and code for the RF24L01 in Galileo. You can also see more information and the general pin layout here Optimized High Speed NRF24L01+ Driver Class Documenation: Optimized High Speed Driver for nRF24L01(+) 2.4GHz Wireless Tr…
Also take a look at upm/examples/c++ at master · intel-iot-devkit/upm · GitHub . Here you’ll find code that can be used with the nrf24l01.
Hopefully this can get you started.
Thank you @Intel_Alvarado, I will try this with Galileo. I tried this upm library with edison, this example you mentioned but still can't figure out how to connect module.