this is the SDK based on openpinebuds project made to work with soundcore headphones based on bes2300p SoC.
this is a part of my project - openqore
first of all, please read my flashing guide and make a backup!
after reading (backuping) the flash, put the flash dump image in the "tools" folder and rename it to "firmware.bin"
./start_dev.sh # this will cause docker to start your working environment; this should take roughly 1-3 minutes depending on your network speed to the GCC hosting server
# now you will be inside of the container, and your prompt will look akin to "root@ec5410d0a265:/usr/src#"
./build.sh # this will run make and build the output program. if you have weird build errors try running clean.sh or rm -rf'ing the out folder first
# now that the firmware has finished building; if there are no errors you can load it to your headphones
# assuming that your serial port is 0, run the following to commands to program the headphones.
bestool write-image out/openqore_alpha/openqore_alpha.bin --port /dev/ttyACM0- buttons
- leds, and a software PWM driver has been implemented for them
- BT
- sound, but the DAC is configured incorrectly for now
- ANC and transparency
- touch panel
- ADC for ANC mics
The default audio alerts are stored in:
config/_default_cfg_src_/res/en/
if you want to change the alert to a custom sound, just replace the sound file you'd like to change
(ie config/_default_cfg_src_/res/en/SOUND_POWER_ON.opus) with your own audio file with the same base
name (ie config/_default_cfg_src_/res/en/SOUND_POWER_ON.mp3) and recompile with ./build.sh!
the AUDIO environment variable can be set when running the build.sh script to load sound files
for languages other than the default English. for example, running AUDIO=cn ./build.sh will load sounds files from
config/_default_cfg_src_/res/cn/ instead of the default en/ folder.
the current languages supported with sound files are English (en) and Chinese (cn). other languages
(or other sets of custom sounds) may be added by adding all the correct sound files into a
config/_default_cfg_src_/res/<custom_sounds>/ directory and building with AUDIO=<custom_sounds> ./build.sh.
the firmware can be configured to either have a blinking blue light when connected or not.
build with CONNECTED_BLUE_LIGHT=1 ./build.sh to enable blinking when connected,
or CONNECTED_BLUE_LIGHT=0 ./build.sh (or just the default ./build.sh) to keep the leds off when connected.
NOTE: currently, the SDK is not licensed under an 'open source' license. this project is a fork of openpinebuds and all original rights to the base SDK belong to Bestechnic and pine64.