Skip to content

firmware: Add missing daplink_bridge and bme280 to board manifest. #347

@nedseb

Description

@nedseb

Problem

The board manifest in micropython-steami (ports/stm32/boards/STEAM32_WB55RG/manifest.py) is missing two drivers:

1. `daplink_bridge` — runtime dependency of frozen modules

`daplink_flash` and `steami_config` are both frozen and both require a `DaplinkBridge` instance. Without `daplink_bridge` in the firmware, user code fails with `ImportError` on:

```python
from daplink_bridge import DaplinkBridge
```

This is an oversight — the dependency should be frozen alongside its consumers.

2. `bme280` — new driver completed

The BME280 driver is feature-complete (PRs #308-#324). It should be added to the manifest for boards that have the sensor (Rev B+).

Proposed fix

Add to the manifest in `micropython-steami`:

```python
require("daplink_bridge", library="micropython-steami-lib")
require("bme280", library="micropython-steami-lib")
```

`daplink_bridge` should be listed before `daplink_flash` since it is a runtime dependency.

Current frozen drivers (12/16)

```
mcp23009e, ssd1327, apds9960, bq27441, hts221, vl53l1x,
lis2mdl, wsen-hids, wsen-pads, ism330dl, daplink_flash, steami_config
```

Missing: `daplink_bridge`, `bme280`
Not yet implemented: `gc9a01`, `im34dt05`

Repository

The manifest to modify is in steamicc/micropython-steami (issues disabled on that repo, tracked here).

Metadata

Metadata

Assignees

Labels

firmwareConcerne le firmware DAPLink (F103)released

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions