Skip to content

Commit

Permalink
Remove RebbleOs.h
Browse files Browse the repository at this point in the history
Remove RebbleOs.h
  • Loading branch information
AliceGrey committed Mar 20, 2020
1 parent 4b88ad5 commit 51d9333
Show file tree
Hide file tree
Showing 55 changed files with 12 additions and 75 deletions.
1 change: 0 additions & 1 deletion Apps/System/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* Author: Barry Carter <[email protected]>.
*/
#include "display.h"
#include "rebbleos.h"
#include "menu.h"

static list_head _res_list_head = LIST_HEAD(_res_list_head);
Expand Down
1 change: 0 additions & 1 deletion Apps/System/notification.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Barry Carter <[email protected]>
*/
#include "display.h"
#include "rebbleos.h"
#include "notification.h"
#include "notification_layer.h"
#include "librebble.h"
Expand Down
1 change: 0 additions & 1 deletion Apps/System/notification.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Author: Carson Katri <[email protected]>.
*/

#include "rebbleos.h"
#include "librebble.h"
#include "display.h"
#include "backlight.h"
Expand Down
1 change: 0 additions & 1 deletion Apps/System/systemapp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Barry Carter <[email protected]>
*/
#include "display.h"
#include "rebbleos.h"
#include "systemapp.h"
#include "menu.h"
#include "status_bar_layer.h"
Expand Down
1 change: 0 additions & 1 deletion Apps/System/testapp.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Author: Barry Carter <[email protected]>
*/
#include "display.h"
#include "rebbleos.h"
#include "menu.h"
#include "status_bar_layer.h"
#include "test_defs.h"
Expand Down
1 change: 0 additions & 1 deletion Apps/System/tests/color_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Author: Chris Multhaupt <[email protected]>.
*/
#include "display.h"
#include "rebbleos.h"
#include "systemapp.h"
#include "menu.h"
#include "status_bar_layer.h"
Expand Down
1 change: 0 additions & 1 deletion Apps/System/tests/overlay_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Barry Carter <[email protected]>.
*/
#include "display.h"
#include "rebbleos.h"
#include "systemapp.h"
#include "menu.h"
#include "status_bar_layer.h"
Expand Down
1 change: 0 additions & 1 deletion Apps/System/tests/test_test.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "display.h"
#include "rebbleos.h"
#include "systemapp.h"
#include "menu.h"
#include "status_bar_layer.h"
Expand Down
1 change: 0 additions & 1 deletion Apps/System/tests/vibes_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Author: Elliot Hawkins <[email protected]>.
*/
#include "display.h"
#include "rebbleos.h"
#include "systemapp.h"
#include "menu.h"
#include "status_bar_layer.h"
Expand Down
1 change: 0 additions & 1 deletion Apps/System/widgettest.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Carson Katri <[email protected]>
*/
#include "display.h"
#include "rebbleos.h"
#include "test.h"
#include "librebble.h"
#include "bitmap_layer.h"
Expand Down
1 change: 0 additions & 1 deletion hw/drivers/stm32_bluetooth_cc256x/btstack_rebble.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "hal_uart_dma.h"
#include "main.h"
#include "init.h"
#include "rebbleos.h"
#include "btstack_spp.h"
#include "hal_time_ms.h"
#include "rbl_bluetooth.h"
Expand Down
1 change: 0 additions & 1 deletion hw/platform/chalk/chalk_bluetooth.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "rbl_bluetooth.h"
#include "init.h"
#include "rebbleos.h"

/*
* NOT IMPLEMENTED
Expand Down
1 change: 0 additions & 1 deletion hw/platform/qemu/hw_qemu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "hw_qemu.h"
#include "stm32_usart.h"
#include "stm32_power.h"
#include "rebbleos.h"

void _hw_qemu_rx(void);

Expand Down
1 change: 0 additions & 1 deletion rcore/api_func_symbols.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "common.h"
#include "rebbleos.h"
#include "librebble.h"
#include "graphics_wrapper.h"
#include "battery_state_service.h"
Expand Down
2 changes: 0 additions & 2 deletions rcore/appmanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
*/
#include "rebble_memory.h"
#include <stdlib.h>
#include "rebbleos.h"
#include "display.h"

#include "librebble.h"
#include "appmanager.h"
#include "systemapp.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/appmanager_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <stdlib.h>
#include "display.h"
#include "rebbleos.h"
#include "appmanager.h"
#include "systemapp.h"
#include "widgettest.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/appmanager_app_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <stdlib.h>
#include "display.h"
#include "rebbleos.h"
#include "appmanager.h"
#include "main.h"
#include "overlay_manager.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/appmanager_app_runloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <stdlib.h>
#include "display.h"
#include "rebbleos.h"
#include "appmanager.h"
#include "main.h"
#include "overlay_manager.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/appmanager_app_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <stdlib.h>
#include "display.h"
#include "rebbleos.h"
#include "appmanager.h"
#include "main.h"
#include "overlay_manager.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/bluetooth.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "ambient.h"
#include "rebble_memory.h"
#include "init.h"
#include "rebbleos.h"
#include "rbl_bluetooth.h"
#include "pebble_protocol.h"
#include "stdarg.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/buttons.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "FreeRTOS.h"
// not ideal. TODO reorg
#include "rebbleos.h"
#include "librebble.h"

