Skip to content

Commit

Permalink
fix pybind11 errors and speech crash
Browse files Browse the repository at this point in the history
  • Loading branch information
916BGAI committed Dec 23, 2024
1 parent 3998597 commit 9d203a3
Show file tree
Hide file tree
Showing 6 changed files with 602 additions and 741 deletions.
2 changes: 1 addition & 1 deletion components/ext_dev/include/maix_axp2101.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ namespace maix::ext_dev::axp2101 {
/**
* @brief Get the battery voltage.
* @return uint16_t type, return battery voltage.
* @maixpy maix.ext_dev.axp2101.AXP2101.get_charger_status
* @maixpy maix.ext_dev.axp2101.AXP2101.get_bat_vol
*/
uint16_t get_bat_vol();

Expand Down
3 changes: 3 additions & 0 deletions components/nn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ append_srcs_dir(ADD_SRCS "src")
list(APPEND ADD_REQUIREMENTS basic ini vision clipper2)

if(PLATFORM_MAIXCAM)
append_srcs_dir(ADD_SRCS "port/maixcam")
list(APPEND ADD_REQUIREMENTS maixcam_lib alsa_lib)
list(APPEND ADD_DYNAMIC_LIB "lib/libms_asr_sg2002.so")
list(APPEND ADD_DEFINITIONS -DDR_WAV_IMPLEMENTATION)
else()
append_srcs_dir(ADD_SRCS "port/linux")
endif()

register_component()
Expand Down
Loading

0 comments on commit 9d203a3

Please sign in to comment.