add pinmap and SCH