Cargo Features
[dependencies]
bq34z100 = { version = "0.3.0", default-features = false, features = ["write", "flashstream", "std"] }
- default = flashstream
-
The
flashstream
feature is set by default wheneverbq34z100
is added without
somewhere in the dependency tree.default-features = false - write = std
-
requires std due to xemics float conversion, only activate this if you plan to write to the bq34 config registers. Recommend instead using a ev2400 programmer and bqstudio
Affects
bq34z100::Bq34z100g1.read_flash_block
,bq34z100::Bq34z100g1.write_flash_block
,bq34z100::Bq34z100g1.flash_block_checksum
,bq34z100::Bq34z100g1.enter_calibration
,bq34z100::Bq34z100g1.exit_calibration
,bq34z100::Bq34z100g1.update_design_capacity
,bq34z100::Bq34z100g1.update_q_max
,bq34z100::Bq34z100g1.update_design_energy
,bq34z100::Bq34z100g1.update_cell_charge_voltage_range
,bq34z100::Bq34z100g1.update_number_of_series_cells
,bq34z100::Bq34z100g1.update_pack_configuration
,bq34z100::Bq34z100g1.update_charge_termination_parameters
,bq34z100::Bq34z100g1.calibrate_cc_offset
,bq34z100::Bq34z100g1.calibrate_board_offset
,bq34z100::Bq34z100g1.calibrate_voltage_divider
,bq34z100::Bq34z100g1.calibrate_sense_resistor
… - flashstream default = std
-
requires to use vec for now
Affects
bq34z100::Bq34z100g1.write_flash_stream_i2c
… - std flashstream write?