mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
trezorhal: remove dependency on py/
This commit is contained in:
parent
d8d62af275
commit
1f837c4572
@ -32,10 +32,11 @@
|
|||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include STM32_HAL_H
|
#include STM32_HAL_H
|
||||||
#include "usbd_core.h"
|
#include "usbd_core.h"
|
||||||
#include "py/obj.h"
|
|
||||||
#include "irq.h"
|
|
||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
|
|
||||||
|
#define IRQ_PRI_OTG_FS 6
|
||||||
|
#define IRQ_SUBPRI_OTG_FS 0
|
||||||
|
|
||||||
/* Private typedef -----------------------------------------------------------*/
|
/* Private typedef -----------------------------------------------------------*/
|
||||||
/* Private define ------------------------------------------------------------*/
|
/* Private define ------------------------------------------------------------*/
|
||||||
/* Private macro -------------------------------------------------------------*/
|
/* Private macro -------------------------------------------------------------*/
|
||||||
|
@ -39,8 +39,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "py/mpconfig.h"
|
|
||||||
|
|
||||||
/* Exported types ------------------------------------------------------------*/
|
/* Exported types ------------------------------------------------------------*/
|
||||||
/* Exported constants --------------------------------------------------------*/
|
/* Exported constants --------------------------------------------------------*/
|
||||||
/* Common Config */
|
/* Common Config */
|
||||||
|
Loading…
Reference in New Issue
Block a user