Enables PulseIO on STM32F7
Tested on nucleo_f746zg
This commit is contained in:
parent
9e4b94f466
commit
f9096d83ac
@ -32,7 +32,7 @@
|
|||||||
#include "supervisor/shared/translate.h"
|
#include "supervisor/shared/translate.h"
|
||||||
|
|
||||||
#include "shared-bindings/microcontroller/__init__.h"
|
#include "shared-bindings/microcontroller/__init__.h"
|
||||||
#include "stm32f4xx_hal.h"
|
#include STM32_HAL_H
|
||||||
#include "common-hal/microcontroller/Pin.h"
|
#include "common-hal/microcontroller/Pin.h"
|
||||||
|
|
||||||
#define ALL_CLOCKS 0xFFFF
|
#define ALL_CLOCKS 0xFFFF
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#include "common-hal/microcontroller/Pin.h"
|
#include "common-hal/microcontroller/Pin.h"
|
||||||
|
|
||||||
#include "stm32f4xx_hal.h"
|
#include STM32_HAL_H
|
||||||
#include "peripherals/periph.h"
|
#include "peripherals/periph.h"
|
||||||
|
|
||||||
#include "py/obj.h"
|
#include "py/obj.h"
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include "shared-bindings/pulseio/PulseIn.h"
|
#include "shared-bindings/pulseio/PulseIn.h"
|
||||||
#include "tick.h"
|
#include "tick.h"
|
||||||
|
|
||||||
#include "stm32f4xx_hal.h"
|
#include STM32_HAL_H
|
||||||
|
|
||||||
#define STM32_GPIO_PORT_SIZE 16
|
#define STM32_GPIO_PORT_SIZE 16
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#include "shared-bindings/pulseio/PWMOut.h"
|
#include "shared-bindings/pulseio/PWMOut.h"
|
||||||
#include "supervisor/shared/translate.h"
|
#include "supervisor/shared/translate.h"
|
||||||
|
|
||||||
#include "stm32f4xx_hal.h"
|
#include STM32_HAL_H
|
||||||
#include "common-hal/microcontroller/Pin.h"
|
#include "common-hal/microcontroller/Pin.h"
|
||||||
#include "tick.h"
|
#include "tick.h"
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ ifeq ($(MCU_SERIES),F7)
|
|||||||
# Not yet implemented common-hal modules:
|
# Not yet implemented common-hal modules:
|
||||||
CIRCUITPY_ANALOGIO = 0
|
CIRCUITPY_ANALOGIO = 0
|
||||||
CIRCUITPY_NEOPIXEL_WRITE = 0
|
CIRCUITPY_NEOPIXEL_WRITE = 0
|
||||||
CIRCUITPY_PULSEIO = 0
|
CIRCUITPY_PULSEIO = 1
|
||||||
CIRCUITPY_OS = 0
|
CIRCUITPY_OS = 0
|
||||||
CIRCUITPY_NVM = 0
|
CIRCUITPY_NVM = 0
|
||||||
CIRCUITPY_AUDIOBUSIO = 0
|
CIRCUITPY_AUDIOBUSIO = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user