László Monda
|
7af8042c93
|
Fine tune delay to match the I2C peripheral driven at 100kHz.
|
2017-10-03 21:06:04 +02:00 |
|
László Monda
|
51a9acbb68
|
Extract delay() from InitI2cMainBus()
|
2017-10-03 20:54:05 +02:00 |
|
László Monda
|
f1a8d9a330
|
Toggle SCL from a loop.
|
2017-10-03 20:49:54 +02:00 |
|
László Monda
|
b5f1bcc4d6
|
Split InitI2c() as InitI2cMainBus() and initI2cEepromBus() and invoke InitI2cMainBus() from PIT_I2C_WATCHDOG_HANDLER()
|
2017-10-03 20:43:26 +02:00 |
|
László Monda
|
b49cb30070
|
Try to resurrect I2C not only in the watchdog but upon initialization. This may be useful when only the right half reboots after a firmware upgrade.
|
2017-09-30 22:17:44 +02:00 |
|
László Monda
|
751810ec4c
|
Explicitly add void to the argument list of zero argument functions.
|
2017-09-28 03:03:11 +02:00 |
|
László Monda
|
e3d407e14d
|
Assign the I2C and USB interrupts a lower interrupt priority than the PIT interrupt. This should make the I2C watchdog always recover within the PIT interrupt.
|
2017-09-18 04:05:41 +02:00 |
|
László Monda
|
992fea28ad
|
Split LED_DRIVER_STRESS_TEST as I2C_WATCHDOG and LED_DRIVER_FORCE_UPDATE
|
2017-08-19 12:31:49 +02:00 |
|
László Monda
|
0751d4075a
|
Uncomment microseconds_init() for the time being because it interferes with the PIT channel of the watchdog.
|
2017-08-19 12:07:20 +02:00 |
|
László Monda
|
529219ee99
|
Init microseconds PIT counter. Can see ticks, but cannot convert them down to microseconds and milliseconds yet.
|
2017-08-10 23:45:36 +02:00 |
|
László Monda
|
68e2dab576
|
Add config.h and move LED_DRIVER_STRESS_TEST and FIXED_BUSPAL_BOOTLOADER to it.
|
2017-08-06 17:28:32 +02:00 |
|
László Monda
|
7b1f9dc2b7
|
Remove unused variables.
|
2017-08-03 00:54:41 +02:00 |
|
László Monda
|
546ca5d0b2
|
Implement much more efficient LED driver updater algorithm that only talks to the LED driver ICs when necessary. Add LED_DRIVER_STRESS_TEST macro.
|
2017-07-31 17:30:33 +02:00 |
|
László Monda
|
8ed4a6ba09
|
Separate the configuration to hardware configuration and user configuration. Implement async I2C EEPROM handling. Remove USB functions that dealt with EEPROM and individual LEDs because they were dependent on sync I2C functions.
|
2017-07-22 23:49:47 +02:00 |
|
László Monda
|
64668e953f
|
Remove commented out line.
|
2017-07-15 18:36:16 +02:00 |
|
László Monda
|
5d39c725f9
|
Make the serialized buffer fixed-size.
|
2017-07-15 11:18:22 +02:00 |
|
Eric Tang
|
9a5e146866
|
Rename InitPeripherials to InitPeripherals
|
2017-07-12 20:06:11 -07:00 |
|
Eric Tang
|
595ced9902
|
Treat the LED driver as a peripheral with a driver
|
2017-07-12 20:03:50 -07:00 |
|
László Monda
|
40498a15b9
|
Fix typo by renaming init_peripherials.[ch] to init_peripherals.[ch]
|
2017-05-23 03:19:24 +02:00 |
|