Commit Graph

1307 Commits

Author SHA1 Message Date
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
László Monda
0656bb78c3 Fix indentation. 2017-03-18 02:04:49 +01:00
László Monda
afab1db73c Remove some unused sync I2C calls. 2017-03-18 02:02:56 +01:00
László Monda
bb9a39d999 Remove Robi's interruption friendlier I2C implementation because sync I2C calls will be completely eliminated shortly. 2017-03-18 02:01:04 +01:00
László Monda
e69b2720d1 Remove the OLD_MATRIX clause of the keyboard matrix code, thereby obsoleting the reverse diode UHK prototype. 2017-03-18 01:42:07 +01:00
László Monda
3f661bc0ad Completely refactor I2C LED driver initialization from sync to async. 2017-03-18 01:37:13 +01:00
László Monda
db7a67a3fe Don't initialize per LED brightness levels synchronously because they get initialized asynchronously later. 2017-03-18 01:26:47 +01:00
László Monda
a89f0b675f Refactor sync LED driver control register initialization to async. 2017-03-18 01:12:44 +01:00
László Monda
5d3bc37ffc Don't initialize the blink registers. Their default value seems to be just fine. 2017-03-18 01:00:28 +01:00
László Monda
45d5db6773 Fix ledControlBufferRight[] and don't enable all the LEDs in a second sweep. 2017-03-18 00:46:15 +01:00
László Monda
ef8f00eaa9 Extract LED driver bridge slave handler into bridge_slave_led_driver_handler.[ch] 2017-03-17 23:04:01 +01:00
László Monda
f7e2ee344c Gitignore core 2017-03-17 22:37:31 +01:00
László Monda
ebc1c6156c Add perf.data to gitignore 2017-03-17 22:36:40 +01:00
László Monda
5e2c0a68bc Respect the return value of bridge protocol handlers and increment currentBridgeSlaveId accordingly. 2017-03-17 02:03:03 +01:00
László Monda
38d3da05a4 Replace "type" with "slaveHandler" callback inside bridge_slave_t. 2017-03-17 01:57:49 +01:00
László Monda
d9ffdb6bb3 Replace i2cAddress with moduleId in bridge_slave_t. 2017-03-17 01:46:06 +01:00
László Monda
02fe3b818f Extract I2cAsync{Read,Write}() to i2c.c 2017-03-17 01:33:04 +01:00
László Monda
8ff25b88fd Don't make the arguments of i2cAsync{Write,Read} volatile. 2017-03-16 15:35:52 +01:00
László Monda
0dfa87754e Add /v6-release-srec/ to gitignore. 2017-03-16 15:30:45 +01:00
László Monda
a0648a5768 Extract bridge slave handler functions. 2017-03-16 15:29:31 +01:00