- 18 Oct, 2016 1 commit
-
-
Damien George authored
-
- 17 Oct, 2016 2 commits
-
-
Damien George authored
Also adds "machine" to the list of modules that the parser can search for constants.
-
Damien George authored
-
- 16 Oct, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 14 Oct, 2016 1 commit
-
-
Paul Sokolovsky authored
This includes making sure that utime_mphal's sleep_ms() and sleep_us() don't sleep on negative arguments.
-
- 13 Oct, 2016 1 commit
-
-
Damien George authored
-
- 07 Oct, 2016 1 commit
-
-
Damien George authored
-
- 06 Oct, 2016 2 commits
-
-
Damien George authored
-
Dave Hylands authored
-
- 05 Oct, 2016 3 commits
-
-
Damien George authored
-
Damien George authored
-
Dave Hylands authored
-
- 04 Oct, 2016 8 commits
-
-
Pavol Rusnak authored
-
Pavol Rusnak authored
-
Philip Potter authored
-
Philip Potter authored
-
Dave Hylands authored
In particular, this makes the L4 .isr_vector section 16K in size so it's the same as the F4/F7 MCUs. The patch also moves the L4 filesystem to the end of flash, which allows for 512K filesystem on the 1Mb devices like the STM32L476DISC.
-
Damien George authored
-
Damien George authored
The delay_half parameter must be specified by the port to set up the timing of the software SPI. This allows the port to adjust the timing value to better suit its timing characteristics, as well as provide a more accurate printing of the baudrate.
-
Damien George authored
It's simpler to just default to always using software SPI if no specific peripheral id/name is given. To use hardware SPI users must specify a hardware peripheral id as the first parameter to the SPI constructor.
-
- 03 Oct, 2016 5 commits
-
-
Damien George authored
-
Damien George authored
Includes both software and hardware SPI implementations.
-
Damien George authored
-
Damien George authored
-
Damien George authored
There is no need to take src_len and dest_len arguments. The case of reading-only with a single output byte (originally src_len=1, dest_len>1) is now handled by using the output buffer as the input buffer, and using memset to fill the output byte into this buffer. This simplifies the implementations of the spi_transfer protocol function.
-
- 30 Sep, 2016 1 commit
-
-
Krzysztof Blazewicz authored
Files in lib/cmsis are generic for all Cortex-M MCU's files left in stmhal/cmsis are all STM32 specific.
-
- 28 Sep, 2016 2 commits
-
-
Damien George authored
-
Nicholas Graumann authored
-
- 27 Sep, 2016 1 commit
-
-
Damien George authored
To reset the flags we should write to the single bit only, not the entire register (otherwise all other settings in the register are cleared). Fixes #2457.
-
- 22 Sep, 2016 2 commits
-
-
Krzysztof Blazewicz authored
-
Krzysztof Blazewicz authored
-
- 21 Sep, 2016 2 commits
-
-
Damien George authored
One can instead lookup __name__ in the modules dict to get the value.
-
Stefan Agner authored
Use MP_NOINLINE macro to avoid inlining of init_flash_fs. This helps to keep stack usage of main() low.
-
- 19 Sep, 2016 1 commit
-
-
Damien George authored
UART1 can be used even if the switch is enabled. The schematics for this board make I2C1 available on PB8/PB9, even though it can also be mapped to PB6/PB7. See #2396 and #2427.
-
- 14 Sep, 2016 1 commit
-
-
Damien George authored
The algorithm here should mirror that in the machine.freq() function.
-
- 09 Sep, 2016 3 commits
-
-
Krzysztof Blazewicz authored
If a user tries to call `swint()` while interrupt is disabled the flag in SWIER is set but the interrupt is not triggered and therefore the SWIER bit is not cleared. When the interrupt is again enabled the next call to `swint()` won't trigger the IRQ because a 0 to 1 transition will not occur.
-
Krzysztof Blazewicz authored
different HAL versions implement GPIO differently (BSRR vs BSRRH+BSRRL), this way both drivers are portable between different HAL's
-
Tom Soulanille authored
The LCD interface library fails to deassert the chip select of the LCD after an SPI transmission. Consequently using the SPI with other peripherals disturbs the state of the LCD. This patch changes lcd.lcd_out() to deassert CS after each transmission to the LCD.
-
- 08 Sep, 2016 1 commit
-
-
Damien George authored
machine.POWER_ON is renamed to machine.PWRON_RESET to match other reset-cause constants that all end in _RESET. The cc3200 port keeps a legacy definition of POWER_ON for backwards compatibility.
-
- 06 Sep, 2016 1 commit
-
-
Damien George authored
-