Lets say that I prototype something on dev board like something from Raspberry Pi, or ones from STM. Now I want to do a full product, (like the Tiny Pilot) with the microprocessor on a custom PCB board with just the necessary hardware.
I understand that you have to design the schematic and then get the PCB layout done, but in terms of figuring out which pins to connect, is it just a matter of figuring it out from the microcontroller manual? Additionally, how do you end up programming the microcontrollers, do you have to have a separate programmer since you don't have all the stuff on the dev board?