micropython/stmhal
Damien George 2547928148 stmhal: Add Python function to set UART for REPL.
This adds a hook to get/set pyb_uart_global_debug from Python, using
pyb.repl_uart().  You can set it to an arbitrary UART object, and then
the REPL (in and out) is repeated on this UART object (as well as on USB
CDC).

Ultimately, this will be replaced with a proper Pythonic interface to
set sys.stdin and sys.stdout.
2014-06-15 09:47:27 +01:00
..
boards Merge branch 'master' of https://github.com/micropython/micropython 2014-06-03 19:26:34 +02:00
cc3k stmhal: Update CC3000 driver to newer version. 2014-05-11 12:09:13 +01:00
cmsis stmhal: Remove non-ascii character from include file. 2014-04-18 16:17:40 +01:00
fatfs stmhal: Move fatfs volume/partition lookup table to ROM. 2014-04-12 00:51:57 +01:00
hal stmhal: Add SPI class. 2014-04-20 00:16:30 +01:00
usbdev stmhal: Replace magic number 3 with CDC_IN_EP define. 2014-04-16 23:17:29 +01:00
usbhost Initial checkin with STM HAL 2014-03-11 23:55:41 -07:00
.gitignore stmhal: Add .gitignore to ignore the new build dir names. 2014-05-03 18:26:03 +01:00
Makefile Cleanup/removed specific stuff specific to HydraBus (except board). 2014-06-03 18:59:24 +02:00
accel.c stmhal: Document pyb.Accel() constructor, that it takes time to start. 2014-06-01 17:57:06 +01:00
accel.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
adc.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
adc.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
autoflash Add device ID to autoflash script. 2014-05-02 23:03:23 +01:00
bufhelper.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
bufhelper.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
dac.c stmhal: Fix DAC documentation: need to convert float to int for buf. 2014-05-19 19:08:12 +01:00
dac.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
diskio.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
diskio.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
extint.c py: Add keyword arg support to enumerate constructor. 2014-05-06 16:38:54 +00:00
extint.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
ffconf.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
file.c stmhal: Fix file print methods to use print instead of printf. 2014-06-15 09:10:07 +01:00
file.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
flash.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
flash.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
font_petme128_8x8.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
gccollect.c stmhal: pyb: Use gc() function as defined by standard module "gc". 2014-05-06 02:28:49 +03:00
gccollect.h Add gc.enable, gc.disable; remove pyb.gc. 2014-05-08 23:04:49 +01:00
gchelper.s REPl working on UART6 with STMHAL 2014-03-12 18:15:55 -07:00
help.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
i2c.c stmhal: Document physical pins for SPI, I2C, UART busses. 2014-05-04 14:28:11 +01:00
i2c.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
import.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
input.c Change const byte* to const char* where sensible. 2014-05-25 22:27:57 +01:00
lcd.c stmhal: Fix type signatures on functions that take variable args. 2014-06-15 09:32:42 +01:00
lcd.h stmhal: Update and improve LCD driver. 2014-06-15 00:41:47 +01:00
led.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
led.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
lexerfatfs.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
lexerfatfs.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
main.c stmhal: Update and improve LCD driver. 2014-06-15 00:41:47 +01:00
make-stmconst.py stmhal: Add lots of constants to stm module. 2014-04-19 00:32:25 +01:00
math.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
mathsincos.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
modos.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
modpyb.c stmhal: Add Python function to set UART for REPL. 2014-06-15 09:47:27 +01:00
modstm.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
modstmconst.gen.c stmhal: Add lots of constants to stm module. 2014-04-19 00:32:25 +01:00
modtime.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
mpconfigport.h stmhal, file: Implement a,x,+ open modes, seek and tell. 2014-06-11 15:41:14 +01:00
pendsv.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
pendsv.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
pin.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
pin.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
pin_named_pins.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
portmodules.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
printf.c stmhal: Fix file print methods to use print instead of printf. 2014-06-15 09:10:07 +01:00
pybcdc.inf_template Auto-generate the stmhal/pybcdc_inf header file from static files 2014-04-16 02:41:26 +01:00
pybstdio.c stmhal: Fix file print methods to use print instead of printf. 2014-06-15 09:10:07 +01:00
pybstdio.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
pybwlan.c stmhal: Update CC3000 driver to newer version. 2014-05-11 12:09:13 +01:00
pybwlan.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
pyexec.c stmhal: Improve handling of out-of-memory in REPL. 2014-05-10 17:48:46 +01:00
pyexec.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
qstrdefsport.h stmhal: Add Python function to set UART for REPL. 2014-06-15 09:47:27 +01:00
readline.c stmhal: Improve handling of out-of-memory in REPL. 2014-05-10 17:48:46 +01:00
readline.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
rng.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
rng.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
rtc.c stmhal: Fix setting of RTC: was BCD now BIN encoded. 2014-05-10 11:56:58 +01:00
rtc.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
sdcard.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
sdcard.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
servo.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
servo.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
spi.c stmhal: Document physical pins for SPI, I2C, UART busses. 2014-05-04 14:28:11 +01:00
spi.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
startup_stm32f40xx.s Initial checkin with STM HAL 2014-03-11 23:55:41 -07:00
std.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
stm32f4xx_hal_msp.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
stm32f4xx_it.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
stm32f4xx_it.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
stm32f405.ld Initial checkin with STM HAL 2014-03-11 23:55:41 -07:00
storage.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
storage.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
string0.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
system_stm32f4xx.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
systick.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
systick.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
timer.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
timer.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
uart.c stmhal: Document physical pins for SPI, I2C, UART busses. 2014-05-04 14:28:11 +01:00
uart.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
usb.c stmhal: Update and improve LCD driver. 2014-06-15 00:41:47 +01:00
usb.h stmhal: Stop USB before entering DFU by software. 2014-05-21 19:25:34 +01:00
usbd_cdc_interface.c stmhal: Fix USB CDC not flushing packets when an exact multiple of 64. 2014-05-10 18:56:16 +01:00
usbd_cdc_interface.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
usbd_conf.c micropython port for HydraBus 2014-06-02 21:43:02 +02:00
usbd_conf.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
usbd_desc.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
usbd_desc_cdc_msc.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
usbd_msc_storage.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
usbd_msc_storage.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
usrsw.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
usrsw.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00