- bsp_pins.h gains BSP_BTN_SHORT_PRESS_MS (180) and BSP_BTN_LONG_PRESS_MS (500);
bsp_button.c passes both to button_config_t instead of { 0 }, so the press
timing no longer depends on the button component's Kconfig defaults.
- User-visible change: LONG now triggers at 500 ms instead of 1500 ms, which is
what the demo's OK-long-press-returns interaction uses. The component's
BUTTON_LONG_PRESS_TIME_MS Kconfig lower bound is also 500 ms, so a shorter long
press can only be passed in code.
- The init log reports both thresholds, and tests/test_bsp_button.c asserts the
values handed to iot_button_create().
- docs/hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.{md,zh_CN.md} document the
explicit timings and why they are pinned.
Verify REG0E bits 6:0 so both 0x7F and 0xFF readbacks pass. Preserve the suspend writes, strict checks on the other registers, I2C error handling, retries, and sleep policies. Add exhaustive host coverage and update bilingual power guidance.
Fixes#58