m5stack / M5StickC-Plus

M5StickCPlus Arduino Library
MIT License
359 stars 90 forks source link

Cant Change CPU speed #39

Closed Trickypos closed 1 year ago

Trickypos commented 2 years ago

Describe the bug

Micropython get an error when using machine.freq() to change CPU speed

To reproduce

machine.freq(160000000)

Expected behavior

No Error and cpu speed to change

Screenshots

No response

Environment

Additional context

No response

Issue checklist

imliubo commented 2 years ago

Hi @Trickypos , Sorry for this, after some investigation I found the reason, the "Power Management" was disable in UIFlow FW, but I don't know why, i will do some test. Maybe it will available on nexet verison.

# Power Management
CONFIG_PM_ENABLE=n