Skip to content

Commit ab0aa12

Browse files
committed
Collected luna-files in one place, removed some old files
1 parent d1b962b commit ab0aa12

11 files changed

+12
-112
lines changed

appconf/appconf_example_ppm.h

-27
This file was deleted.

conf_general.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@
8989
//#define HW_SOURCE "hw_axiom.c"
9090
//#define HW_HEADER "hw_axiom.h"
9191

92-
//#define HW_SOURCE "hw_luna_bbshd.c"
93-
//#define HW_HEADER "hw_luna_bbshd.h"
92+
//#define HW_SOURCE "luna/hw_luna_bbshd.c"
93+
//#define HW_HEADER "luna/hw_luna_bbshd.h"
9494

9595
//#define HW_SOURCE "hw_rh.c"
9696
//#define HW_HEADER "hw_rh.h"

hwconf/hwconf.mk

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ HWSRC = hwconf/hw.c \
33
hwconf/drv8305.c \
44
hwconf/drv8320s.c \
55
hwconf/drv8323s.c \
6-
hwconf/luna_display_serial.c \
6+
hwconf/luna/luna_display_serial.c \
77
hwconf/si8900.c
88

9-
HWINC = hwconf
9+
HWINC = hwconf \
10+
hwconf/luna
File renamed without changes.

hwconf/hw_luna_bbshd.h hwconf/luna/hw_luna_bbshd.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323

2424
#define HW_NAME "LUNA_BBSHD"
2525
#include "mcconf_luna_bbshd_52v.h"
26-
#include "appconf_luna_bbshd.h"
26+
//#include "appconf_luna_bbshd.h" // Missing from pull request?
2727

28-
#define QMLUI_SOURCE_APP "qmlui/app/qmlui_luna_v1.c"
29-
#define QMLUI_HEADER_APP "qmlui/app/qmlui_luna_v1.h"
30-
#define QMLUI_APP_FULLSCREEN
28+
#define QMLUI_SOURCE_HW "hwconf/luna/qmlui_luna_v1.c"
29+
#define QMLUI_HEADER_HW "hwconf/luna/qmlui_luna_v1.h"
30+
#define QMLUI_HW_FULLSCREEN
3131

3232
// HW properties
3333
#define HW_HAS_3_SHUNTS
File renamed without changes.
File renamed without changes.
File renamed without changes.

qmlui/app/qmlui_luna_v1.c hwconf/luna/qmlui_luna_v1.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "qmlui_luna_v1.h"
44

5-
uint8_t data_qml_app[7270] = {
5+
uint8_t data_qml_hw[7270] = {
66
0x00, 0x01, 0x92, 0x40, 0x78, 0xda, 0xed, 0x3d, 0xdb, 0x72, 0xdb, 0xb8, 0x92, 0xef, 0xfe, 0x0a,
77
0x44, 0x5b, 0x9b, 0x23, 0x4d, 0x1c, 0x4a, 0xb6, 0x63, 0x67, 0x46, 0x67, 0x73, 0x52, 0xb1, 0x13,
88
0x67, 0x5c, 0xe5, 0xcc, 0x78, 0x2c, 0x27, 0x79, 0x38, 0x39, 0xe5, 0xa2, 0x45, 0x48, 0x42, 0x85,

qmlui/app/qmlui_luna_v1.h hwconf/luna/qmlui_luna_v1.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
#include <stdbool.h>
99

1010
// Constants
11-
#define DATA_QML_APP_SIZE 7270
11+
#define DATA_QML_HW_SIZE 7270
1212

1313
// Variables
14-
extern uint8_t data_qml_app[];
14+
extern uint8_t data_qml_hw[];
1515

1616
// QMLUI_LUNA_V1_H_
1717
#endif

mcconf/mcconf_sten.h

-74
This file was deleted.

0 commit comments

Comments
 (0)