Commit 1448fd8
committed
docs: library and reference audit (pyb, vfs, senml, bluetooth, ROMFS, ...)
Comprehensive audit and rewrite of library and reference docs for
OpenMV-accuracy and stub-generator friendliness.
Library:
- pyb.*: deprecation warning on the module; per-board pin/bus tables for
UART/I2C/SPI/CAN/DAC reduced to a single shared mapping where the
header pins are the same across STM32 OpenMV cams; per-board LED and
Servo channel tables; MCU-agnostic prose for clock domains, timer
ranges and STM32-specific values; assorted typo/grammar fixes.
- bluetooth: NimBLE-only API; address-mode / I/O-cap / GATTS-error /
passkey-action / ADV-type tables; event-code reference table with
payload tuples replacing the long elif example; flag-value table for
gatts_register_services; cleaner register_services example.
- aioble: drop installation/sub-package noise.
- vfs: remove VfsLfs1/VfsLfs2 (not exposed on OpenMV); add VfsRom and
rom_ioctl from upstream PR 19127; VfsPosix marked Unix-port-only;
AbstractBlockDev "Simple form / Extended form" rewrite, drops littlefs
name from prose.
- cryptolib: AES-128/256 only, ECB/CBC only, document the lengths and
block-size constraint.
- deflate: per-board availability table; per-constant docs for
AUTO/RAW/ZLIB/GZIP with RFC links.
- framebuf: rewrite; image.Image cross-ref note; fill_rect and
FrameBuffer1 documented; ellipse quadrant bits + format table with
bytes-per-pixel.
- micropython: split heap_lock/heap_unlock/heap_locked into separate
function entries; RingIO description tightened.
- senml: per-attribute :type: str docs for all 57 SENML_UNIT_* names so
the stub gen emits real typed attributes (autocomplete works); drop
installation prose; readable example.
- omv.requests: HTTP-verb docs (HEAD/GET/POST/PUT/PATCH/DELETE) describe
semantics, idempotence, and the kwargs that make sense per verb.
- omv.bno055: AXIS_P0..AXIS_P7 expanded -- summary table of register
bytes + output axes + mounting, plus per-constant remap descriptions.
- omv.gif / omv.mjpeg: time-based recording examples (4 s / 20 s) using
time.ticks_ms() / time.ticks_diff(); one-import-per-line.
- uctypes: per-constant docs for UINT*/INT*/FLOATn/VOID/PTR/ARRAY,
expanded :mod:`struct` see-also block.
- machine.Signal: replace invalid 'pin_arguments...' signature with
*args/**kwargs form so the stub is valid Python.
- openamp: STM32H7 caveat consolidated into one warning before the
RemoteProc class.
Reference:
- New romfs.rst page from upstream PR 19127, retargeted to OpenMV
boards with a per-camera availability table.
- index.rst: add romfs.rst to the toctree.1 parent 7b9e177 commit 1448fd8
44 files changed
Lines changed: 2828 additions & 1160 deletions
File tree
- docs
- library
- reference
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
55 | 117 | | |
56 | 118 | | |
57 | 119 | | |
| |||
0 commit comments