PinMap problem with esp32 Lora module

Hello everyone! I am having trouble getting the pinmap for my sparkfun esp32 Lora board set up correctly. Could anybody help me please? I am using the os_init() instead of the os_init_ex() because I dont get how pointers work…

Thanks in advance

Really hard to say from this. Does the ttn-otaa.ino example sketch compile for you? (Let’s ignore whether it works – this is a compile/link problem, not a runtime problem.)