Two ATmega328p with 2 RF modules and two separeate code.c compiling problem

Duplicate of Can a single platformio.ini have more than one "entry point".