-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from OSVR/alternate-libhdk20
Alternate libhdk20
- Loading branch information
Showing
17 changed files
with
61 additions
and
6 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
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
20 changes: 20 additions & 0 deletions
20
Source code/Embedded/src/Variants/HDK_20_SVR/VariantOptions.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,20 @@ | ||
/* | ||
* VariantOptions.h | ||
* For the dual-AUO-OLED, single HDMI HDK 2.0 and related HMDs, customized by Sensics. | ||
* Created: 7/20/2016 5:51:12 PM | ||
* Author: Sensics | ||
*/ | ||
|
||
// Derived from the HDK2 | ||
#include "../HDK_20/VariantOptions.h" | ||
|
||
#ifndef VARIANTOPTIONS_H_HDK20SVR | ||
#define VARIANTOPTIONS_H_HDK20SVR | ||
|
||
#undef SVR_VARIANT_STRING | ||
#define SVR_VARIANT_STRING "HDK_20_SVR" | ||
|
||
#define SVR_HAVE_EDID_INFO_STRING | ||
extern const char svrEdidInfoString[]; | ||
|
||
#endif /* VARIANTOPTIONS_H_HDK20SVR */ |
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
Source code/Embedded/src/Variants/HDK_20_SVR/svr1020.edid_info.c
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,5 @@ | ||
#include "VariantOptions.h" | ||
|
||
const char svrEdidInfoString[] = "SVR1019, based on 1.01, all dims 26x15 (r3)"; | ||
|
||
/* svr1020.edid.bin swapped in as the contents of section .rodata.EDID_LUT in libhdk20.1.01.a to produce libhdk20.1.01.svr1020.a */ |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
!*.a |
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
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,2 @@ | ||
rem Copies the library to a new name, in the process, weakens the EDID_LUT symbol, renames the existing data section for it | ||
avr-objcopy --weaken-symbol .rodata.EDID_LUT --weaken-symbol EDID_LUT --rename-section .rodata.EDID_LUT=.rodata.EDID_LUT_OLD %1 %~n1.weakedid.a |