kopia lustrzana https://github.com/solokeys/solo1
fixes
rodzic
f2d0e3d275
commit
f97d9ab34f
|
@ -79,7 +79,7 @@ solo.hex:
|
|||
echo "You need to build the application first."
|
||||
|
||||
cbor:
|
||||
$(MAKE) -f application.mk -j8 cbor
|
||||
$(MAKE) -f $(APPMAKE) -j8 cbor
|
||||
|
||||
test:
|
||||
$(MAKE) build-release-locked
|
||||
|
|
|
@ -50,11 +50,14 @@
|
|||
#include APP_CONFIG
|
||||
|
||||
|
||||
#define USBD_VID 0x0483
|
||||
#define USBD_PID 0xA2CA
|
||||
#define USBD_LANGID_STRING 0x409
|
||||
#define USBD_MANUFACTURER_STRING "SoloKeys"
|
||||
#define USBD_PRODUCT_FS_STRING SOLO_PRODUCT_NAME
|
||||
#define USBD_SERIAL_NUM "0123456789ABCDEF"
|
||||
|
||||
|
||||
uint8_t *USBD_HID_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
uint8_t *USBD_HID_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
uint8_t *USBD_HID_ManufacturerStrDescriptor (USBD_SpeedTypeDef speed, uint16_t *length);
|
||||
|
|
|
@ -12,7 +12,6 @@ void flash_write_dword(uint32_t addr, uint64_t data);
|
|||
void flash_write(uint32_t addr, uint8_t * data, size_t sz);
|
||||
void flash_write_fast(uint32_t addr, uint32_t * data);
|
||||
void flash_option_bytes_init(int boot_from_dfu);
|
||||
void flash_lock();
|
||||
|
||||
#define FLASH_PAGE_SIZE 2048
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue