Coding Standards

  • Board differences are declared via mpconfigboard.h, mpconfigboard.cmake, sdkconfig.board, partitions-*.csv, and manifest.py under esp32s3/firmware/boards/<board>/, rather than by modifying the core firmware code.

  • C-layer capabilities are registered into the MicroPython VM as builtins (machine_*/mod*.c); Python-layer wrappers are placed in modules/ or file_system/ and imported at runtime.

  • Documentation is organized into Sphinx directories such as 1_hardware/2_software/3_examples (tutorials) and 5_api/library/5_api/reference (API reference); new features require synchronized updates to the corresponding .rst files.

  • ESP32-S3 boards follow five naming conventions – mpython_v3/labplus_for_xuejing/labplus_Ledong_v2/labplus_xunfei_js_middle/labplus_xunfei_js_primary – and are maintained independently under esp32s3/firmware/boards/.