This repository contains the open-source power management module for the power adapter developed by ifanr / CANDYSIGN.
请参阅 LICENSE 文件以了解更多详细信息。
我们欢迎非商业用途和小批量(单一型号总生产量小于等于一百台)使用。然而,对于大批量或盈利生产,需要获得商业许可。
请注意,虽然这是一个开源软件项目,但这并不意味着我们放弃了对该项目的版权。
Please refer to the LICENSE file for more details.
We welcome non-commercial use and small batch runs. However, for larger batch or for-profit productions, a commercial license is required.
Please note that although this is an open-source software project, it does not mean we are relinquishing copyright to it.
The project is still in its early stages. We are currently sorting out copyright issues with our legal team to ensure we can legally acquire a perpetual, non-exclusive license for contributions while remaining in compliance with the relevant legal framework.
As a result, we are unable to accept external contributions at this time. Stay tuned for updates! Once the issues are resolved, you will be required to sign a Contributor License Agreement (CLA) to authorize us to use your copyrighted work non-exclusively.
The proprietary implementation of power allocation is a patented feature and is not included in the open-source scope of this repository.
To get started, you need to install the ESP-IDF
Install the required dependencies:
$ brew install cmake ninja dfu-util
# Install Python 3 if it's not already installed
$ brew install python3
Clone the ESP-IDF repository and set it up:
$ mkdir -p ~/esp
$ cd ~/esp
$ git clone --recursive https://github.com/espressif/esp-idf.git
$ cd esp-idf
$ git checkout v5.4
Update the ESP-IDF submodules:
$ cd ~/esp/esp-idf
$ git submodule update --init --recursive
Run the installation script to install the ESP-IDF tools:
$ ./install.sh all
Set up the required environment variables:
$ . $HOME/esp/esp-idf/export.sh
Alternatively, you can add the following alias to your shell profile for convenience:
alias get_idf='. $HOME/esp/esp-idf/export.sh'
Navigate to the project root directory and set the ESP32 target:
$ idf.py set-target esp32c3
Copy sdkconfig.develop or sdkconfig.fake to sdkconfig:
$ cp sdkconfig.develop sdkconfig
Build the project using the following command:
$ idf.py build
HummingBoard is a fully functional development board for the power adapter in this project, designed specifically for development and testing.
- Comprehensive Features: Provides a complete development environment for power conversion.
- Schematic Support: You can find detailed schematics and related documentation in HummingBoard.