-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove RebbleOS.h
- Loading branch information
Showing
70 changed files
with
162 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,7 @@ | |
* | ||
* Author: Barry Carter <[email protected]>. | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "display.h" | ||
#include "menu.h" | ||
|
||
static list_head _res_list_head = LIST_HEAD(_res_list_head); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,7 @@ | |
* Author: Carson Katri <[email protected]> | ||
* Barry Carter <[email protected]> | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "display.h" | ||
#include "notification.h" | ||
#include "single_notification_layer.h" | ||
#include "librebble.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
* Author: Carson Katri <[email protected]>. | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "librebble.h" | ||
#include "display.h" | ||
#include "backlight.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
* Author: Joshua Wise <[email protected]> | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "menu.h" | ||
#include "status_bar_layer.h" | ||
#include "action_bar_layer.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
* Author: Joshua Wise <[email protected]> | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "menu.h" | ||
#include "status_bar_layer.h" | ||
#include "action_bar_layer.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,7 @@ | |
* | ||
* Author: Barry Carter <[email protected]> | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "display.h" | ||
#include "systemapp.h" | ||
#include "menu.h" | ||
#include "status_bar_layer.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,15 @@ | |
* | ||
* Author: Barry Carter <[email protected]> | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "display.h" | ||
#include "menu.h" | ||
#include "status_bar_layer.h" | ||
#include "test_defs.h" | ||
#include "platform_res.h" | ||
|
||
static Window *s_main_window; | ||
static Menu *s_menu; | ||
StatusBarLayer *status_bar; | ||
static StatusBarLayer *status_bar; | ||
|
||
static void testapp_exec_window_unload(Window *window); | ||
static void _reset_menu_items(void); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* | ||
* Author: Author: Chris Multhaupt <[email protected]>. | ||
*/ | ||
#include "rebbleos.h" | ||
#include "display.h" | ||
#include "systemapp.h" | ||
#include "menu.h" | ||
#include "status_bar_layer.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,7 @@ | |
* | ||
* Author: Barry Carter <[email protected]>. | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "display.h" | ||
#include "systemapp.h" | ||
#include "menu.h" | ||
#include "status_bar_layer.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,7 @@ | |
* | ||
* Author: Author: Elliot Hawkins <[email protected]>. | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "display.h" | ||
#include "systemapp.h" | ||
#include "menu.h" | ||
#include "status_bar_layer.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,7 @@ | |
* | ||
* Author: Carson Katri <[email protected]> | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "display.h" | ||
#include "test.h" | ||
#include "librebble.h" | ||
#include "bitmap_layer.h" | ||
|
@@ -18,7 +17,7 @@ const char * const test_name = "Test"; | |
static Window *s_main_window; | ||
|
||
ActionBarLayer *action_bar; | ||
StatusBarLayer *status_bar; | ||
static StatusBarLayer *status_bar; | ||
|
||
typedef struct { | ||
uint8_t hours; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
*/ | ||
|
||
#include "debug.h" | ||
#include "rebbleos.h" | ||
|
||
struct { | ||
uint32_t r4, r5, r6, r7, r8, r9, r10, r11, r13; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#include "rebbleos.h" | ||
#include "rbl_bluetooth.h" | ||
#include "init.h" | ||
|
||
/* | ||
* NOT IMPLEMENTED | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,11 @@ | |
* | ||
* Author: Barry Carter <[email protected]>. | ||
*/ | ||
|
||
#include "rebble_memory.h" | ||
#include <stdlib.h> | ||
#include "appmanager_thread.h" | ||
#include "display.h" | ||
#include "librebble.h" | ||
#include "appmanager.h" | ||
|
||
#include "systemapp.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,10 @@ | |
* | ||
* Author: Barry Carter <[email protected]> | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "FreeRTOS.h" | ||
#include "display.h" | ||
#include "platform.h" | ||
#include "semphr.h" | ||
#include "flash.h" | ||
#include "fs.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,4 @@ | |
* | ||
* Author: Barry Carter <[email protected]> | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "display.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#pragma once | ||
/* init.h | ||
* routines for [...] | ||
* RebbleOS | ||
*/ | ||
//Let's make sure the user is using an 'up to date' version of the compiler | ||
|
||
|
||
#define VERSION "v0.0.0.2" | ||
|
||
#if __GNUC__ < 8 | ||
#error It appears you are using a version of arm-none-eabi-gcc that is incompatible with with the RebbleOS project. \ | ||
Please find an updated version by using your respective package manager or going to the developer.arm.com download page. | ||
#endif | ||
|
||
|
||
|
||
// Reset the watchdog timer manually | ||
void watchdog_reset(void); | ||
|
||
|
||
void rebbleos_init(void); | ||
void os_module_init_complete(uint8_t result); | ||
|
||
#define INIT_RESP_OK 0 | ||
#define INIT_RESP_ASYNC_WAIT 1 | ||
#define INIT_RESP_NOT_SUPPORTED 2 | ||
#define INIT_RESP_ERROR 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* | ||
* Author: Barry Carter <[email protected]> | ||
*/ | ||
#include "main.h" | ||
|
||
#include "rebbleos.h" | ||
#include "minilib.h" | ||
#include "rtoswrap.h" | ||
|
||
|
@@ -23,6 +23,7 @@ static void _log_entry(void *arg) { | |
} | ||
} | ||
THREAD_DEFINE(log, 300, tskIDLE_PRIORITY + 10UL, _log_entry); | ||
extern int vsfmt(char *buf, unsigned int len, const char *ifmt, va_list ap); | ||
|
||
void log_onpanic_dump() { | ||
log_clock_enable(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,7 @@ | |
* | ||
* Author: Barry Carter <[email protected]> | ||
*/ | ||
|
||
#include "rebbleos.h" | ||
#include "main.h" | ||
#include "watchdog.h" | ||
#include "ambient.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* | ||
* Author: Barry Carter <[email protected]>. | ||
*/ | ||
#include "rebbleos.h" | ||
#include "main.h" | ||
#include "protocol_notification.h" | ||
#include "notification_manager.h" | ||
#include "overlay_manager.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,8 @@ | |
* | ||
* Author: Barry Carter <[email protected]>. | ||
*/ | ||
#include "rebbleos.h" | ||
#include "main.h" | ||
#include "init.h" | ||
#include "ngfxwrap.h" | ||
#include "overlay_manager.h" | ||
#include "protocol.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,12 @@ | |
* | ||
* Author: Barry Carter <[email protected]> | ||
*/ | ||
#include "main.h" | ||
#include <stdbool.h> | ||
#include "power.h" | ||
#include "rebbleos.h" | ||
#include "notification_manager.h" | ||
#include "battery_state_service.h" | ||
#include "flash.h" | ||
|
||
static uint8_t _charge_mode_prev = 0; | ||
static uint8_t _charge_mode = 0; | ||
|
Oops, something went wrong.