2021-09-19 20:26:35 +00:00
|
|
|
/***************************************************************************
|
2023-02-08 15:33:02 +00:00
|
|
|
* Copyright (C) 2021 - 2023 by Federico Amedeo Izzo IU2NUO, *
|
2022-04-03 16:12:18 +00:00
|
|
|
* Niccolò Izzo IU2KIN, *
|
|
|
|
* Frederik Saraci IU2NRO, *
|
|
|
|
* Silvano Seva IU2KWO *
|
|
|
|
* Mathis Schmieder DB9MAT *
|
2021-09-19 20:26:35 +00:00
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 3 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef HWCONFIG_H
|
|
|
|
#define HWCONFIG_H
|
|
|
|
|
2024-02-10 17:09:59 +00:00
|
|
|
#include <peripherals/i2c.h>
|
2021-09-19 20:26:35 +00:00
|
|
|
#include <stm32f4xx.h>
|
2023-12-26 09:20:14 +00:00
|
|
|
#include "pinmap.h"
|
2021-09-19 20:26:35 +00:00
|
|
|
|
2024-02-10 17:09:59 +00:00
|
|
|
extern const struct i2cDevice i2c1;
|
|
|
|
|
2021-09-19 20:26:35 +00:00
|
|
|
/* Screen dimensions */
|
2023-12-26 09:40:34 +00:00
|
|
|
#define CONFIG_SCREEN_WIDTH 128
|
|
|
|
#define CONFIG_SCREEN_HEIGHT 64
|
2021-09-19 20:26:35 +00:00
|
|
|
|
|
|
|
/* Screen pixel format */
|
2023-12-26 09:40:34 +00:00
|
|
|
#define CONFIG_PIX_FMT_BW
|
2021-09-19 20:26:35 +00:00
|
|
|
|
|
|
|
/* Device has no battery */
|
2023-12-26 09:43:51 +00:00
|
|
|
#define CONFIG_BAT_NONE
|
2021-09-19 20:26:35 +00:00
|
|
|
|
2023-12-26 10:41:24 +00:00
|
|
|
/* Device supports M17 mode */
|
|
|
|
#define CONFIG_M17
|
|
|
|
|
2021-09-19 20:26:35 +00:00
|
|
|
#endif
|