9 Commits (be4e5b1f872c29b5a3a64397e5ec50d2b0880382)

Author SHA1 Message Date
Damien George 070937fe93 stm32: Add support for Cortex-M0 CPUs. 7 years ago
Damien George 3022947343 stm32/mphalport: Support ADC mode on a pin for L4 MCUs. 7 years ago
Damien George a28bd4ac94 stm32/mphalport: Add mp_hal_pin_config_speed() to select GPIO speed. 7 years ago
Damien George bc3a5f1917 stm32/mphalport: Use MCU regs to detect if cycle counter is started. 7 years ago
iabdalkader 3f86fbcb07 stm32/mphalport: Use GPIO BSRRL/BSRRH registers for H7 MCUs. 7 years ago
Damien George 989fc16162 stm32: Move MCU-specific cfg from mphalport.h to mpconfigboard_common.h. 7 years ago
Damien George e8a8fa77ca stm32: Improve support for STM32F722, F723, F732, F733 MCUs. 7 years ago
Damien George 4a93801c12 all: Update Makefiles and others to build with new ports/ dir layout. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Damien George 8ed7155828 stmhal: Add "quiet timing" enter/exit functions. 7 years ago
Damien George 2460888c74 stmhal/i2c: Clean the cache so that I2C DMA works on F7 MCUs. 8 years ago
Damien George 89738e8240 stmhal: Rename sys_tick ticks/delay functions to corresp. mp_hal ones. 8 years ago
Damien George 425150040c stmhal/mphalport.h: Explicitly use HAL's GPIO constants for pull modes. 8 years ago
Damien George 1eb3c66e91 extmod/machine_spi: Provide reusable software SPI class. 8 years ago
Jean-François Milants 08bd7d1d31 stmhal/sdcard: Clean/invalidate cache before DMA transfers with SD card. 8 years ago
Krzysztof Blazewicz 4d9dce7759 stmhal/mphalport.h: use single GPIOx->BSRR register 8 years ago
Damien George 1375c52772 stmhal: Rename mp_hal_pin_set_af to _config_alt, to simplify alt config. 8 years ago
Damien George d49d81b167 stmhal: Refactor pin usage to use mp_hal_pin API. 8 years ago
Damien George cd9b14bb11 stmhal/modutime: Refactor to use extmod's version of ticks_cpu. 8 years ago
Paul Sokolovsky f059563507 stmhal/modutime: Refactor to use extmod/utime_mphal.c. 8 years ago
Damien George 0bb3c7d3b7 stmhal: Enable machine.time_pulse_us() function. 8 years ago
Damien George b1537a5752 stmhal/mphalport: Change pin obj type to const pointer, to avoid casts. 8 years ago
Damien George 5deedd6685 stmhal/mphalport: Fix mp_hal_pin_write to use correct pin_mask. 8 years ago
Damien George 077dbf4a86 stmhal/mphalport: Implement mp_hal_pin_{input,output,write}. 8 years ago
Damien George 4b37e775ea extmod/machine_i2c: Redo mp_hal_pin macros to use open_drain and od_low. 9 years ago
Damien George 624738ca64 extmod/machine_i2c: Allow mp_hal_pin_obj_t to be any type, not a ptr. 9 years ago
Tobias Badertscher dda1a41205 stmhal: L4: Modify mphalport to support L4 MCU. 9 years ago
Damien George e4f963a351 stmhal: Use new generic I2C object in machine module. 9 years ago
Damien George 69a1aaf654 stmhal: Implement basic C-level pin HAL. 9 years ago
Dave Hylands 7bb501ef9f stmhal: Add a function for setting the pin alternate function 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Dave Hylands b83d0b35e9 stmhal: Add define for UNIQUE_ID address (differs per MCU) 9 years ago
Paul Sokolovsky 404dae80a9 unix, stmhal: Introduce mp_hal_delay_ms(), mp_hal_ticks_ms(). 9 years ago
Dave Hylands 8f59bacb92 stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7 9 years ago
Damien George 0851751615 stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable. 9 years ago
Dave Hylands 92d4b51ad5 stmhal: Add STM32F7DISC and associated changes. 9 years ago
Dave Hylands ea8bf81058 stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 9 years ago
Damien George 0b32e50365 stmhal: Make pybstdio usable by other ports, and use it. 10 years ago
Damien George 5cbc9e0db0 stmhal: Reduce coupling between USB driver and readline. 10 years ago
Damien George 185cb0d943 stmhal: Use OSError with POSIX error code for HAL errors. 10 years ago
Dave Hylands 6f418fc1b0 Add support for selecting pin alternate functions from python. 10 years ago