Both USART_WordLength_8b and USART_WordLength_9b are defined in the header files. But USART_WordLength_7b is not. And since USART_WordLength_8b begins at 0x0 I suspect that the MCU does not support 7bit UART mode.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Both
USART_WordLength_8b
andUSART_WordLength_9b
are defined in the header files. ButUSART_WordLength_7b
is not. And sinceUSART_WordLength_8b
begins at 0x0 I suspect that the MCU does not support 7bit UART mode.