#define butDEBOUNCE_DELAY ( pdMS_TO_TICKS(2) )
Expand Down
1 change: 0 additions & 1 deletion rcore/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
#include "display.h"
#include "init.h"
#include "rebbleos.h"
#include "appmanager.h"
#include "semphr.h"
/* Semaphore to start drawing */
Expand Down
1 change: 0 additions & 1 deletion rcore/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Barry Carter <[email protected]>
*/
#include "display.h"
#include "rebbleos.h"
#include "platform.h"
#include "semphr.h"
#include "flash.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/gyro.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
* Author: Barry Carter <[email protected]>
*/
#include "display.h"
#include "rebbleos.h"
12 changes: 12 additions & 0 deletions rcore/init.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
#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);
Expand Down
1 change: 0 additions & 1 deletion rcore/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Barry Carter <[email protected]>
*/
#include "main.h"
#include "rebbleos.h"

extern int vsfmt(char *buf, unsigned int len, const char *ifmt, va_list ap);

Expand Down
1 change: 0 additions & 1 deletion rcore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Barry Carter <[email protected]>
*/
#include "main.h"
#include "rebbleos.h"
#include "watchdog.h"
#include "ambient.h"

Expand Down
1 change: 0 additions & 1 deletion rcore/notification_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Author: Barry Carter <[email protected]>.
*/
#include "main.h"
#include "rebbleos.h"
#include "protocol_notification.h"
#include "notification_manager.h"
#include "overlay_manager.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/overlay_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/
#include "main.h"
#include "init.h"
#include "rebbleos.h"
#include "ngfxwrap.h"
#include "overlay_manager.h"
#include "ngfxwrap.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/overlay_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
* Window creation happens in a callback so we can delegate the work to our thread
* and constrain memory and runtime of the window
*/
#include "rebbleos.h"
#include "overlay_manager.h"

/* NOT USED YET */
Expand Down
1 change: 0 additions & 1 deletion rcore/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "main.h"
#include <stdbool.h>
#include "power.h"
#include "rebbleos.h"
#include "notification_manager.h"
#include "battery_state_service.h"
#include "flash.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/protocol/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/
#include <stdlib.h>
#include "main.h"
#include "rebbleos.h"
#include "endpoint.h"
#include "protocol.h"
#include "pebble_protocol.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/protocol/protocol_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/
#include <stdlib.h>
#include "main.h"
#include "rebbleos.h"
#include "protocol_system.h"
#include "pebble_protocol.h"

Expand Down
1 change: 0 additions & 1 deletion rcore/protocol/protocol_blob.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Barry Carter <[email protected]>.
*/
#include "main.h"
#include "rebbleos.h"
#include "protocol_system.h"
#include "pebble_protocol.h"
#include "blob_db.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/protocol/protocol_notification.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/
#include "main.h"
#include <stdlib.h>
#include "rebbleos.h"
#include "appmanager.h"
#include "systemapp.h"
#include "test.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/protocol/protocol_system.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "main.h"
#include "rebbleos.h"
#include "protocol.h"
#include "protocol_system.h"
#include "pebble_protocol.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/qemu.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "task.h"
#include "log.h"
#include "init.h"
#include "rebbleos.h"
#include "endpoint.h"
#include "protocol.h"
#include "semphr.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/rebble_memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Author: Barry Carter <[email protected]>
*/
#include "main.h"
#include "rebbleos.h"

/* Configure Logging */
#define MODULE_NAME "mem"
Expand Down
1 change: 0 additions & 1 deletion rcore/rebble_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Joshua Wise <[email protected]>
*/
#include "main.h"
#include "rebbleos.h"
#include "strftime.h"

/* Configure Logging */
Expand Down
1 change: 0 additions & 1 deletion rcore/rebble_util.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "display.h"
#include "rebbleos.h"
#include "librebble.h"
#include "uuid.h"

Expand Down
1 change: 0 additions & 1 deletion rcore/rebbleos.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "rbl_bluetooth.h"
#include "settings.h"
#include "init.h"
#include "rebbleos.h"
#include "watchdog.h"
#include "ngfxwrap.h"
#include "overlay_manager.h"
Expand Down
18 changes: 0 additions & 18 deletions rcore/rebbleos.h

This file was deleted.

1 change: 0 additions & 1 deletion rcore/resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Author: Barry Carter <[email protected]>
*/
#include "main.h"
#include "rebbleos.h"
#include "platform.h"
#include "flash.h"

Expand Down
1 change: 0 additions & 1 deletion rcore/service/blob_db.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Author: Barry Carter <[email protected]>
*/
#include "main.h"
#include "rebbleos.h"
#include "protocol_system.h"
#include "pebble_protocol.h"
#include "node_list.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/service/blob_db_ramfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Author: Barry Carter <[email protected]>.
*/
#include "main.h"
#include "rebbleos.h"
#include "node_list.h"
#include "blob_db.h"
#include "test.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/service/blob_db_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* RebbleOS
*/
#include "main.h"
#include "rebbleos.h"
#include "protocol_system.h"
#include "pebble_protocol.h"
#include "node_list.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/service/timeline.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Author: Barry Carter <[email protected]>
*/
#include "main.h"
#include "rebbleos.h"
#include "protocol_system.h"
#include "pebble_protocol.h"
#include "timeline.h"
Expand Down
1 change: 0 additions & 1 deletion rcore/test.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "test.h"
#include "main.h"
#include "init.h"
#include "rebbleos.h"
#include "protocol.h"
#include "rtoswrap.h"

Expand Down
Loading

0 comments on commit 51d9333

Please sign in to comment.