kopia lustrzana https://github.com/OpenRTX/OpenRTX
Linux: declared an instance of Module17 calibration data to allow linking with Module17 UI code.
Declared the "mod17CalData" variable inside linux platform.c to make the symbol available to the linker when building the linux emulator with the Module17 UI.pull/206/head
rodzic
12e2a0f18b
commit
6b34bf362d
|
@ -15,11 +15,20 @@
|
||||||
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include <calibration/calibInfo_Mod17.h>
|
||||||
#include <interfaces/platform.h>
|
#include <interfaces/platform.h>
|
||||||
#include <interfaces/nvmem.h>
|
#include <interfaces/nvmem.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "emulator.h"
|
#include "emulator.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Create the data structure holding Module17 calibration data to make the
|
||||||
|
* corresponding symbol available to the ui.c object file and, consequently, allow
|
||||||
|
* the linker doing its job. This allows to compile and execute OpenRTX on linux
|
||||||
|
* with the Module17 UI to make development faster.
|
||||||
|
*/
|
||||||
|
mod17Calib_t mod17CalData;
|
||||||
|
|
||||||
|
|
||||||
static const hwInfo_t hwInfo =
|
static const hwInfo_t hwInfo =
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue