cheali-charger icon indicating copy to clipboard operation
cheali-charger copied to clipboard

changeable battery names

Open stawel opened this issue 9 years ago • 4 comments

stawel avatar Jan 27 '16 20:01 stawel

@stawel do you have any ETA for this? Is that's what Text=- is supposed to display in battery status?

hryamzik avatar Feb 10 '19 21:02 hryamzik

AFAIK this feature is not possible on ATmega32 chargers due to not enough EEPROM space. Text is reading of external temperature if you connect sensor.

diggit avatar Feb 10 '19 21:02 diggit

There is only a couple dozen bytes left in eeprom. The easy way of doing this is by reducing MAX_PROGRAMS down from the current default, 20. E.g. MAX_PROGRAMS 10 frees up 400 bytes and would require 10*15 = 150 bytes for ascii description strings.

specing avatar Feb 11 '19 18:02 specing

Hi @stawel I have used this feature on my M0517LBN based charger for a while, and now flashed a newer build an realized that this feature is no longer present. I saw you have removed this feature in 75176b0 .

Would you accept a PR which would selectively enable this feature if building for a charger with bigger EEPROM/dataflash?

martonmiklos avatar Aug 14 '19 08:08 martonmiklos