Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
e6d9c85
platform: initial support for obelix
gmarull May 13, 2025
43a1a64
waftools/openocd: hacks to work with SF32LB52
gmarull May 13, 2025
195dd81
waftools/pebble_arm_gcc: add support for SF32LB52
gmarull May 13, 2025
1754254
resources: add stub resources for obelix
gmarull May 13, 2025
6b908f8
third_party/hal_sifli: add initial integration
gmarull May 13, 2025
1e6fea0
third_party/freertos: allow building for SF32LB52
gmarull May 13, 2025
914a1e8
wscript: add initial support for obelix
gmarull May 13, 2025
2cf949e
bluetooth-fw: build stub for obelix/sf32lb52
gmarull May 13, 2025
b1c7051
fw/applib/platform: use diorite for obelix
gmarull May 13, 2025
94f2188
fw/board: initial support for SF32LB52
gmarull May 13, 2025
ce86205
fw/board: initial obelix definitions
gmarull May 13, 2025
25eb0d2
fw/board: define stub obelix display
gmarull May 13, 2025
47207a4
fw/startup: add startup code for sf32lb52
gmarull May 13, 2025
dd5c021
fw/flash_region: define obelix flash layout
gmarull May 13, 2025
5db8b5a
fw/mcu: include sf32lb52 HAL
gmarull May 13, 2025
c4222d1
fw/main: allow building for sf32lb52
gmarull May 13, 2025
209a5ec
fw/vector_table: add sf32lb52 vector table
gmarull May 13, 2025
c60e8c2
fw/services/bluetooth: select v2 persistent format for sf32lb52
gmarull May 13, 2025
62e082b
fw/services/ecompass: allow to compile on sf32lb52
gmarull May 13, 2025
c6d52a3
fw/freertos_application: allow compiling for sf32lb52
gmarull May 13, 2025
26aeda0
fw: add sf32lb52 linker template file
gmarull May 13, 2025
5826cc3
fw/applib: add obelix/CT2 model and colors
gmarull May 30, 2025
0dcd1a3
fw/mfg: add support for obelix
gmarull May 13, 2025
aa3dae9
fw/debug/flash_logging: add support for obelix
gmarull May 13, 2025
f8ba503
fw/debug: add sf32lb52 stubs for enable/disable debug
gmarull May 13, 2025
43f11f5
fw: platform-specific ifdeffery to allow compile
gmarull May 13, 2025
5e4f305
fw/kernel/delay: add support for sf32lb52
gmarull May 13, 2025
23e94eb
fw/util/stop: add stub for sf32lb52
gmarull May 13, 2025
0d064c8
fw/system/bootbits: add sf32lb52 stub
gmarull May 13, 2025
cebb898
fw/drivers/sf32lb52: add stubs
gmarull May 13, 2025
33f91d1
fw/drivers/sf32lb52: add UART driver
gmarull May 13, 2025
1a3197d
fw/boards/obelix: add debug UART
gmarull Jun 4, 2025
530807b
fw/drivers/sf32lb52: add RTC driver
gmarull May 13, 2025
cbb069a
fw/drivers/flash: add PY25Q128HA
gmarull Jun 2, 2025
01fccf5
fw/drivers/flash|qspi: add missing includes
gmarull Jun 4, 2025
af9dc6a
fw/drivers/sf32lb52: add QSPI flash driver
gmarull May 13, 2025
7a93f42
fw/board/obelix: add QSPI flash
gmarull Jun 2, 2025
7a40bb9
fw/drivers/otp: add support for obelix
gmarull May 13, 2025
d60f3ad
fw/drivers/task_watchdog: add stubs for sf32lb52
gmarull May 13, 2025
0ba322d
fw/system/profiler: add support for sf32lb52
gmarull May 13, 2025
5cd9400
fw/system/reboot_reason: add stubs for sf32lb52
gmarull May 13, 2025
366c7d3
fw/system/rtc_registers: add sf32lb52 definitions
gmarull May 13, 2025
11bd972
fw: add sf32lb52/obelix ROM/RAM sizes
gmarull May 13, 2025
10f1673
fw/services/battery: add stub battery curbe for obelix
gmarull May 13, 2025
c12b6f8
fw/kernel/util/standby: allow building for sf32lb52
gmarull May 13, 2025
5985a6a
fw/drivers: add SF32LB52_COMPATIBLE on mcu.h includes
gmarull May 13, 2025
531cda6
fw/services: skip compositor modal transitions on obelix
gmarull May 13, 2025
ae21d3d
fw/services/prf/accessory: allow building for obelix
gmarull May 14, 2025
5e27a78
fw/services/accel_manager: allow building for obelix
gmarull May 14, 2025
895f10b
fw: run board_early_init at very early stage
gmarull Jun 3, 2025
9f24433
fw: add ARMv8 MPU partial support
gmarull Jun 6, 2025
47900e8
ci: enable obelix on fw/prf
gmarull May 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

