e85c60bd05
Remove unused macros.
László Monda
2017-04-25 19:11:05 +02:00
434a11664f
Only keep the *-srec debug configurations.
László Monda
2017-04-25 18:34:25 +02:00
54c0aaeae9
Delete CMSIS-DAP and PNE debug configurations.
László Monda
2017-04-25 18:30:31 +02:00
a64e5aede7
Delete JLink debug configurations.
László Monda
2017-04-25 18:29:38 +02:00
f263f0a9f9
Extract the usb parameters of blhost.
László Monda
2017-04-25 18:15:46 +02:00
b1c2a82c35
Ignore new build configuration.
László Monda
2017-04-25 17:28:31 +02:00
91b3dcc910
Disable security with the backdoor key.
László Monda
2017-04-25 17:19:48 +02:00
d7fd5ebe0d
Add v7-release-srec left build configuration.
László Monda
2017-04-23 06:49:32 +02:00
432f28dfbd
Add comment regarding the KBOOT version used.
László Monda
2017-04-21 10:01:28 +02:00
6b03b99324
Add left v7-debug-srec build configuration.
László Monda
2017-04-21 09:57:15 +02:00
621dd9fcec
Add JumpToBootloader()
László Monda
2017-04-21 09:52:51 +02:00
3d5b90f583
Add wormhole_t, getSP() and tweak SP before touched by the C runtime.
László Monda
2017-04-21 09:50:20 +02:00
e0fb590d8d
Skip the extra 0 "work in progress" byte sent by the KL03 ROM bootloader.
László Monda
2017-04-20 15:49:32 +02:00
11c6291770
Remove pinxmux_type_t and PeripheralDescriptor.pinmuxConfig
László Monda
2017-04-15 02:50:03 +02:00
8ae8349d20
Wipe out s_dHidActivity because it doesn't make a fucking sense the way it works. Use is_usb_active() instead.
László Monda
2017-04-15 01:50:32 +02:00
92683d3a65
Remove commented out low-level I2C initialization because it's already implemented by InitI2c()
László Monda
2017-04-15 01:32:44 +02:00
cca1e49d18
Rename the misspelled peripherials directory to peripherals.
László Monda
2017-04-15 01:00:55 +02:00
6c8bcfaffc
Fix up coding style.
László Monda
2017-04-15 00:58:46 +02:00
99b85059d3
Remove the redundant CommandHandlerEntry and command_processor_data_t.handlerEntry.
László Monda
2017-04-15 00:56:35 +02:00
87c0683dba
Remove the unused CommandHandlerEntry.handleCommand field.
László Monda
2017-04-14 15:42:07 +02:00
dbcc253227
Remove the unused bootloader_command_init(), CommandInterface and g_commandInterface.
László Monda
2017-04-14 15:40:50 +02:00
2cf8be92eb
Remove the unused CommandInterface.{init,pump,handlerTable} fields.
László Monda
2017-04-14 15:25:25 +02:00
b3450bae68
Remove the unused _peripheral_control_interface.pump field.
László Monda
2017-04-14 15:24:28 +02:00
6441285e85
Remove the unused _peripheral_control_interface.pollForActivity field.
László Monda
2017-04-14 15:21:04 +02:00
fc202d8dde
Make BusPal relay command between USB and I2C.
László Monda
2017-04-14 14:31:42 +02:00
a9b18355fc
Clean up command_packet.h a bit.
László Monda
2017-04-14 02:59:33 +02:00
6dbb002ae2
Remove unused usb_device_msc_callback() function prototype.
László Monda
2017-04-14 02:29:53 +02:00
890660938e
Fix up BusPal I2C initialization.
László Monda
2017-04-14 01:59:35 +02:00
3c6c9f2eaf
Clean up file.
László Monda
2017-04-14 01:15:57 +02:00
874e07c303
Move usb_device_get_*() functions back to usb_descriptor.h
László Monda
2017-04-14 00:42:43 +02:00
9a91a9e372
Simplify usb_device_full_shutdown()
László Monda
2017-04-14 00:41:49 +02:00
5fd2d9ab50
Remove redundant #ifdef
László Monda
2017-04-14 00:17:42 +02:00
98fdcfc555
Remove the unused usb_device_set_speed()
László Monda
2017-04-14 00:10:30 +02:00
38d07b27ef
Clean up usb_descriptor.[ch]
László Monda
2017-04-14 00:03:24 +02:00
7d448058f1
Move bl_peripheral.h one level upwards in the directory tree.
László Monda
2017-04-13 23:38:46 +02:00
8d29432ce0
Move the content of bootloader.h into serial_packet.c. Delete bootloader.h
László Monda
2017-04-13 23:32:07 +02:00
52329e045f
Remove redundant #if* directives.
László Monda
2017-04-13 01:05:18 +02:00
c7365eb6b0
Move bootloader_context_t and g_bootloaderContext from bl_context.h to bootloader and delete bl_context.h
László Monda
2017-04-13 01:01:26 +02:00
d8e465c406
Clean up bl_peripheral.h
László Monda
2017-04-13 00:54:06 +02:00
326d081bf1
Clean up serial_packet.c
László Monda
2017-04-13 00:49:27 +02:00
e0cdf01474
Vastly simplify bl_context.h and bootloader.h
László Monda
2017-04-13 00:42:03 +02:00
b463e1bd6f
Change vendor name and product name to "Ultimate Gadget Laboratories" and "UHK BusPal Proxy" respectively.
László Monda
2017-04-13 00:18:28 +02:00
f6d8acd482
Reindent USB string descriptors in a much more space efficient way.
László Monda
2017-04-13 00:13:37 +02:00
1b84de3196
Reindent code according to our coding standards.
László Monda
2017-04-13 00:06:43 +02:00
b4567acbc1
Remove MSC related code from usb_descriptor.[ch]
László Monda
2017-04-13 00:03:18 +02:00
0708034835
Remove unused macros.
László Monda
2017-04-12 23:58:03 +02:00
fc2cecabf6
Clean up hid_bootloader.h
László Monda
2017-04-12 23:51:23 +02:00
8920a208dd
Clean up composite.c
László Monda
2017-04-12 23:46:18 +02:00
d9252f4ff4
Clean up bootloader_hid_report_ids.h
László Monda
2017-04-12 23:43:39 +02:00
1cc5145e36
Convert bool s_dHidMscActivity[2] to bool s_dHidActivity by trashing the unused MSC part.
László Monda
2017-04-12 23:39:57 +02:00
cdde508bb0
Further clean up bus_pal_hardware.h
László Monda
2017-04-12 23:25:49 +02:00
3b1053f6eb
Clean up composite.h, hid_bootloader.[ch], and bootloader_config.h
László Monda
2017-04-12 23:20:31 +02:00
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.
László Monda
2017-04-12 22:58:53 +02:00
4750effd51
Clean up command.[ch]
László Monda
2017-04-12 20:25:56 +02:00
a49dee4f9d
Add fsl_rtos_abstraction.c which I forgot to add.
László Monda
2017-04-12 19:20:56 +02:00
d3b6d127f7
Clean up crc16.[ch]
László Monda
2017-04-12 19:20:10 +02:00
97195b474f
Add fsl_rtos_abstraction.c and clean up fsl_rtos_abstraction.h a bit.
László Monda
2017-04-12 00:03:49 +02:00
604d354072
Vastly simplify property.h and remove its unused parts.
László Monda
2017-04-11 23:20:43 +02:00
01a348453f
Vastly simplify memory.h and remove its redundant parts. Remove some unused macros from bootloader_config.h
László Monda
2017-04-11 23:07:28 +02:00
27edcb060f
Remove the unused target_config.h
László Monda
2017-04-11 22:58:06 +02:00
ffdc6b28ab
Remove commented out includes.
László Monda
2017-04-11 22:55:12 +02:00
e0ca16525d
Move crc16.[ch] one directory level upwards.
László Monda
2017-04-11 22:48:54 +02:00
034eea9241
Move memory.h one directory level upwards.
László Monda
2017-04-11 22:46:06 +02:00
9bc78703c9
Move property.h one directory level upwards.
László Monda
2017-04-11 22:45:10 +02:00
c590796c3f
Move fsl_rtos_abstraction.h one directory level upwards.
László Monda
2017-04-11 22:43:53 +02:00
11ea7b19e7
Move serial_packet.c one directory level upwards.
László Monda
2017-04-11 22:42:21 +02:00
398c47f870
Move microseconds_{pit,sysclk}.c one directory level upwards.
László Monda
2017-04-11 22:41:20 +02:00
6452b597c9
Move crc16.c one directory level upwards.
László Monda
2017-04-11 22:39:43 +02:00
2a697dbe88
Remove unused crc32.[ch] files.
László Monda
2017-04-11 22:38:30 +02:00
f5146aa7b4
Remove redundant #ifdefs.
László Monda
2017-04-11 22:35:06 +02:00
e39c5be9a9
Add BusPal to the right firmware.
László Monda
2017-04-11 22:11:56 +02:00
b402a96007
Init UHK modules.
László Monda
2017-03-19 00:14:14 +01:00
6c749e2c4c
Set the LED PWM values of both halves at once.
László Monda
2017-03-18 22:43:22 +01:00
dd71e79dda
Remove the commented out hardcoded LED PWM brightness.
László Monda
2017-03-18 22:41:48 +01:00
5ee321881c
Don't hardcode LED PWM brightness.
László Monda
2017-03-18 22:41:08 +01:00
36a65624f7
Remove redundant SetLeds()
László Monda
2017-03-18 21:25:43 +01:00
b80e1cbef1
The LED driver doesn't get read, so remove related code.
László Monda
2017-03-18 21:18:36 +01:00
c16032174b
The test LED only gets set, so name identifiers accordingly.
László Monda
2017-03-18 21:17:24 +01:00
3fdd183f33
Remove commented out code.
László Monda
2017-03-18 21:14:10 +01:00
1bb76d7d3f
Simplify JumpToBootloader() by only using the first method to reset the MCU.
László Monda
2017-03-18 21:13:25 +01:00
487c02335b
Fix the state transfer of the test LED.
László Monda
2017-03-18 21:06:40 +01:00
4a5e5019aa
Update LED PWM and test LED states of UHK modules in an async manner.
László Monda
2017-03-18 15:12:31 +01:00
14a856f8a6
Remove unused varaibles.
László Monda
2017-03-18 02:45:10 +01:00
070f9a0168
Extract BridgeSlaveUhkModuleHandler() to bridge_slaves/bridge_slave_uhk_module.[ch]
László Monda
2017-03-18 02:34:48 +01:00
067a3c1400
Add comment.
László Monda
2017-03-18 02:27:05 +01:00
ea7d36aebf
Move bridge_slave_led_driver.[ch] to the newly created bridge_slaves directory.
László Monda
2017-03-18 02:19:38 +01:00
450520de24
Rename bridge_slave_led_driver_handler.[ch] to bridge_slave_led_driver.[ch]
László Monda
2017-03-18 02:17:42 +01:00
0656bb78c3
Fix indentation.
László Monda
2017-03-18 02:04:49 +01:00
afab1db73c
Remove some unused sync I2C calls.
László Monda
2017-03-18 02:02:56 +01:00
bb9a39d999
Remove Robi's interruption friendlier I2C implementation because sync I2C calls will be completely eliminated shortly.
László Monda
2017-03-18 02:01:04 +01:00
e69b2720d1
Remove the OLD_MATRIX clause of the keyboard matrix code, thereby obsoleting the reverse diode UHK prototype.
László Monda
2017-03-18 01:42:07 +01:00
3f661bc0ad
Completely refactor I2C LED driver initialization from sync to async.
László Monda
2017-03-18 01:37:13 +01:00
db7a67a3fe
Don't initialize per LED brightness levels synchronously because they get initialized asynchronously later.
László Monda
2017-03-18 01:26:47 +01:00
a89f0b675f
Refactor sync LED driver control register initialization to async.
László Monda
2017-03-18 01:12:44 +01:00
5d3bc37ffc
Don't initialize the blink registers. Their default value seems to be just fine.
László Monda
2017-03-18 01:00:28 +01:00
45d5db6773
Fix ledControlBufferRight[] and don't enable all the LEDs in a second sweep.
László Monda
2017-03-18 00:46:15 +01:00
ef8f00eaa9
Extract LED driver bridge slave handler into bridge_slave_led_driver_handler.[ch]
László Monda
2017-03-17 23:04:01 +01:00
f7e2ee344c
Gitignore core
László Monda
2017-03-17 22:37:31 +01:00
ebc1c6156c
Add perf.data to gitignore
László Monda
2017-03-17 22:36:40 +01:00
5e2c0a68bc
Respect the return value of bridge protocol handlers and increment currentBridgeSlaveId accordingly.
László Monda
2017-03-17 02:03:03 +01:00