summaryrefslogtreecommitdiff
path: root/eeprog
Commit message (Collapse)AuthorAgeFilesLines
* allow to preset custom CFLAGS and LDFLAGSWolfram Sang2020-08-101-3/+3
| | | | | | | | Sometimes I need to add some flags (like -static for the linker), so allow this for all CFLAGS and LDFLAGS used in this project. Signed-off-by: Wolfram Sang <wsa@kernel.org> Acked-by: Jean Delvare <jdelvare@suse.de>
* Make STRIP overridableJean Delvare2018-11-091-1/+1
| | | | | | | | | Allow the user select a different strip tool for the build (same as done with the CC and AR variables). Contributed by Per Olav Kroka. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* eeprog: Fix ambiguous parenthesesJean Delvare2018-04-121-2/+4
| | | | | | | Better separate the function call and the result test, to make the code clearer and unambiguous. Reported by David Binderman.
* eeprog/Module.mk: Add missing dependencyMaxin B. John2017-12-191-1/+1
| | | | | | | | Absence of this dependency caused parallel build to run into a race and break. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Jean Delvare <jdelvare@suse.de>
* eeprog: Increase sleep between byte writesStefan Agner2017-08-101-3/+10
| | | | | | | | | | | | | | | Increese sleep time between writes to accomodate typical write cycle times. An Atmel AT24C02 as well as an ON Semiconductor CAT24C02 EEPROM specify 5ms. This resolves errors such as: ... Bus: /dev/i2c-1, Address: 0x50, Mode: 8bit Writing stdin starting at address 0x0 ..Error i2c_write_2b: Input/output error Error at line 162: write error [JD] Define a single constant and add a note that this could be revisited.
* i2c-tools: add .gitignoreWolfram Sang2016-08-121-0/+1
| | | | | | | | Don't display generated files, so 'git status' becomes useful again. Reviewed-by: Jean Delvare <jdelvare@suse.de> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
* Drop obsolete SVN keywordsJean Delvare2016-07-043-6/+0
|
* eeprog: Drop duplicate CFLAGSJean Delvare2015-07-071-1/+1
| | | | git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6311 7894878c-1315-0410-8ee3-d5d059ff63e0
* Drop man page references to deprecated eeprom and eepromer.Jean Delvare2015-07-071-3/+0
| | | | git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6308 7894878c-1315-0410-8ee3-d5d059ff63e0
* Mark eepromer and eeprom as deprecated.Jean Delvare2015-07-071-4/+14
| | | | git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6307 7894878c-1315-0410-8ee3-d5d059ff63e0
* Move eeprog to separate subdir and implement Module.mk for it.Jean Delvare2015-07-076-0/+708
Contributed by Matwey V. Kornilov. git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6305 7894878c-1315-0410-8ee3-d5d059ff63e0