strategy:
matrix:
board: ["snowy_bb2", "spalding_bb2", "silk_bb2", "asterix"]
board: ["snowy_bb2", "spalding_bb2", "silk_bb2", "asterix", "obelix"]

steps:
- name: Mark Github workspace as safe
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-prf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

strategy:
matrix:
board: ["asterix"]
board: ["asterix", "obelix"]
mode: ["normal", "mfg"]

steps:
Expand Down
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
url = https://github.com/NordicSemiconductor/nrfx
[submodule "third_party/freertos/FreeRTOS-Kernel"]
path = third_party/freertos/FreeRTOS-Kernel
url = https://github.com/pebble-dev/FreeRTOS-Kernel
url = https://github.com/coredevices/FreeRTOS-Kernel
[submodule "third_party/nanopb/nanopb"]
path = third_party/nanopb/nanopb
url = https://github.com/nanopb/nanopb
Expand All @@ -25,3 +25,6 @@
[submodule "third_party/pebble-nonfree"]
path = third_party/pebble-nonfree
url = https://github.com/pebble-dev/pebble-nonfree.git
[submodule "third_party/hal_sifli/SiFli-SDK"]
path = third_party/hal_sifli/SiFli-SDK
url = https://github.com/coredevices/SiFli-SDK.git
18 changes: 18 additions & 0 deletions platform/platform_capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,24 @@
'HAS_FLASH_OTP',
},
},
{
'boards': [ 'obelix' ],
'capabilities':
{
'HAS_APP_GLANCES',
'HAS_CORE_NAVIGATION4',
'HAS_HEALTH_TRACKING',
'HAS_JAVASCRIPT',
'HAS_LAUNCHER4',
'HAS_SDK_SHELL4',
'HAS_SPRF_V3',
'HAS_TEMPERATURE',
'HAS_TIMELINE_PEEK',
'HAS_VIBE_SCORES',
'HAS_WEATHER',
'HAS_PUTBYTES_PREACKING',
},
},
]

# Run through again and make sure all sets include only valid keys defined in
Expand Down
15 changes: 15 additions & 0 deletions platform/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ def is_robert(ctx):
def is_asterix(ctx):
return ctx.get_board().startswith('asterix')

@conf
def is_obelix(ctx):
return ctx.get_board().startswith('obelix')

@conf
def get_platform_name(ctx):
if is_tintin(ctx):
Expand All @@ -59,6 +63,8 @@ def get_platform_name(ctx):
return "robert"
elif is_asterix(ctx):
return "asterix"
elif is_obelix(ctx):
return "obelix"
else:
return "unknown"

Expand Down Expand Up @@ -105,6 +111,8 @@ def get_qemu_cpu(ctx):
return 'cortex-m4'
elif is_asterix(ctx):
return 'cortex-m4'
elif is_obelix(ctx):
return 'cortex-star-mc1'
else:
return 'unknown'

Expand Down Expand Up @@ -143,6 +151,9 @@ def has_touch(ctx):
return False
elif is_asterix(ctx):
return False
elif is_obelix(ctx):
# FIXME(OBELIX): needs to be updated
return False
else:
return None

Expand Down Expand Up @@ -194,6 +205,10 @@ def add_platform_defines(ctx, env):
elif ctx.is_asterix():
bit_depth = 1
platform = 'ASTERIX'
elif ctx.is_obelix():
# FIXME(OBELIX): needs to be updated
bit_depth = 1
platform = 'OBELIX'
else:
ctx.fatal('No platform specified for {}!'.format(ctx.options.board))

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions resources/normal/obelix/images/ble_hrm_shared.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions resources/normal/obelix/images/health_app_crown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/normal/obelix/images/health_app_hr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/normal/obelix/images/health_app_sleep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading