mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
JS: Add extra SDK feature strings
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* I2C bus communication
|
||||
* @version Available with JS feature `i2c`
|
||||
* @module
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Check if there is an I2C device ready on the bus
|
||||
* @param address The device address to check
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* SPI bus communication
|
||||
* @version Available with JS feature `spi`
|
||||
* @module
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Acquire SPI bus
|
||||
*/
|
||||
|
||||
@@ -298,15 +298,18 @@ export declare function isSubpathOf(parentPath: string, childPath: string): bool
|
||||
* Initialize virtual mount api with disk image at given path.
|
||||
* Errors on failure.
|
||||
* @param parentPath Path to disk image file
|
||||
* @version Available with JS feature `storage-virtual`
|
||||
*/
|
||||
export declare function virtualInit(path: string): void;
|
||||
/**
|
||||
* Mount selected disk image at /mnt path.
|
||||
* Errors on failure.
|
||||
* @version Available with JS feature `storage-virtual`
|
||||
*/
|
||||
export declare function virtualMount(): void;
|
||||
/**
|
||||
* Deinitialize virtual mount api.
|
||||
* Errors on failure.
|
||||
* @version Available with JS feature `storage-virtual`
|
||||
*/
|
||||
export declare function virtualQuit(): void;
|
||||
|
||||
Reference in New Issue
Block a user