Commit Graph

526 Commits

Author SHA1 Message Date
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
László Monda
b4567acbc1 Remove MSC related code from usb_descriptor.[ch] 2017-04-13 00:03:18 +02:00
László Monda
0708034835 Remove unused macros. 2017-04-12 23:58:03 +02:00
László Monda
fc2cecabf6 Clean up hid_bootloader.h 2017-04-12 23:51:23 +02:00
László Monda
8920a208dd Clean up composite.c 2017-04-12 23:46:18 +02:00
László Monda
d9252f4ff4 Clean up bootloader_hid_report_ids.h 2017-04-12 23:43:39 +02:00
László Monda
1cc5145e36 Convert bool s_dHidMscActivity[2] to bool s_dHidActivity by trashing the unused MSC part. 2017-04-12 23:39:57 +02:00
László Monda
cdde508bb0 Further clean up bus_pal_hardware.h 2017-04-12 23:25:49 +02:00
László Monda
3b1053f6eb Clean up composite.h, hid_bootloader.[ch], and bootloader_config.h 2017-04-12 23:20:31 +02:00
László Monda
adc69dcad5 Clean up bus_pal_hardware.[ch]. Add the ENABLE_BUSPAL macro and setup up BusPal if it's 1 instead of the default UHK USB interfaces. 2017-04-12 22:58:53 +02:00
László Monda
4750effd51 Clean up command.[ch] 2017-04-12 20:25:56 +02:00
László Monda
a49dee4f9d Add fsl_rtos_abstraction.c which I forgot to add. 2017-04-12 19:20:56 +02:00
László Monda
d3b6d127f7 Clean up crc16.[ch] 2017-04-12 19:20:10 +02:00
László Monda
97195b474f Add fsl_rtos_abstraction.c and clean up fsl_rtos_abstraction.h a bit. 2017-04-12 00:03:49 +02:00
László Monda
604d354072 Vastly simplify property.h and remove its unused parts. 2017-04-11 23:20:43 +02:00
László Monda
01a348453f Vastly simplify memory.h and remove its redundant parts. Remove some unused macros from bootloader_config.h 2017-04-11 23:07:28 +02:00
László Monda
27edcb060f Remove the unused target_config.h 2017-04-11 22:58:06 +02:00
László Monda
ffdc6b28ab Remove commented out includes. 2017-04-11 22:55:12 +02:00
László Monda
e0ca16525d Move crc16.[ch] one directory level upwards. 2017-04-11 22:48:54 +02:00
László Monda
034eea9241 Move memory.h one directory level upwards. 2017-04-11 22:46:06 +02:00
László Monda
9bc78703c9 Move property.h one directory level upwards. 2017-04-11 22:45:10 +02:00
László Monda
c590796c3f Move fsl_rtos_abstraction.h one directory level upwards. 2017-04-11 22:43:53 +02:00
László Monda
11ea7b19e7 Move serial_packet.c one directory level upwards. 2017-04-11 22:42:21 +02:00
László Monda
398c47f870 Move microseconds_{pit,sysclk}.c one directory level upwards. 2017-04-11 22:41:20 +02:00
László Monda
6452b597c9 Move crc16.c one directory level upwards. 2017-04-11 22:39:43 +02:00
László Monda
2a697dbe88 Remove unused crc32.[ch] files. 2017-04-11 22:38:30 +02:00
László Monda
f5146aa7b4 Remove redundant #ifdefs. 2017-04-11 22:35:06 +02:00
László Monda
e39c5be9a9 Add BusPal to the right firmware. 2017-04-11 22:11:56 +02:00
László Monda
b402a96007 Init UHK modules. 2017-03-19 00:14:14 +01:00
László Monda
6c749e2c4c Set the LED PWM values of both halves at once. 2017-03-18 22:43:22 +01:00
László Monda
dd71e79dda Remove the commented out hardcoded LED PWM brightness. 2017-03-18 22:41:48 +01:00
László Monda
5ee321881c Don't hardcode LED PWM brightness. 2017-03-18 22:41:08 +01:00
László Monda
36a65624f7 Remove redundant SetLeds() 2017-03-18 21:25:43 +01:00
László Monda
b80e1cbef1 The LED driver doesn't get read, so remove related code. 2017-03-18 21:18:36 +01:00
László Monda
c16032174b The test LED only gets set, so name identifiers accordingly. 2017-03-18 21:17:24 +01:00
László Monda
3fdd183f33 Remove commented out code. 2017-03-18 21:14:10 +01:00
László Monda
1bb76d7d3f Simplify JumpToBootloader() by only using the first method to reset the MCU. 2017-03-18 21:13:25 +01:00
László Monda
487c02335b Fix the state transfer of the test LED. 2017-03-18 21:06:40 +01:00
László Monda
4a5e5019aa Update LED PWM and test LED states of UHK modules in an async manner. 2017-03-18 15:12:31 +01:00
László Monda
14a856f8a6 Remove unused varaibles. 2017-03-18 02:45:10 +01:00
László Monda
070f9a0168 Extract BridgeSlaveUhkModuleHandler() to bridge_slaves/bridge_slave_uhk_module.[ch] 2017-03-18 02:34:48 +01:00
László Monda
067a3c1400 Add comment. 2017-03-18 02:27:05 +01:00
László Monda
ea7d36aebf Move bridge_slave_led_driver.[ch] to the newly created bridge_slaves directory. 2017-03-18 02:19:38 +01:00
László Monda
450520de24 Rename bridge_slave_led_driver_handler.[ch] to bridge_slave_led_driver.[ch] 2017-03-18 02:17:42 +01:00