micropython/stmhal
Damien George c66d86c5ce stmhal: Big cleanup; merge gpio into Pin; make names consistent.
This is an attempt to clean up the Micro Python API on the pyboard.
Gpio functionality is now in the Pin object, which seems more natural.
Constants for MODE and PULL are now in pyb.Pin.  Names of some
classes have been adjusted to conform to CamelCase.  Other
miscellaneous changes and clean up here and there.
2014-04-18 22:38:09 +01:00
..
boards stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +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 - More systick cleanup. Fix HAL_Delay 2014-03-13 16:17:01 -07: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
accel.c py: Remove old "run time" functions that were 1 liners. 2014-03-31 16:28:13 +01:00
accel.h stmhal: Shuffle around some init functions in main(). 2014-03-25 23:33:47 +00:00
adc.c stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
adc.h stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
autoflash stmhal: autoflash now enters serial comms after flashing. 2014-04-05 17:16:00 +01:00
dac.c stmhal: Add ADC function to read data at a given frequency. 2014-04-15 19:52:56 +01:00
dac.h stmhal: Add DAC driver. 2014-03-24 15:15:33 +00:00
diskio.c stmhal: Move fatfs volume/partition lookup table to ROM. 2014-04-12 00:51:57 +01:00
diskio.h stmhal: Add fatfs support, working with flash and SD card. 2014-03-17 14:04:19 +00:00
extint.c stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
extint.h stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
ffconf.h stmhal: Add fatfs support, working with flash and SD card. 2014-03-17 14:04:19 +00:00
file.c unix, stmhal: Consistently use "FileIO" as class name for file objects. 2014-04-08 04:08:16 +03:00
file.h stmhal: Add fatfs support, working with flash and SD card. 2014-03-17 14:04:19 +00:00
flash.c stmhal: Improve flash storage cache management. 2014-04-16 23:08:36 +01:00
flash.h stmhal: Improve flash storage cache management. 2014-04-16 23:08:36 +01:00
font_petme128_8x8.h stmhal: Add LCD driver. 2014-03-19 13:11:59 +00:00
gccollect.c stmhal: Put a USB structure in ROM; GC doesn't scan the data segment. 2014-04-12 18:50:20 +01:00
gccollect.h REPl working on UART6 with STMHAL 2014-03-12 18:15:55 -07:00
gchelper.s REPl working on UART6 with STMHAL 2014-03-12 18:15:55 -07:00
help.c stmhal: Improve help() function. 2014-04-09 01:16:29 +01:00
i2c.c stmhal: Fix C bindings of I2C.read/write. 2014-04-16 10:43:03 +01:00
i2c.h stmhal: Add I2C support; change accel driver to use new I2C. 2014-03-25 23:26:14 +00:00
import.c stmhal: Add accelerometer driver; fix bug with LFN. 2014-03-20 23:33:30 +00:00
input.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
lcd.c Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
lcd.h stmhal: Add LCD driver. 2014-03-19 13:11:59 +00:00
led.c build: Simplify build directory layout by putting all headers in genhdr. 2014-04-17 18:03:27 +01:00
led.h stmhal: Make Led, Servo and Accel their class, not a function. 2014-03-24 11:48:39 +00:00
lexerfatfs.c stmhal: Add fatfs support, working with flash and SD card. 2014-03-17 14:04:19 +00:00
lexerfatfs.h REPl working on UART6 with STMHAL 2014-03-12 18:15:55 -07:00
main.c stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
Makefile stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
math.c stmhal: Add more math functions. 2014-04-17 00:13:13 +01:00
mathsincos.c stmhal: Add more math functions. 2014-04-17 00:13:13 +01:00
modos.c py: Change module globals from mp_map_t* to mp_obj_dict_t*. 2014-04-05 21:53:54 +01:00
modos.h Proper support for registering builtin modules in ROM. 2014-03-25 14:18:18 +00:00
modpyb.c stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
modpyb.h Proper support for registering builtin modules in ROM. 2014-03-25 14:18:18 +00:00
modstm.c stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
modstm.h stmhal: Add stm module, which contains some constants for the MCU. 2014-04-10 22:46:40 +01:00
modtime.c py: Change module globals from mp_map_t* to mp_obj_dict_t*. 2014-04-05 21:53:54 +01:00
modtime.h Proper support for registering builtin modules in ROM. 2014-03-25 14:18:18 +00:00
mpconfigport.h py: Rename USE_COMPUTED_GOTOS to USE_COMPUTED_GOTO and enable on stmhal. 2014-04-17 23:24:13 +01:00
pendsv.c stmhal: Get USB enumerating a CDC device. 2014-03-14 00:30:37 +00:00
pendsv.h stmhal: Get USB enumerating a CDC device. 2014-03-14 00:30:37 +00:00
pin.c stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
pin.h stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
pin_named_pins.c stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
printf.c py: Fix pfenv_print_strn to return correct number of chars printed. 2014-04-17 18:58:09 +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: Improve flash storage cache management. 2014-04-16 23:08:36 +01:00
pybstdio.h stmhal: Factor out stdio and readline to separate files. 2014-03-29 14:20:05 +00:00
pyexec.c build: Simplify build directory layout by putting all headers in genhdr. 2014-04-17 18:03:27 +01:00
pyexec.h stmhal: Improve REPL CTRL commands. 2014-03-24 12:23:37 +00:00
qstrdefsport.h stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
readline.c stmhal: Add more escape seqs; add debugging output for escape seq. 2014-04-05 11:45:59 +01:00
readline.h stmhal: Factor out stdio and readline to separate files. 2014-03-29 14:20:05 +00:00
rng.c stmhal: Add os module with a few basic functions. 2014-03-22 14:56:32 +00:00
rng.h stmhal: Add os module with a few basic functions. 2014-03-22 14:56:32 +00:00
rtc.c stmhal: Get RTC working. 2014-03-15 12:54:48 +00:00
rtc.h stmhal: Get RTC working. 2014-03-15 12:54:48 +00:00
sdcard.c build: Simplify build directory layout by putting all headers in genhdr. 2014-04-17 18:03:27 +01:00
sdcard.h stmhal: Add fatfs support, working with flash and SD card. 2014-03-17 14:04:19 +00:00
servo.c stmhal: Add functionality to Servo object. 2014-04-09 00:45:45 +01:00
servo.h stmhal: Add timer module; move servo PWM from TIM2 to TIM5. 2014-04-02 15:09:36 +01:00
startup_stm32f40xx.s Initial checkin with STM HAL 2014-03-11 23:55:41 -07:00
std.h stmhal: Clean up fatality indications; remove long-obsolete malloc0.c. 2014-04-17 17:04:15 +01:00
stm32f4xx_hal_msp.c stmhal: Add timer module; move servo PWM from TIM2 to TIM5. 2014-04-02 15:09:36 +01:00
stm32f4xx_it.c stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
stm32f4xx_it.h stmhal: Get USB enumerating a CDC device. 2014-03-14 00:30:37 +00:00
stm32f405.ld Initial checkin with STM HAL 2014-03-11 23:55:41 -07:00
storage.c stmhal: Improve flash storage cache management. 2014-04-16 23:08:36 +01:00
storage.h stmhal: Improve flash storage cache management. 2014-04-16 23:08:36 +01:00
string0.c REPl working on UART6 with STMHAL 2014-03-12 18:15:55 -07:00
system_stm32f4xx.c stmhal: Disable redundant SystemCoreClockUpdate function. 2014-03-15 14:45:51 +00:00
systick.c stmhal - More systick cleanup. Fix HAL_Delay 2014-03-13 16:17:01 -07:00
systick.h stmhal - More systick cleanup. Fix HAL_Delay 2014-03-13 16:17:01 -07:00
timer.c stmhal: Improve flash storage cache management. 2014-04-16 23:08:36 +01:00
timer.h stmhal: Add ADC function to read data at a given frequency. 2014-04-15 19:52:56 +01:00
usart.c stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
usart.h stmhal: Improved usart module a bit. 2014-04-14 01:45:58 +01:00
usb.c stmhal: Put a USB structure in ROM; GC doesn't scan the data segment. 2014-04-12 18:50:20 +01:00
usb.h stmhal: Add home/end cursor support in readline. 2014-04-03 23:30:24 +01:00
usbd_cdc_interface.c stmhal: Fix 64-byte USB packet bug properly. 2014-04-17 00:12:07 +01:00
usbd_cdc_interface.h stmhal: Add timer module; move servo PWM from TIM2 to TIM5. 2014-04-02 15:09:36 +01:00
usbd_conf.c stmhal: USB CDC and MSC device work together. 2014-03-22 12:32:54 +00:00
usbd_conf.h stmhal: Tidy up USB device configuration. Make it use less RAM. 2014-03-22 12:46:23 +00:00
usbd_desc.h stmhal: Put a USB structure in ROM; GC doesn't scan the data segment. 2014-04-12 18:50:20 +01:00
usbd_desc_cdc_msc.c stmhal: Change VID to 0xf055=FOSS, and PID to a random number. 2014-04-17 01:09:32 +01:00
usbd_msc_storage.c Merge pull request #500 from dhylands/fix-sdcard-removed 2014-04-17 00:23:43 +01:00
usbd_msc_storage.h stmhal: Add support for USB MSC device. 2014-03-21 23:32:01 +00:00
usrsw.c stmhal: Big cleanup; merge gpio into Pin; make names consistent. 2014-04-18 22:38:09 +01:00
usrsw.h stmhal: Implement selector for USB device mode; improve boot up. 2014-03-30 00:00:15 +00:00