ubx_gen_block: add support for port/config generation