Damien George
d8cbbcaa9d
py: Fix builtin ord so that it can handle bytes values >= 0x80.
...
Addresses issue #1188 .
2015-04-19 12:26:46 +01:00
Damien George
404b68da88
stmhal: Provide ADC capabilities for F401 and F411 MCUs.
...
Simply needed to define which pins have which ADC channel on them.
2015-04-18 22:39:06 +01:00
Damien George
b42a5050fb
stmhal: Add support for STM32F411 MCU.
2015-04-18 22:15:59 +01:00
Damien George
3e592531eb
stmhal: For flash storage use same params for F407 as F405.
2015-04-18 22:08:16 +01:00
Damien George
90e6d0c2ac
stmhal: Add support for Espruino Pico board.
...
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-18 21:40:59 +01:00
Damien George
e4b4e5aa31
stmhal: Add stm32f401.ld for linking F401 targets.
2015-04-18 21:40:59 +01:00
Damien George
0435e76250
stmhal: Make ld and af files configurable within Makefile.
...
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-18 21:40:59 +01:00
Damien George
03ec6e4d01
stmhal: Add stm32f401_af.csv, for AF definitions of F401 MCUs.
2015-04-18 21:40:59 +01:00
Damien George
9253e7bdf7
stmhal: Rename stm32f4xx_af.csv to stm32f405_af.csv.
...
Since this file is only valid for F405 MCUs, not generic F4xx.
2015-04-18 21:40:59 +01:00
Damien George
6be0bbb886
stmhal: Add support for flash filesystem on F401 MCUs.
...
It uses a 16k cache buffer and so the filesystem size is limited.
2015-04-18 21:40:59 +01:00
Damien George
5a11086d64
stmhal: Allow extint.c to compile without USB HS support.
2015-04-18 21:40:59 +01:00
Damien George
d15fe5a6b3
stmhal: Make I2C busses and their pins configurable in mpconfigboard.h.
2015-04-18 21:40:59 +01:00
Damien George
8892f71dd0
stmhal: Exclude code for UARTs that don't exist in hardware.
2015-04-18 21:40:58 +01:00
Damien George
73f1a49137
stmhal: Exclude USB HS code when USB HS mode not enabled.
2015-04-18 21:40:58 +01:00
Damien George
c92c7a69fd
stmhal: Exclude code for those timers that don't exist in the hardware.
2015-04-18 21:40:58 +01:00
Damien George
7d6595fd18
stmhal: Make LCD initialiser use board pin names instead of cpu names.
2015-04-18 21:40:58 +01:00
Damien George
50ea86fe8b
stmhal: For pins, define macros mapping board names to cpu names.
2015-04-18 21:40:58 +01:00
Damien George
2e5704d101
stmhal: Make a HW config option for LED4 being controlled by PWM.
2015-04-18 21:40:58 +01:00
Damien George
8bdbc20e74
stmhal: Make HSE PLL parameters configurable per board.
2015-04-18 21:40:58 +01:00
Daniel Campora
23008db6e1
README.md: Add the CC3200 port to the list of additional components.
2015-04-18 19:49:00 +02:00
Henrik
e3cd154317
stmhal: Add support for sending and receiving CAN RTR messages.
2015-04-18 14:53:00 +01:00
Damien George
259eaab9a9
cc3200: Clean up and reduce use/include of std.h.
2015-04-18 14:29:28 +01:00
Damien George
2764a8ee8d
stmhal: Remove std.h. It's not needed anymore.
2015-04-18 14:28:39 +01:00
Damien George
f53a8e712f
lib/libc/string0.c: Remove include of std.h, replace with string.h.
...
Much more portable this way.
2015-04-18 14:27:55 +01:00
Damien George
1c9a499135
py/vstr.c: Allow vstr_printf to print correctly to a fixed buffer.
...
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-18 14:23:13 +01:00