Skip to content

Releases: Llgok/cpp_bus_driver

cpp_bus_driver-v2.1.0

Choose a tag to compare

@Llgok Llgok released this 21 May 06:15

What's Changed:

  • Refactor I2C and SPI initialization workflow, add shared bus initialization support and async init state checks
  • Refactor bus and chip guide base classes, improve lifecycle management and Deinit cleanup
  • Rename and refactor the BQ27220 fuel gauge driver from bq27220xxxx to bq27220
  • Add more BQ27220 fuel gauge APIs, including security mode, data memory, config update, calibration, battery profile and status parsing
  • Refactor the SX126x driver with more complete LoRa/GFSK configuration, send/receive status workflow, IRQ handling, CAD, RX duty cycle, RSSI, stats and sleep wakeup support
  • Add AW862xx RAM waveform support and F0-based RAM waveform auto-selection
  • Improve L76K GNSS driver settings and add PCAS/CASIC command helpers
  • Improve GNSS parsing support for RMC, GGA, GSV, GSA, VTG, GLL, TXT and ZDA messages
  • Improve AXP517 and SY6970 power-management/charger driver APIs and status parsing
  • Improve LogMessage output format and add error output support
  • Convert default macro definitions to constexpr constants
  • Remove default values from virtual functions and improve API consistency
  • Add ResetGpio cleanup to bus and chip Deinit functions
  • Fix #if/#elif defined macro syntax issues
  • Modify the parameter order of the screen color writing function
  • Add failure return validation for SetGpioMode, GpioWrite and ResetGpio functions
  • Fixed some bugs

Compatibility Notes:

  • v2.1.0 includes some API changes based on v2.0.0 and may require project migration
  • Projects using BQ27220 should update include paths and class/API names from bq27220xxxx to bq27220
  • Projects using GNSS parsing should update from Gnss to GnssParser where needed
  • Projects using SX126x LoRa/GFSK APIs may need to update configuration and send/receive code
  • Projects using bus/chip Init and Deinit APIs should check explicit parameters and GPIO release behavior

Full Changelog: v2.0.0...v2.1.0

cpp_bus_driver-v2.0.0

Choose a tag to compare

@Llgok Llgok released this 06 May 03:08

What's Changed:

  • Modify the minimum ESP-IDF adaptation version of cpp_bus_driver to v5.5.3
  • Rename the public API and directory naming to Google C++ style
  • Rename IIC/IIS naming to I2C/I2S
  • Rename Pin APIs to Gpio APIs
  • Add log level configuration
  • Add bus Deinit functions
  • Add chip Deinit functions
  • Improve hardware_i2s and hardware_mipi initialization checks
  • Fix the bug of bq27220xxxx
  • Fixed some bugs

Compatibility Notes:

  • v2 includes many breaking changes and should be treated as a new major version
  • Future updates will no longer add any new content to the v1 version
  • Projects using v1 may need to update API names, include paths, and bus/chip initialization code before migrating to v2

Full Changelog: v1.2.0...v2.0.0

cpp_bus_driver-v1.2.0

Choose a tag to compare

@Llgok Llgok released this 14 Apr 03:34

What's Changed:

  • Modify the minimum ESP-IDF adaptation version of cpp_bus_driver to v5.5.3
  • Add log level configuration
  • CPP_BUS_DRIVER_DEVELOPMENT_FRAMEWORK_ESPIDF adds IIS clock reconfiguration functions set_clock_reconfig and set_channel_enable
  • Fixed some bugs

Full Changelog: v1.1.1...v1.2.0

cpp_bus_driver-v1.1.1

Choose a tag to compare

@Llgok Llgok released this 28 Mar 09:59

What's Changed:

  • Add mipi bus chip driver
  • Add more modifiable items to the hardware_iis in CPP_BUS_DRIVER_DEVELOPMENT_FRAMEWORK_ESPIDF: _iis_mode, _clock_source, _slot_mode_in, _slot_mode_out
  • In CPP_BUS_DRIVER_DEVELOPMENT_FRAMEWORK_ARDUINO_NRF, modify the configuration location of _channel to be configured within the hardware_iis
  • In CPP_BUS_DRIVER_DEVELOPMENT_FRAMEWORK_ESPIDF, add a configuration method for _clock_source in hardware_qspi and hardware_spi
  • In CPP_BUS_DRIVER_DEVELOPMENT_FRAMEWORK_ESPIDF, add _rts and _cts configuration methods to hardware_uart
  • Add axp517, icn6211, hi8561, s023msafjf10111e1, sy6970, rm69a10, ecx336c chip driver
  • Fix the configuration error of the _param.gfsk.sync_word.length and _param.gfsk.payload_length parameters in the sx126x set_gfsk_packet_params function
  • In tool, modify the location where the ledc_timer_t timer_num is configured in the create_pwm function, and add safe_stoi and safe_stof to make the parsing functions in Gnss safer and prevent memory overflow
  • Fixed some bugs

Full Changelog: v1.1.0...v1.1.1

cpp_bus_driver-v1.1.0

Choose a tag to compare

@Llgok Llgok released this 07 Oct 07:55

What's Changed:

  • Add the NRF52840 chip adaptation for the arduino framework
  • Add software_iic bus
  • Add sgm41562xx, tca8418, gz030pcc0x, aw21009xxx chip
  • Fixed some bugs

Full Changelog: v1.0.1...v1.1.0

cpp_bus_driver-v1.0.1

Choose a tag to compare

@Llgok Llgok released this 16 Jul 05:40

fixed some bugs

Full Changelog: v1.0.0...v1.0.1

cpp_bus_driver-v1.0.0

Choose a tag to compare

@Llgok Llgok released this 12 Jun 08:15
update version