Commit Graph

493 Commits

Author SHA1 Message Date
NIIBE Yutaka
3199ac7aae Better API for baud setting for smartcard communication. 2019-04-25 11:08:46 +09:00
NIIBE Yutaka
d22ffb2d07 Fix USART driver. 2019-04-24 20:22:57 +09:00
NIIBE Yutaka
c818ec89a4 Add EXTI for STM32L. 2019-04-24 11:42:40 +09:00
NIIBE Yutaka
2d2d544c5d Add ChangLog entries, update NEWS and README.
I should have called version 1.10 as 2.0, becase it introduced API
change.
2019-04-24 09:57:51 +09:00
NIIBE Yutaka
97811f2e1c Add SYSCFG to mcu/stm32l.h. 2019-04-24 09:37:55 +09:00
NIIBE Yutaka
2db324e93d doc: Add a memo. 2019-04-24 09:35:29 +09:00
NIIBE Yutaka
886343d40d Board: Nucleo L432: Decide assignment of pin. 2019-04-22 15:40:00 +09:00
NIIBE Yutaka
f6c29ab274 Implement usart_block_sendrecv for STM32L432. Not tested. 2019-04-19 17:04:28 +09:00
NIIBE Yutaka
8afabfa301 Fix entry.c for STM32L4. Now, USB works. 2019-04-18 19:14:08 +09:00
NIIBE Yutaka
1d2aacd0a4 stm32l4: Enable PWR module and USV-bit in CR2. 2019-04-18 19:13:23 +09:00
NIIBE Yutaka
359082f80a Testing USB on STM32L4. 2019-04-18 17:12:41 +09:00
NIIBE Yutaka
1f159888a0 doc: Add memorandom chapter. 2019-04-18 10:25:19 +09:00
NIIBE Yutaka
f37d83e55d New: mcu/usb-stm32l.c (not yet tested). 2019-04-17 16:13:58 +09:00
NIIBE Yutaka
b20f66b5e4 Factor out usb-st-common.c. 2019-04-17 15:20:31 +09:00
NIIBE Yutaka
5d344acad9 usb driver: I/O access style fix. 2019-04-17 15:07:12 +09:00
NIIBE Yutaka
06eef36868 usart: Fix smartcard communication. Only ignoring echo back. 2019-04-15 12:06:57 +09:00
NIIBE Yutaka
ca06df793a Add example-usart, which works well with ST Nucleo L432. 2019-04-12 20:20:16 +09:00
NIIBE Yutaka
92de60e5f2 Fix struct usart member mistake. Add example-usart. 2019-04-12 20:05:35 +09:00
NIIBE Yutaka
61c0edcc96 Add USART driver for STM32L. 2019-04-12 17:28:41 +09:00
NIIBE Yutaka
7b129cd50f Factor out USART routines. 2019-04-12 17:08:51 +09:00
NIIBE Yutaka
f237314ebf Rename _PHR_ (as peripheral) to specific bus (AHB, APB, etc.). 2019-04-12 10:45:12 +09:00
NIIBE Yutaka
52efc84f5c Now, example-led works fine with -mcortex-m4. 2019-04-12 10:30:53 +09:00
NIIBE Yutaka
5a326eee54 Example-led works fine with -mcpu=cortex-m3. 2019-04-11 17:11:47 +09:00
NIIBE Yutaka
054950bc9a Try STM Nucleo L432 LED. 2019-04-11 15:36:51 +09:00
NIIBE Yutaka
e5e46b5de5 Add mcu/*stm32l4. 2019-04-11 15:34:57 +09:00
NIIBE Yutaka
8b9d2c007a Add comment of usb_cable_config. 2019-04-11 13:48:26 +09:00
NIIBE Yutaka
5a6910a45b Adding STM32L432 support for USART (not yet USB, ADC, Flash, etc.). 2019-04-11 11:08:17 +09:00
NIIBE Yutaka
f8880aafec Coding style fix for SYST registers. 2019-04-11 09:08:33 +09:00
NIIBE Yutaka
681a0055e4 Rename clk_gpio_init-stm32f.c. 2019-04-10 16:17:19 +09:00
NIIBE Yutaka
69a7960876 Start experiment with STM32L432. 2019-04-10 12:39:07 +09:00
NIIBE Yutaka
7f77e5a13d Use STM32F10X_HD. 2019-04-10 12:38:45 +09:00
NIIBE Yutaka
bf585aba18 Use 9600 bps for BSCARD. 2019-04-09 13:35:59 +09:00
NIIBE Yutaka
bf7afa7348 usart: Support busy-wait in usart_block_sendrecv.
chopstx_poll is heavy.
2019-04-09 10:43:53 +09:00
NIIBE Yutaka
7f4eae6c56 Modify the loop of usart_block_sendrecv. 2019-04-09 08:51:23 +09:00
NIIBE Yutaka
8c045a6b8d usart: New API for block send-recv. 2019-04-08 11:49:13 +09:00
NIIBE Yutaka
ac026cc501 St Nucleo 32: Enable AFIO clock. 2019-04-02 13:39:29 +09:00
NIIBE Yutaka
8d7106d992 Change internal function name of USART driver. 2019-04-01 21:18:03 +09:00
NIIBE Yutaka
2c0b1eee03 Fix gaurd time for 1 etu. 2019-04-01 15:33:07 +09:00
NIIBE Yutaka
83817af2d7 Enhancement for smartcard communication. 2019-03-30 19:27:53 +09:00
NIIBE Yutaka
339da2901c Fix typo. 2019-03-29 16:08:30 +09:00
NIIBE Yutaka
06130d071b Add read with timeout for USART driver. 2019-03-29 11:53:41 +09:00
NIIBE Yutaka
02ca3a6cd5 Fix typo in copyright notice. 2019-03-26 18:18:39 +09:00
NIIBE Yutaka
aeea3c31f8 Version 1.14. release/1.14 2019-03-02 08:48:11 +09:00
NIIBE Yutaka
91dbfaf6b7 usart: SCEN should be configured after CR1 enabled. 2019-03-01 22:22:25 +09:00
NIIBE Yutaka
304441d393 usart: usart_config should be called by application. 2019-03-01 20:02:15 +09:00
NIIBE Yutaka
4780da5b5b Parity error enabled when parity is in use. 2019-03-01 20:01:43 +09:00
NIIBE Yutaka
a4aa99f772 Add smartcard interface support for ST Nucleo Board. 2019-02-28 22:35:55 +09:00
NIIBE Yutaka
3315435579 Fix unsigned-ness of MASK_MODE. 2019-02-25 17:00:42 +09:00
NIIBE Yutaka
bd330d81c3 Add comment for eventflag. 2019-02-22 14:00:44 +09:00
NIIBE Yutaka
078c8db5d7 Minor code-cleanup for priority inheritance. 2019-02-22 09:52:28 +09:00