aboutsummaryrefslogtreecommitdiff
path: root/stmhal
AgeCommit message (Collapse)Author
2014-07-15Initial commit of Myriad2 board-specific configuration filesblmorris
2014-07-11Incorporate stylistic changes suggested by @dhylandsblmorris
2014-07-11Add keyword argument 'memaddr_use_16b' to i2c.mem_read and mem_write methodsblmorris
to allow these methods to transmit 16 bit addresses to an i2c device Add 'memaddr_use_16b' to qstrdefsport.h
2014-07-07stmhal: Protect SD_WriteBlocks by IRQ disable/enable pair.Damien George
2014-07-06Disable IRQs around sdcard reads.Dave Hylands
Once the code switches to using DMA, this can be removed.
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
See discussion in issue #50.
2014-07-02stmhal: Some reordering of code/functions.Damien George
2014-07-02Merge branch 'add-timer-deinit' of github.com:dhylands/micropython into ↵Damien George
dhylands-add-timer-deinit
2014-07-02Merge pull request #709 from windelbouwman/masterDamien George
Added hexfile target
2014-07-02Merge branch 'teensy-new' of github.com:dhylands/micropython into ↵Damien George
dhylands-teensy-new Conflicts: stmhal/pin_named_pins.c stmhal/readline.c Renamed HAL_H to MICROPY_HAL_H. Made stmhal/mphal.h which intends to define the generic Micro Python HAL, which in stmhal sits above the ST HAL.
2014-07-01Merge pull request #734 from iabdalkader/copysignDamien George
Add copysignf
2014-07-01stackctrl: Add "mp_" prefix.Paul Sokolovsky
2014-06-30Add timer_deinit and call it just before doing a soft-restartDave Hylands
This fixes #733.
2014-06-30Add copysignfmux
* Fix #692
2014-06-30Merge pull request #710 from iabdalkader/assertDamien George
Fix assert_func warning/error
2014-06-29stmhal: pyb.adc: Clarify that buffer with elements of any size can be used.Paul Sokolovsky
Based on forum post: http://forum.micropython.org/viewtopic.php?f=6&t=193
2014-06-28stmhal: Include mpconfig.h before all other includes.Paul Sokolovsky
It defines types used by all other headers. Fixes #691.
2014-06-28unix, stmhal: Add option for STR_UNICODE to mpconfigport.h.Damien George
Unicode is disabled by default for now, since FileIO.read(n) is currently not implemented for text-mode files, and this is an often function.
2014-06-27py: Move stack_ctrl_init() to mp_init().Paul Sokolovsky
As stack checking is enabled by default, ports which don't call stack_ctrl_init() are broken now (report RuntimeError on startup). Save them trouble and just init stack control framework in interpreter init.
2014-06-27Change MCU name config micromux
2014-06-27Merge pull request #703 from iabdalkader/micro_namesPaul Sokolovsky
Add MICROPY_HW_MICRO_NAME to boards config
2014-06-27stmhal: Use stackctrl framework.Paul Sokolovsky
2014-06-25Use mp_const_none to initialize mapper and map_dictDave Hylands
2014-06-21Add NORETURN to __fatal_errormux
2014-06-21Fix asser_func warning/errormux
* Add while(1) to assert_func to avoid func returns warning * Define a weak attr in mpconfig.h
2014-06-20Merge pull request #707 from eblot/master-v1.1.1-build-fixesPaul Sokolovsky
Fix missing declaration of assert() Replace ARRAY_SIZE with MP_ARRAY_SIZE
2014-06-20Added hexfile targetWindel Bouwman
2014-06-19Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot
2014-06-19Add MICROPY_HW_MICRO_NAME to boards configmux
2014-06-18bare-arm, stmhal, teensy: Duplicate -nostdlib to CFLAGSSven Wegener
As we are building with -nostdlib gcc features like the stack protector will fail linking, because the failure handlers are in gcc's internal libs. Such features are implicitly disabled during compilation when -nostdlib is used in CFLAGS too. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2014-06-18bare-arm, stmhal: Fix --nostdlib to -nostdlibSven Wegener
-nostdlib is the correct option, gcc recognizes the double dash version when in link-only mode, but not when compiling. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2014-06-17Merge pull request #698 from dhylands/adc-fixDamien George
Fix problem with ADC reads and multiple channels
2014-06-17stmhal: Toggle LED using ODR ^= pin_mask.Damien George
2014-06-16Fix problem with ADC reads and multiple channelsDave Hylands
2014-06-15Updated teensy to build.Dave Hylands
Refactored some stmhal files which are shared with teensy.
2014-06-15stmhal: Add Python function to set UART for REPL.Damien George
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-15stmhal: Fix type signatures on functions that take variable args.Damien George
2014-06-15stmhal: Fix file print methods to use print instead of printf.Damien George
Also make stdout_print_strn static (ultimately this function needs to be merged with stdout_tx_strn).
2014-06-15stmhal: Update and improve LCD driver.Damien George
Still some method names to iron out, and funtionality to add, but this will do for the first, basic version.
2014-06-14Make __assert_func weakmux
2014-06-14Add __assert_func only if DEBUG=1mux
2014-06-14Add __assert_funcmux
* issue #692
2014-06-11stmhal, file: Seek to end of file if opened in 'a' mode.Damien George
2014-06-11stmhal, file: Implement a,x,+ open modes, seek and tell.Damien George
Also now returns correct POSIX errno when an IO operation fails. Addresses issues #516 and #676.
2014-06-08stmhal: Fix pyb.bootloader so it works for gcc-4.9.0.Damien George
See PR #618.
2014-06-08Provide definition of alloca() in mpconfigport.h.Damien George
2014-06-03Merge branch 'master' of https://github.com/micropython/micropythonbvernoux
2014-06-03Cleanup/removed specific stuff specific to HydraBus (except board).bvernoux
2014-06-02Add missing commas to stm32f4xx-af.csvDave Hylands
2014-06-02micropython port for HydraBusbvernoux