Change footprint name

This commit is contained in:
Marco Massarelli 2024-01-28 18:26:30 +00:00
parent 736240927d
commit 17b3640c6d
2 changed files with 4 additions and 4 deletions

View File

@ -853,7 +853,7 @@ pcbs:
shift: [1.5 ks -0.5, 0.375 kp -46.50]
reset_switch:
what: reset_button
what: reset_switch_smd_side
where: matrix_inner_top
params:
from: GND

View File

@ -33,7 +33,7 @@
module.exports = {
params: {
designator: 'SW',
designator: 'RST',
side: 'F',
reversible: false,
include_bosses: false,
@ -44,10 +44,10 @@ module.exports = {
},
body: p => {
const common_start = `
(module sw_reset_side (layer ${p.side}.Cu) (tedit 64473C6F)
(module "ceoloide/reset_button_smd_side" (layer ${p.side}.Cu) (tedit 64473C6F)
${p.at /* parametric position */}
(attr smd)
(fp_text value "reset_button" (at 0 2.5 ${p.rot}) (layer ${p.side}.Fab)
(fp_text value "reset_button_smd_side" (at 0 2.5 ${p.rot}) (layer ${p.side}.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.35 -1.75) (end -2.35 1.75) (width 0.1) (layer "Dwgs.User"))