1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-12 18:49:07 +00:00

adapt to new opencm3 include structure

This commit is contained in:
Pavol Rusnak 2014-06-19 00:12:31 +02:00
parent add928373f
commit ea42f6af4e
6 changed files with 10 additions and 8 deletions

View File

@ -20,7 +20,7 @@
#ifndef __BUTTONS_H__
#define __BUTTONS_H__
#include <libopencm3/stm32/f2/gpio.h>
#include <libopencm3/stm32/gpio.h>
struct buttonState {
volatile bool YesUp;

View File

@ -20,7 +20,7 @@
#include <string.h>
#include <stdint.h>
#include <libopencm3/stm32/f2/flash.h>
#include <libopencm3/stm32/flash.h>
#include "messages.pb.h"
#include "storage.pb.h"

View File

@ -17,7 +17,7 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/f2/flash.h>
#include <libopencm3/stm32/flash.h>
#include <stdint.h>
#include "memory.h"
#include "sha2.h"

4
oled.c
View File

@ -17,8 +17,8 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/f2/gpio.h>
#include <libopencm3/stm32/f2/spi.h>
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/spi.h>
#include <string.h>

2
rng.c
View File

@ -17,6 +17,8 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/cm3/common.h>
#include <libopencm3/stm32/memorymap.h>
#include <libopencm3/stm32/f2/rng.h>
#include "rng.h"

View File

@ -17,9 +17,9 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/f2/rcc.h>
#include <libopencm3/stm32/f2/gpio.h>
#include <libopencm3/stm32/f2/spi.h>
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/spi.h>
#include <libopencm3/stm32/f2/rng.h>
void setup(void)