Commit Graph

569 Commits

Author SHA1 Message Date
László Monda
533ee5d228 Map test actions to the current keymap. 2017-04-28 16:36:43 +02:00
László Monda
aaaeab0498 Add test actions. 2017-04-28 16:24:19 +02:00
László Monda
f46832d840 Add BootloaderConfiguration and BootloaderConfig 2017-04-27 02:56:08 +02:00
László Monda
d6f1a76f09 Point to the most recent revision of KSDK_2.0_MKL03Z8xxx4 2017-04-27 01:05:17 +02:00
László Monda
b094249ab9 Read the extra zero byte earlier. I'm not sure if the KL03 bootloader is nondeterministic or what's going on. 2017-04-26 21:25:26 +02:00
László Monda
70ac3fc93e Delete PEMicro build configurations. 2017-04-25 20:57:16 +02:00
László Monda
e85c60bd05 Remove unused macros. 2017-04-25 19:11:05 +02:00
László Monda
434a11664f Only keep the *-srec debug configurations. 2017-04-25 18:34:25 +02:00
László Monda
54c0aaeae9 Delete CMSIS-DAP and PNE debug configurations. 2017-04-25 18:30:31 +02:00
László Monda
a64e5aede7 Delete JLink debug configurations. 2017-04-25 18:29:38 +02:00
László Monda
f263f0a9f9 Extract the usb parameters of blhost. 2017-04-25 18:15:46 +02:00
László Monda
b1c2a82c35 Ignore new build configuration. 2017-04-25 17:28:31 +02:00
László Monda
91b3dcc910 Disable security with the backdoor key. 2017-04-25 17:19:48 +02:00
László Monda
d7fd5ebe0d Add v7-release-srec left build configuration. 2017-04-23 06:49:32 +02:00
László Monda
432f28dfbd Add comment regarding the KBOOT version used. 2017-04-21 10:01:28 +02:00
László Monda
6b03b99324 Add left v7-debug-srec build configuration. 2017-04-21 09:57:15 +02:00
László Monda
621dd9fcec Add JumpToBootloader() 2017-04-21 09:52:51 +02:00
László Monda
3d5b90f583 Add wormhole_t, getSP() and tweak SP before touched by the C runtime. 2017-04-21 09:50:20 +02:00
László Monda
e0fb590d8d Skip the extra 0 "work in progress" byte sent by the KL03 ROM bootloader. 2017-04-20 15:49:32 +02:00
László Monda
11c6291770 Remove pinxmux_type_t and PeripheralDescriptor.pinmuxConfig 2017-04-15 02:50:03 +02:00
László Monda
8ae8349d20 Wipe out s_dHidActivity because it doesn't make a fucking sense the way it works. Use is_usb_active() instead. 2017-04-15 01:50:32 +02:00
László Monda
92683d3a65 Remove commented out low-level I2C initialization because it's already implemented by InitI2c() 2017-04-15 01:32:44 +02:00
László Monda
cca1e49d18 Rename the misspelled peripherials directory to peripherals. 2017-04-15 01:00:55 +02:00
László Monda
6c8bcfaffc Fix up coding style. 2017-04-15 00:58:46 +02:00
László Monda
99b85059d3 Remove the redundant CommandHandlerEntry and command_processor_data_t.handlerEntry. 2017-04-15 00:56:35 +02:00
László Monda
87c0683dba Remove the unused CommandHandlerEntry.handleCommand field. 2017-04-14 15:42:07 +02:00
László Monda
dbcc253227 Remove the unused bootloader_command_init(), CommandInterface and g_commandInterface. 2017-04-14 15:40:50 +02:00
László Monda
2cf8be92eb Remove the unused CommandInterface.{init,pump,handlerTable} fields. 2017-04-14 15:25:25 +02:00
László Monda
b3450bae68 Remove the unused _peripheral_control_interface.pump field. 2017-04-14 15:24:28 +02:00
László Monda
6441285e85 Remove the unused _peripheral_control_interface.pollForActivity field. 2017-04-14 15:21:04 +02:00
László Monda
fc202d8dde Make BusPal relay command between USB and I2C. 2017-04-14 14:31:42 +02:00
László Monda
a9b18355fc Clean up command_packet.h a bit. 2017-04-14 02:59:33 +02:00
László Monda
6dbb002ae2 Remove unused usb_device_msc_callback() function prototype. 2017-04-14 02:29:53 +02:00
László Monda
890660938e Fix up BusPal I2C initialization. 2017-04-14 01:59:35 +02:00
László Monda
3c6c9f2eaf Clean up file. 2017-04-14 01:15:57 +02:00
László Monda
874e07c303 Move usb_device_get_*() functions back to usb_descriptor.h 2017-04-14 00:42:43 +02:00
László Monda
9a91a9e372 Simplify usb_device_full_shutdown() 2017-04-14 00:41:49 +02:00
László Monda
5fd2d9ab50 Remove redundant #ifdef 2017-04-14 00:17:42 +02:00
László Monda
98fdcfc555 Remove the unused usb_device_set_speed() 2017-04-14 00:10:30 +02:00
László Monda
38d07b27ef Clean up usb_descriptor.[ch] 2017-04-14 00:03:24 +02:00
László Monda
7d448058f1 Move bl_peripheral.h one level upwards in the directory tree. 2017-04-13 23:38:46 +02:00
László Monda
8d29432ce0 Move the content of bootloader.h into serial_packet.c. Delete bootloader.h 2017-04-13 23:32:07 +02:00
László Monda
52329e045f Remove redundant #if* directives. 2017-04-13 01:05:18 +02:00
László Monda
c7365eb6b0 Move bootloader_context_t and g_bootloaderContext from bl_context.h to bootloader and delete bl_context.h 2017-04-13 01:01:26 +02:00
László Monda
d8e465c406 Clean up bl_peripheral.h 2017-04-13 00:54:06 +02:00
László Monda
326d081bf1 Clean up serial_packet.c 2017-04-13 00:49:27 +02:00
László Monda
e0cdf01474 Vastly simplify bl_context.h and bootloader.h 2017-04-13 00:42:03 +02:00
László Monda
b463e1bd6f Change vendor name and product name to "Ultimate Gadget Laboratories" and "UHK BusPal Proxy" respectively. 2017-04-13 00:18:28 +02:00
László Monda
f6d8acd482 Reindent USB string descriptors in a much more space efficient way. 2017-04-13 00:13:37 +02:00
László Monda
1b84de3196 Reindent code according to our coding standards. 2017-04-13 00:06:43 +02:00