Skip to content

Commit 79888ac

Browse files
committed
Fix lint, ESP BLE and renode fetch deps
1 parent b63d422 commit 79888ac

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

ports/espressif/common-hal/_bleio/Adapter.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include "supervisor/shared/bluetooth/bluetooth.h"
3838
#include "supervisor/shared/safe_mode.h"
3939
#include "supervisor/shared/tick.h"
40-
#include "supervisor/usb.h"
4140
#include "shared-bindings/_bleio/__init__.h"
4241
#include "shared-bindings/_bleio/Adapter.h"
4342
#include "shared-bindings/_bleio/Address.h"
@@ -59,6 +58,10 @@
5958
#include "esp_bt.h"
6059
#include "esp_nimble_hci.h"
6160

61+
#if CIRCUITPY_USB
62+
#include "supervisor/usb.h"
63+
#endif
64+
6265
#if CIRCUITPY_OS_GETENV
6366
#include "shared-module/os/__init__.h"
6467
#endif

shared-bindings/storage/__init__.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,30 +275,38 @@ STATIC const mp_rom_map_elem_t storage_module_globals_table[] = {
275275
//| larger filesystems, but you will need to format the filesystem on another device.
276276
//| """
277277
//| ...
278+
//|
278279
//| def open(self, path: str, mode: str) -> None:
279280
//| """Like builtin ``open()``"""
280281
//| ...
282+
//|
281283
//| def ilistdir(
282284
//| self, path: str
283285
//| ) -> Iterator[Union[Tuple[AnyStr, int, int, int], Tuple[AnyStr, int, int]]]:
284286
//| """Return an iterator whose values describe files and folders within
285287
//| ``path``"""
286288
//| ...
289+
//|
287290
//| def mkdir(self, path: str) -> None:
288291
//| """Like `os.mkdir`"""
289292
//| ...
293+
//|
290294
//| def rmdir(self, path: str) -> None:
291295
//| """Like `os.rmdir`"""
292296
//| ...
297+
//|
293298
//| def stat(self, path: str) -> Tuple[int, int, int, int, int, int, int, int, int, int]:
294299
//| """Like `os.stat`"""
295300
//| ...
301+
//|
296302
//| def statvfs(self, path: int) -> Tuple[int, int, int, int, int, int, int, int, int, int]:
297303
//| """Like `os.statvfs`"""
298304
//| ...
305+
//|
299306
//| def mount(self, readonly: bool, mkfs: VfsFat) -> None:
300307
//| """Don't call this directly, call `storage.mount`."""
301308
//| ...
309+
//|
302310
//| def umount(self) -> None:
303311
//| """Don't call this directly, call `storage.umount`."""
304312
//| ...

tools/ci_fetch_deps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def matching_submodules(s):
8888
"lib/tlsf",
8989
"data/nvm.toml/",
9090
],
91+
"renode": ["lib/tlsf"],
9192
"silabs": ["extmod/ulab/", "data/nvm.toml/", "lib/tlsf"],
9293
"stm": [
9394
"extmod/ulab/",

0 commit comments

Comments
 (0)