Files
retrobsd/sys/pic32/cfg/bootloader.dev
2014-04-09 14:27:18 +01:00

84 lines
1.6 KiB
Plaintext

always
target bootloader
define USB_NUM_STRING_DESCRIPTORS 3
define USB_MAX_EP_NUMBER 1
define USB_EP0_BUFF_SIZE 8
define HID_INPUT_REPORT_BYTES 2
define HID_OUTPUT_REPORT_BYTES 2
define HID_FEATURE_REPORT_BYTES 2
define HID_INT_OUT_EP_SIZE 64
define HID_INT_IN_EP_SIZE 64
define HID_RPT01_SIZE 29
nofile devcfg.o
end always
option button
define BL_BUTTON_PORT $TRIS(%1)
define BL_BUTTON_PIN $PIN(%1)
end option
option crystal
define BL_CRYSTAL %1
end option
option jump
define FLASH_JUMP %1
end option
option user
define FLASH_USER %1
end option
option led
define BL_LED_PORT $TRIS(%1)
define BL_LED_PIN $PIN(%1)
end option
option invled
define BL_LED_PORT $TRIS(%1)
define BL_LED_PIN $PIN(%1)
define BL_LED_INVERT
end option
option led2
define BL_LED2_PORT $TRIS(%1)
define BL_LED2_PIN $PIN(%1)
end option
option invled2
define BL_LED2_PORT $TRIS(%1)
define BL_LED2_PIN $PIN(%1)
define BL_LED2_INVERT
end option
option led3
define BL_LED3_PORT $TRIS(%1)
define BL_LED3_PIN $PIN(%1)
end option
option invled3
define BL_LED3_PORT $TRIS(%1)
define BL_LED3_PIN $PIN(%1)
define BL_LED3_INVERT
end option
option set
define BL_SET_PORT $TRIS(%1)
define BL_SET_PIN $PIN(%1)
end option
option set2
define BL_SET2_PORT $TRIS(%1)
define BL_SET2_PIN $PIN(%1)
end option
option clear
define BL_CLEAR_PORT $TRIS(%1)
define BL_CLEAR_PIN $PIN(%1)
end option
option clear2
define BL_CLEAR2_PORT $TRIS(%1)
define BL_CLEAR2_PIN $PIN(%1)
end option