File tree Expand file tree Collapse file tree
tools/generate_native_sdk Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111//! @see ModdableCreationRecord
1212#define kModdableCreationFlagLogInstrumentation (1 << 0)
1313
14+ //! Flag to enable XS debugging using xsbug.
15+ //! Should be used in combination with pebble build --debug
16+ //! @see ModdableCreationRecord
17+ #define kModdableCreationFlagDebug (1 << 1)
18+
1419//! Configuration record for creating a Moddable XS virtual machine.
1520//! Used with moddable_createMachine() to customize the JS runtime.
1621//! Set recordSize to sizeof(ModdableCreationRecord) for version compatibility.
Original file line number Diff line number Diff line change @@ -165,9 +165,10 @@ typedef enum {
165165// sdk.major:0x5 .minor:0x61 -- Add speaker_is_muted() for system-wide speaker mute query (rev 100)
166166// sdk.major:0x5 .minor:0x62 -- Add backlight_service_subscribe/unsubscribe for backlight on/off events (rev 101)
167167// sdk.major:0x5 .minor:0x63 -- Export launch_button() (rev 102)
168+ // sdk.major:0x5 .minor:0x64 -- Add kModdableCreationFlagDebug (rev 103)
168169
169170#define PROCESS_INFO_CURRENT_SDK_VERSION_MAJOR 0x5
170- #define PROCESS_INFO_CURRENT_SDK_VERSION_MINOR 0x63
171+ #define PROCESS_INFO_CURRENT_SDK_VERSION_MINOR 0x64
171172
172173// The first SDK to ship with 2.x APIs
173174#define PROCESS_INFO_FIRST_2X_SDK_VERSION_MAJOR 0x4
Original file line number Diff line number Diff line change 44 " You should also make sure you are obeying our API design guidelines:" ,
55 " https://pebbletechnology.atlassian.net/wiki/display/DEV/SDK+API+Design+Guidelines"
66 ],
7- "revision" : " 102 " ,
7+ "revision" : " 103 " ,
88 "version" : " 2.0" ,
99 "files" : [
1010 " fw/drivers/ambient_light.h" ,
15671567 "type" : " define" ,
15681568 "name" : " kModdableCreationFlagLogInstrumentation" ,
15691569 "addedRevision" : " 92"
1570+ }, {
1571+ "type" : " define" ,
1572+ "name" : " kModdableCreationFlagDebug" ,
1573+ "addedRevision" : " 103"
15701574 }, {
15711575 "type" : " type" ,
15721576 "name" : " ModdableCreationRecord" ,
You can’t perform that action at this time.
0 commit comments