56 lines
1.8 KiB
Batchfile
56 lines
1.8 KiB
Batchfile
|
|
cd ..
|
|
|
|
rem Let's wipe out all local libraries. Frankenstein does not have it's own libraries!
|
|
mkdir lib
|
|
rm lib/*.*
|
|
mkdir lib/3d
|
|
rm lib/3d/*.*
|
|
|
|
|
|
rem Let's copy Analog Input libraries & schematic
|
|
cp ../adc_amp_divider/lib/* lib/
|
|
cp ../adc_amp_divider.vertical12/adc_amp_divider.sch .
|
|
|
|
rem Same thing for 6 channel board
|
|
cp ../1A_injector_12-channels/lib/* lib/
|
|
cp ../1A_injector_12-channels/inj_12ch.sch .
|
|
|
|
rem MMC/TTL module
|
|
cp -r ../usb_mmc_spi/lib/* lib/
|
|
cp ../usb_mmc_spi/mmc_usb_1.sch .
|
|
|
|
rem VR input
|
|
cp -r ../knock_VR_Art_ELectro/lib/* lib/
|
|
cp -r ../knock_VR_Art_ELectro/cps_vrs_io_1.sch .
|
|
|
|
rem Hi-Low driver
|
|
|
|
cp -r ../hi-lo_driver/hi-lo.sch .
|
|
|
|
cp ../frankenstein_foundation/frankenstein_foundation.sch .
|
|
|
|
cp ../can_board/lib/* lib/
|
|
cp ../can_board/lib/3d/* lib/3d
|
|
cp ../can_board/can_brd_1.sch .
|
|
|
|
|
|
rem Now let's merge all compoennt mappings automatically. Magic!
|
|
java -jar ../../java_tools/pcb_sync.jar cmp_merge frankenstein.cmp ../hi-lo_driver/hi-lo.cmp ../can_board/can_brd_1.cmp ../1A_injector_12-channels/inj_12ch.cmp ../adc_amp_divider.vertical12/adc_amp_divider.cmp ../usb_mmc_spi/mmc_usb_1.cmp ../frankenstein_foundation/frankenstein_foundation.cmp ../knock_VR_Art_ELectro/cps_vrs_io_1.cmp
|
|
|
|
|
|
|
|
java -jar ../../java_tools/pcb_sync.jar pcb_merge ../usb_mmc_spi/mmc_usb_1.kicad_pcb temp/mmc_usb_1.kicad_pcb merge/mmc_ttl_prepare_changes.txt
|
|
|
|
java -jar ../../java_tools/pcb_sync.jar pcb_merge ../knock_VR_Art_ELectro/cps_vrs_io_1.kicad_pcb temp/cps_vrs_io_1.kicad_pcb merge/vr_changes.txt
|
|
|
|
|
|
mkdir temp
|
|
|
|
|
|
rem Let's merge these PCBs into the Frankenstein!
|
|
java -jar ../../java_tools/pcb_sync.jar pcb_merge ../frankenstein_foundation/frankenstein_foundation.kicad_pcb frankenstein.kicad_pcb merge/pcb_merge_changes.txt
|
|
|
|
|
|
java -jar ../../java_tools/pcb_sync.jar bom_builder frankenstein.cmp digikey_parts.csv
|