klipper/src
Kevin O'Connor e26d1a3567 i2ccmds: Pass the i2c address as a 7-bit number (0-127)
The sam3 i2c code and the linux code use a 7-bit i2c address, while
the avr, lpc176x, and samd21 i2c code uses an 8-bit address with the
least significant bit always zero.  A similar issue occurred in the
host code (sx1509.py and replicape.py use 7-bit addresses while
uc1701.py and mcp4451.py use 8-bit addresses).

Consistently use 7-bit addresses in all the code.  This breaks
compatibility between host and mcu software, so make a change to the
config_i2c command to force users to synchronize software updates.
This also breaks common Smoothieboard configs, so update the mcp4451
code to validate the i2c_address.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-01-07 20:00:44 -05:00
..
avr i2ccmds: Pass the i2c address as a 7-bit number (0-127) 2019-01-07 20:00:44 -05:00
generic usb_cdc: Notify both the bulk_in and bulk_out tasks on a configure 2019-01-07 19:30:17 -05:00
linux linux: Add support for bi-directional SPI communication 2018-07-24 11:16:05 -04:00
lpc176x i2ccmds: Pass the i2c address as a 7-bit number (0-127) 2019-01-07 20:00:44 -05:00
pru pru: Add wrappers for gpio_x_reset() 2018-08-27 12:45:01 -04:00
sam3 sam3: Implement board reset via SAM RSTC hardware 2019-01-07 19:34:31 -05:00
samd21 i2ccmds: Pass the i2c address as a 7-bit number (0-127) 2019-01-07 20:00:44 -05:00
simulator simulator: Add support for gpio_x_reset() 2018-08-27 12:45:01 -04:00
stm32f1 stm32f1: It's only necessary to program the CR1 register during SPI init 2019-01-07 19:22:14 -05:00
Kconfig sam3: Merge sam4e8e support into sam3 code 2019-01-07 19:33:26 -05:00
Makefile Add generic i2c interface 2018-10-27 10:34:28 -04:00
adccmds.c adccmds: Add support for min/max temperature check filtering 2018-07-02 13:56:34 -04:00
basecmd.c basecmd: Rename get_status to get_clock 2018-05-29 10:57:29 -04:00
basecmd.h pru: Support config_reset command to manually reset mcu 2017-09-03 23:16:38 -04:00
buttons.c buttons: Clear pressed/last_pressed state on new buttons_query command 2018-10-01 12:40:28 -04:00
byteorder.h byteorder: Add a header file defining common byteswap functions 2018-05-21 09:44:40 -04:00
command.c command: Wait to send ack until after processing commands 2018-05-28 10:43:40 -04:00
command.h command: Wait to send ack until after processing commands 2018-05-28 10:43:40 -04:00
compiler.h compiler.h: Check if __aligned and __section macros are already defined 2016-06-13 23:18:59 -04:00
ctr.h build: Avoid linker magic in compile_time_request.c unique id generation 2017-05-26 12:32:02 -04:00
debugcmds.c debugcmds: Move debugging commands from basecmd.c to new file 2017-05-15 14:02:59 -04:00
endstop.c endstop: Eliminate end_stop_set_oversample command 2017-10-12 11:59:27 -04:00
gpiocmds.c gpiocmds: Add update_digital_out command 2018-06-27 12:10:39 -04:00
i2ccmds.c i2ccmds: Pass the i2c address as a 7-bit number (0-127) 2019-01-07 20:00:44 -05:00
lcd_hd44780.c lcd_hd44780: Add micro-controller code for the HD44780 LCD chip 2018-03-06 11:30:34 -05:00
lcd_st7920.c lcd_st7920: Use a longer delay at the start of each command/data 2018-06-22 23:47:09 -04:00
pwmcmds.c gpiocmds: Allow the start value for a pin to differ from the default_value 2017-10-12 11:59:27 -04:00
sched.c sched: Force sched_try_shutdown to be inlined 2018-10-13 11:47:00 -04:00
sched.h pru: Support config_reset command to manually reset mcu 2017-09-03 23:16:38 -04:00
spicmds.c spicmds: Check for an incorrect mode in spicmds.c 2018-11-30 11:50:48 -05:00
spicmds.h thermocouple: Add initial support for common SPI temperature sensing chips 2018-07-24 11:16:05 -04:00
stepper.c stepper: Introduce and use gpio_out_toggle_noirq() 2018-05-15 17:09:11 -04:00
stepper.h stepper: Introduce stepper_get_position command and remove from endstop.c 2017-03-09 14:54:52 -05:00
thermocouple.c thermocouple: Minor fixes 2018-07-25 09:06:50 -04:00
tmcuart.c tmc2208: Initial support for configuring TMC2208 drivers 2018-08-27 12:51:27 -04:00