系统启动打印key pressed value
-
新作的板子开机打印这个key pressed value,我再boot中追加了打印,然后执行mboot重新编译,打包下载后,追加的log却没有打印,请问这个是哪里打出来的?有没有办法关掉
[146]HELLO! BOOT0 is starting! [149]boot0 commit : e2f593e6bf6f822b1e4fef278a4016aa2a51c5b6 [166]rsb_send_initseq: rsb clk 400Khz -> 3Mhz [170]PMU: AXP2101 [172]set pll start [175]set pll end [177]key pressed value=0x00000017 [180]key pressed value=0x00000016 [223]key pressed value=0x00000016 [267]key pressed value=0x00000017 [310]key pressed value=0x00000017 [353]key pressed value=0x00000016 [397]key pressed value=0x00000017 [440]key pressed value=0x00000016 [483]key pressed value=0x00000017 [527]key pressed value=0x00000017 [570]key pressed value=0x00000017 [613]key pressed value=0x00000017 [657]key pressed value=0x00000017 [700]key pressed value=0x00000017 [743]key pressed value=0x00000017 [786]key pressed value=0x00000017 [830]key pressed value=0x00000017 [873]key pressed value=0x00000016 [916]key pressed value=0x00000016 [960]key pressed value=0x00000016 [1003]key pressed value=0x00000016 [1046]key pressed value=0x00000017 [1090]key pressed value=0x00000016 [1133]key pressed value=0x00000017 [1177]key pressed value=0x00000017 [1220]key pressed value=0x00000017 [1263]key pressed value=0x00000017 [1307]key pressed value=0x00000016 [1350]key pressed value=0x00000016 [1394]key pressed value=0x00000017
-
@jinxiangwzh 这个是boot0中的代码,这部分代码应该是不开源的吧
-
@jinxiangwzh 有个通过 ADC 检测按键的 ADC,加颗上拉电阻。 不然只能修改 BOOT0
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号