Daniel Campora
e9fa7625f4
cc3200: Correct WLAN constructor argument checking.
9 years ago
Daniel Campora
c0c07fb1b6
cc3200: Don't clear the WDT special bit in the bootloader.
9 years ago
Daniel Campora
aa8e8acb7d
cc3200: Change HeartBeat period from 5 to 4 seconds.
9 years ago
Daniel Campora
f837d166e5
cc3200: Fix typo in modpyb.
9 years ago
Daniel Campora
9249242119
cc3200: Remove unneeded loops in the FreeRTOS hooks.
9 years ago
Daniel Campora
641a3d39e1
cc3200: Make sure to update sleep objects when registered.
9 years ago
Daniel Campora
6ff2d54347
cc3200: Small renaming in wdt functions for the sake of consistency.
9 years ago
Daniel Campora
11d21081b4
cc3200: Rework SD API. Increase heap to avoid malloc failures.
9 years ago
Daniel Campora
34c290b678
cc3200: Rename SPI nss param to cs.
The nss param in the pyboard has a different meaning that doesn't
apply to the WiPy.
9 years ago
Daniel Campora
ea5061e409
cc3200: Improve callback API.
Rename "wakes" param to "wake_from" and make "value" an object
instead of an integer.
9 years ago
Daniel Campora
4c5bfe2d10
cc3200: Server side SSL socket requires both certfile and keyfile.
9 years ago
Dave Hylands
c6f1d47dcb
stmhal: Enable I & D caches for M7
9 years ago
stijn
3179d23cee
windows: Make unistd.h more posix compatible
- add SEEK_XXX definitions, this fixes missing definition in py/stream.c
- move R_OK from realpath.c and add W_OK/F_OK defintions
- move STDXXX_FILENO definitions from mpconfigport for consistency
9 years ago
blmorris
bdd78c31b6
py: Add stream_tell method, and use for unix and stmhal file tell.
9 years ago
Damien George
c39093d801
py: In native ARM emitter, load r7 with table earlier in func prelude.
r7 may be needed to set up code state, so it must be loaded before the
set-up function is called.
9 years ago
Damien George
94ef8879cd
py/makeversionhdr.py: Use returncode attr to be Python2.7 compat.
9 years ago
Damien George
b7d59060e2
tools: Make gen-changelog.sh print more lines from the tag annotation.
9 years ago
Damien George
032b0e9369
docs: Bump version to 1.4.5.
9 years ago
Damien George
0d5d16074f
py/makeversionhdr.py: Fallback to using docs version if no git repo.
Addresses issue #1420 .
9 years ago
Daniel Campora
7027fd5343
cc3200: Make ADC API compatible with the pyboard.
9 years ago
Daniel Campora
7da2fdc3cd
cc3200: On the first boot, always make AP ssid='wipy-wlan'.
On the first boot don't add the MAC address, this is to speed up
factory testing.
9 years ago
Daniel Campora
2673374d18
cc3200: Refactor PRCM special user bits implementation.
9 years ago
Daniel Campora
651c870d77
cc3200: Speed up file system checking during start-up.
9 years ago
Daniel Campora
aa3569cd57
cc3200: Add factory smoke test as part of the tools.
9 years ago
Daniel Campora
8cd9fedf58
cc3200: Add script to program the WiPy via UniFlash (windows only...).
9 years ago
Daniel Campora
e23ae63970
cc3200: Fix bug in ffconf regarding '/flash' string length.
This bug was introduced when renaming '/sflash' to '/flash'.
9 years ago
Daniel Campora
31f6a6fa70
cc3200: Enable bootloader safe boot on latest firmware.
The first safe boot level executes the latest firmware but skips
'main.py' and 'boot.py'.
9 years ago
Daniel Campora
e54a4f1f48
cc3200: Improve support for WEP security.
Key is always entered as a string, but if security is WEP, the key
is converted automatically to hex before connecting or configuring
the device as an AP.
9 years ago
Daniel Campora
d43019163d
docs: Add i2c keywork arguments only indication.
9 years ago
Daniel Campora
00c4d6562e
cc3200: Add nic.iwconfig() to set/get WLAN configuration.
Changes are based on this post:
https://github.com/micropython/micropython/issues/876#issuecomment-115255551
The constructor can optionally take the same params of iwconfig in
order to configure WiFi when creating the object. Params are
keyworkd only. The WiPy accepts:
- mode (int -> WLAN.AP or WLAN.STA)
- ssdi (string)
- security (int -> WLAN.OPEN, WLAN.WEP, WLAN.WPA, WLAN.WPA2)
- key (string)
- channel (int (1-11))
- antenna (int -> WLAN.INTERNAL, WLAN.EXTERNAL)
9 years ago
Damien George
e86b47175f
tools: Make pyboard.py Python2 compatible.
9 years ago
Tom Soulanille
20f40c3229
tests: Remove over-specification of startup banner
9 years ago
stijn
dbfba6a20e
tests: Fix exceptions when running cmdline tests on windows
- subprocess.check_output can only handle strings on windows, not bytes,
so convert the arguments as such
- the pty module is for posix systems only so skip the tests needing it
in case it is not available
9 years ago
stijn
7ede3ec4b1
tests: Always use forward slashes for paths
This is more consistent and fixes run_micropython on windows as it uses
forward slahses to compare paths
9 years ago
Dave Hylands
872f9af6ae
stmhal: Use CMSIS_MCU definition from mpconfigboard.mk
This needs to land afte #1407 lands, since #1407 is where
the CMSIS_MCU was defined.
9 years ago
Dave Hylands
8f59bacb92
stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7
9 years ago
Dave Hylands
be66a9ecf6
stmhal: Generate modstm constants per build
This causes unnecessary constants to no longer be generated.
Some constants (like UART_BRR) are different between the F4 and F7
9 years ago
Damien George
4836bcc957
stmhal/cmsis: Replace non-ascii apostrophe with ascii apostrophe.
9 years ago
Tom Soulanille
89852d38ef
run-tests: Test REPL emacs keys, but only if present.
Uses cmdline/repl_emacs_check.py to check for presence of emacs keys in
repl before doing full feature test.
9 years ago
Damien George
526dd54252
tests: Add test for pyboard SPI in slave mode, recv with no master.
See PR #1414 .
9 years ago
Dave Hylands
8a1a5c236d
stmhal: Fix hardfault when configured as a SPI slave
9 years ago
Dave Hylands
5e11d2b349
stmhal: Enable SPI support for F7 MCUs.
9 years ago
Dave Hylands
34fe5a30c6
stmhal: Enable I2C support for F7 MCUs.
9 years ago
blmorris
26664dd180
unix/mpconfigport.h: set MICROPY_PY_SYS_PLATFORM to "darwin" if compiled on OSX
This change allows micropython to return the same value as CPython for sys.platform
9 years ago
Damien George
4434e43fa1
stmhal: Add HALCOMMITS file with list of commits that touch the hal.
This file should be kept up to date with list of hal commits.
9 years ago
Dave Hylands
7a55c1a884
stmhal: Port of f4 hal commit 1d7fb82
to f7 hal
9 years ago
Dave Hylands
28e51c9eb1
stmhal: Port of f4 hal commit 09de030
to f7 hal
9 years ago
Dave Hylands
af9d885f8c
stmhal: Port of f4 hal commit c568a2b
to f7 hal
9 years ago
Dave Hylands
9e8eba797e
stmhal: M7 Reset clocksources changed by DFU bootloader
The DFU bootloader on the ST32F7 chip changes the clocksource
for various possible boot sources (UART1, UART3, I2C1-3).
This commit resets those clock sources back to their cold
reset values.
9 years ago
Dave Hylands
8f1eced69d
stmhal: Add STM32F7 support for USB serial and storage.
USB serial is now working for F7.
Internal file storage is now working for F7. The flash is laid out a bit
differently to the F4 - 4 x 32K, 1 x 128K with the rest 256K, so the
internal storage is 96K.
Added more pind definitions for STM32F7DISC board. Made USART1 be the
default HWUART repl. The STLINK usb connector also looks like a USB
serial port which is attached to USART1 on the STM32F7DISC.
9 years ago