summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-21docs: Bump version to 1.4.2.v1.4.2Damien George
2015-04-21acks: Add 2 names to ACKNOWLEDGEMENTS file.Damien George
2015-04-20py: Make viper codegen raise proper exception (ViperTypeError) on error.Damien George
This fixes a long standing problem that viper code generation gave terrible error messages, and actually no errors on pyboard where assertions are disabled. Now all compile-time errors are raised as proper Python exceptions, and are of type ViperTypeError. Addresses issue #940.
2015-04-19tools/pyboard.py: Make it 8-bit clean, so it works with unicode chars.Damien George
Addresses issue #1190.
2015-04-19stmhal/pyexec.c: Make raw REPL mode 8-bit clean.Damien George
2015-04-19cc3200: Fix bootloader and modpyb after printf overhaul.Daniel Campora
The bootloader needs string0.c because of memset, memcpy and others, without string0.c it magically links, but calling any of those functions results in a hard fault. In debug mode, modpyb needs printf, and including stdio.h leads to conflicts due to the redefinitions made in the simplelink drivers.
2015-04-19qemu-arm: Disable inline asm tests that use floating point.Damien George
2015-04-19py/inlinethumb: Support for core floating point instructions.=
Adds support for the following Thumb2 VFP instructions, via the option MICROPY_EMIT_INLINE_THUMB_FLOAT: vcmp vsqrt vneg vcvt_f32_to_s32 vcvt_s32_to_f32 vmrs vmov vldr vstr vadd vsub vmul vdiv
2015-04-19py: Fix builtin ord so that it can handle bytes values >= 0x80.Damien George
Addresses issue #1188.
2015-04-18stmhal: Provide ADC capabilities for F401 and F411 MCUs.Damien George
Simply needed to define which pins have which ADC channel on them.
2015-04-18stmhal: Add support for STM32F411 MCU.Damien George
2015-04-18stmhal: For flash storage use same params for F407 as F405.Damien George
2015-04-18stmhal: Add support for Espruino Pico board.Damien George
To build: make BOARD=ESPRUINO_PICO To deploy: short the BOOT0/BTN contact on the back of the board (eg by drawing over it with a graphite pencil), then hold down BTN while inserting the board into the USB port. The board should then enter DFU mode, and the firmware can be downloaded using: make BOARD=ESPRUINO_PICO deploy
2015-04-18stmhal: Add stm32f401.ld for linking F401 targets.Damien George
2015-04-18stmhal: Make ld and af files configurable within Makefile.Damien George
Each board now needs an mpconfigboard.mk file which defines AF_FILE and LD_FILE. Also moved stm32f405.ld to boards/ directory to keep things organised.
2015-04-18stmhal: Add stm32f401_af.csv, for AF definitions of F401 MCUs.Damien George
2015-04-18stmhal: Rename stm32f4xx_af.csv to stm32f405_af.csv.Damien George
Since this file is only valid for F405 MCUs, not generic F4xx.
2015-04-18stmhal: Add support for flash filesystem on F401 MCUs.Damien George
It uses a 16k cache buffer and so the filesystem size is limited.
2015-04-18stmhal: Allow extint.c to compile without USB HS support.Damien George
2015-04-18stmhal: Make I2C busses and their pins configurable in mpconfigboard.h.Damien George
2015-04-18stmhal: Exclude code for UARTs that don't exist in hardware.Damien George
2015-04-18stmhal: Exclude USB HS code when USB HS mode not enabled.Damien George
2015-04-18stmhal: Exclude code for those timers that don't exist in the hardware.Damien George
2015-04-18stmhal: Make LCD initialiser use board pin names instead of cpu names.Damien George
2015-04-18stmhal: For pins, define macros mapping board names to cpu names.Damien George
2015-04-18stmhal: Make a HW config option for LED4 being controlled by PWM.Damien George
2015-04-18stmhal: Make HSE PLL parameters configurable per board.Damien George
2015-04-18README.md: Add the CC3200 port to the list of additional components.Daniel Campora
2015-04-18stmhal: Add support for sending and receiving CAN RTR messages.Henrik
2015-04-18cc3200: Clean up and reduce use/include of std.h.Damien George
2015-04-18stmhal: Remove std.h. It's not needed anymore.Damien George
2015-04-18lib/libc/string0.c: Remove include of std.h, replace with string.h.Damien George
Much more portable this way.
2015-04-18py/vstr.c: Allow vstr_printf to print correctly to a fixed buffer.Damien George
This patch allows vstr_printf to use all the available space of a fixed vstr buffer. vstr_printf is a good alternative to snprintf.
2015-04-17cc3200: Use new %q format to print qstr's where appropiate.Daniel Campora
2015-04-17cc3200: Clean up bootloader makefile and remove superflous assert.Daniel Campora
2015-04-17acks: Add 1 name to the ACKNOWLEDGEMENTS file.Damien George
2015-04-16stmhal: Allow sending CAN messages with timeout=0.Damien George
Thanks to Henrik Sölver for this patch.
2015-04-16stmhal: Use new %q format to print qstr's in a few more places.blmorris
Saves 68 bytes.
2015-04-16Add .gitattributes file to force text line endings to LF.Damien George
Some files are excluded, otherwise a whole lot of files need converting.
2015-04-16logo: Change line endings in FONT-LICENSE.txt from CRLF to LF.Damien George
2015-04-16tests: Convert line endings in fun_name.py from CRLF to LF.Damien George
2015-04-16qemu-arm: Get compiling again with recent changes to print framework.Damien George
2015-04-16cc3200: Get bootloader compiling with latest overhaul of printf code.Damien George
2015-04-16py: Add %q format support to mp_[v]printf, and use it.Damien George
2015-04-16py: Convert occurrences of non-debug printf to mp_printf.Damien George
2015-04-16py: Make mp_sys_stdout_print object, wrapping sys.stdout for mp_print*.Damien George
So now all printing should go via either mp_plat_print or mp_sys_stdout_print.
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
Previous to this patch the printing mechanism was a bit of a tangled mess. This patch attempts to consolidate printing into one interface. All (non-debug) printing now uses the mp_print* family of functions, mainly mp_printf. All these functions take an mp_print_t structure as their first argument, and this structure defines the printing backend through the "print_strn" function of said structure. Printing from the uPy core can reach the platform-defined print code via two paths: either through mp_sys_stdout_obj (defined pert port) in conjunction with mp_stream_write; or through the mp_plat_print structure which uses the MP_PLAT_PRINT_STRN macro to define how string are printed on the platform. The former is only used when MICROPY_PY_IO is defined. With this new scheme printing is generally more efficient (less layers to go through, less arguments to pass), and, given an mp_print_t* structure, one can call mp_print_str for efficiency instead of mp_printf("%s", ...). Code size is also reduced by around 200 bytes on Thumb2 archs.
2015-04-16objarray: Support assignment of bytes to bytearray slice.Paul Sokolovsky
2015-04-14acks: Add 2 names to the ACKNOWLEDGEMENTS file.Damien George
2015-04-14cc3200: Correct the IP address byte order in the FTP server.Daniel Campora