Skip to content

Commit cd6bb22

Browse files
committed
platform: re-enable HAS_BUILTIN_HRM capability
Signed-off-by: Joshua Jun <[email protected]>
1 parent ab780f5 commit cd6bb22

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@
2222
[submodule "third_party/tinymt/TinyMT"]
2323
path = third_party/tinymt/TinyMT
2424
url = https://github.com/MersenneTwister-Lab/TinyMT
25+
[submodule "resources/pebble-nonfree"]
26+
path = resources/pebble-nonfree
27+
url = https://github.com/pebble-dev/pebble-nonfree

platform/platform_capabilities.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
{
185185
'HAS_ACCESSORY_CONNECTOR',
186186
'HAS_APP_GLANCES',
187-
# 'HAS_BUILTIN_HRM', -- TODO: disabled because driver was removed
187+
'HAS_BUILTIN_HRM',
188188
'HAS_CORE_NAVIGATION4',
189189
'HAS_HEALTH_TRACKING',
190190
'HAS_JAVASCRIPT',
@@ -209,7 +209,7 @@
209209
'COMPOSITOR_USES_DMA',
210210
'HAS_ACCESSORY_CONNECTOR',
211211
'HAS_APP_GLANCES',
212-
# 'HAS_BUILTIN_HRM', -- TODO: disabled because driver was removed
212+
'HAS_BUILTIN_HRM',
213213
'HAS_CORE_NAVIGATION4',
214214
'HAS_GLYPH_BITMAP_CACHING',
215215
'HAS_HEALTH_TRACKING',

resources/normal/silk/resource_map.json

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
"Ensure that if this is moved to resources, images are allocated up front when",
1111
"a dictation session is started"]
1212
},
13+
{
14+
"type": "raw",
15+
"name": "AS7000_FW_IMAGE",
16+
"file": "pebble-nonfree/drivers/hrm/as7000/as7000_fw_image.bin",
17+
"builtin": true
18+
},
1319
{
1420
"type": "raw",
1521
"name": "NO_EVENTS_LARGE",

resources/pebble-nonfree

Submodule pebble-nonfree added at 1727fab

0 commit comments

Comments
 (0)