Daniel Campora
f28ed55aeb
cc3200/README.md: Specify the board name in the build command.
2015-06-11 09:26:36 +02:00
Daniel Campora
b630de1103
cc3200: Rename os.mkdisk() to os.mkfs().
2015-06-10 23:35:45 +02:00
Daniel Campora
1811c6bccf
cc3200: Remove Timer.AB constant.
...
Timer.A and Timer.B can be ORed for this purpose.
2015-06-10 23:35:43 +02:00
Daniel Campora
e2dc7ac2a9
cc3200: Clarify notes about the extended functionality of uhashlib.
2015-06-10 23:35:41 +02:00
Daniel Campora
95cc1ff542
cc3200: Re-name pyb.hard_reset() to pyb.reset().
2015-06-10 23:35:40 +02:00
Daniel Campora
330e21c986
cc3200: Use the pull up/down resistors on the antenna selection pins.
2015-06-10 23:35:38 +02:00
Daniel Campora
f960d753e4
cc3200: Fix bootloader build error.
2015-06-10 23:35:36 +02:00
Daniel Campora
3319780e96
cc3200: Add sendbreak method to the UART.
2015-06-10 23:35:35 +02:00
Daniel Campora
8a6d93aeed
cc3200: Make UART API more similar to stmhal.
2015-06-10 23:35:33 +02:00
Daniel Campora
640d00ea9d
cc3200: Change MP_OBJ_NULL for mp_const_none in params default value.
2015-06-10 23:35:32 +02:00
Daniel Campora
071d47fa3b
cc3200: Only kick the WDT if it's actually running.
2015-06-10 23:35:30 +02:00
Daniel Campora
6148f8b7d2
cc3200: Add contructor to the HeartBeat class.
2015-06-10 23:35:28 +02:00
Daniel Campora
371f4ba6b3
cc3200: Wrap antenna_init0() with #if MICROPY_HW_ANTENNA_DIVERSITY.
2015-06-08 10:38:19 +02:00
Daniel Campora
491c321720
cc3200: Re-config antenna selection when waking from suspended mode.
2015-06-07 13:28:47 +02:00
Daniel Campora
b4a41a8f70
cc3200: Add missing antenna diversity source files.
2015-06-07 00:42:40 +02:00
Daniel Campora
a3acaa000c
cc3200: Add antenna selection feature to WLAN.
2015-06-07 00:06:27 +02:00
Daniel Campora
a3cf4ea2f6
cc3200: Do not kick the watchdog inside the idle task.
2015-06-04 10:13:55 +02:00
Daniel Campora
71f85cc330
cc3200: Close ftp and telnet server sockets if listening fails.
2015-06-04 10:13:53 +02:00
Daniel Campora
cc20482aa9
cc3200: Add method to configure the servers timeout.
...
With network.server_timeout(secs) the timeout can be changed.
The default value is 300 secs. Minimmum accpeted is 5 secs.
Without params the function returns the current configured timeout.
2015-06-03 17:31:21 +02:00
Daniel Campora
2ffb6e1b15
cc3200: Fix 'MP_QSTR_sd' undeclared error when building for the LAUNCHXL.
2015-06-02 13:11:01 +02:00
Daniel Campora
84d11b5e53
cc3200: Add period set method to the Timer class.
2015-05-29 15:54:46 +02:00
Daniel Campora
417205623a
cc3200: Fix incorrect type for the wake cause variable.
2015-05-29 15:54:16 +02:00
Daniel Campora
2f2c0a13fb
cc3200: Clean up WLAN API. Make WLAN.info() an attrtuple.
2015-05-29 15:48:41 +02:00
Daniel Campora
622f241317
cc3200: Rename pyb.reset() to pyb.hard_reset() and add pyb.unique_id().
2015-05-29 10:22:20 +02:00
Daniel Campora
78744c4f7a
cc3200: Remove WIPY-SD variant, and make the WiPy the default board.
2015-05-28 13:22:26 +02:00
Daniel Campora
2abb58d758
cc3200: Rename Pin.get_config() to Pin.info().
2015-05-28 13:10:46 +02:00
Daniel Campora
1580e331ef
cc3200: Make small changes in WLAN to improve the API.
2015-05-28 13:10:44 +02:00
Daniel Campora
c754d8011d
cc3200: Simplify SPI polarity and phase checks in constructor.
2015-05-27 09:45:32 +02:00
Daniel Campora
95104b0fbd
cc3200: Add note about old revisions of the CC3200-LAUNCHXL.
2015-05-27 09:45:30 +02:00
Daniel Campora
d07de2d307
cc3200: Move the STDIO UART pin configuration to mpconfigboard.h.
2015-05-27 09:45:29 +02:00
Daniel Campora
9414f92fa9
cc3200: Fix I2C and SPI module references.
2015-05-27 09:45:27 +02:00
Daniel Campora
8096be089e
cc3200: Add make_new method to the WDT.
2015-05-27 09:45:25 +02:00
Daniel Campora
fca3493442
cc3200: Add make_new method to the RTC, like in stmhal.
2015-05-27 09:45:24 +02:00
Daniel Campora
5a0c5f8fea
cc3200: Use the WDT stall feature in debug mode only.
2015-05-27 09:45:22 +02:00
Daniel Campora
ec1f0e7551
cc3200: Use MCU reset instead of SOC reset.
...
I have seen the CC3200 hanging a couple of times, and according to TI
itself the SOC reset is not reliable, which explains my observations.
2015-05-27 09:45:21 +02:00
Daniel Campora
fabe79f7af
cc3200: Clean up exception handling.
2015-05-26 12:29:20 +02:00
Daniel Campora
124aa000af
cc3200: Use polarity and phase instead of submode in the SPI construct.
2015-05-26 11:30:48 +02:00
Daniel Campora
2dd47239de
cc3200: Make API more similar to stmhal.
...
In general the changes are:
1. Peripheral (UART, SPI, ADC, I2C, Timer) IDs start from 1, not zero.
2. Make I2C and SPI require the ID even when there's only one bus.
3. Make I2C and SPI accept 'mode' parameter even though only MASTER
is supported.
2015-05-25 21:47:19 +02:00
Daniel Campora
6545336206
cc3200: Make the WDT aware of the servers sleep/wake state.
2015-05-25 21:14:54 +02:00
Daniel Campora
5cd34aca27
cc3200: Use the correct ADC channel index when creating the object.
2015-05-25 21:14:46 +02:00
Daniel Campora
95f19b4542
cc3200: Remove duplicated checks for boot.py and main.py existency.
2015-05-25 21:14:39 +02:00
Daniel Campora
90d7c4ef3d
cc3200: Make HeartBeat.disable() thread safe.
2015-05-25 21:14:31 +02:00
Daniel Campora
3cb804de26
cc3200: Remove NIC abstraction layer.
...
That layer is nice, but the CC3200 doesn't need it and getting rid of
it saves ~200 bytes, which are more than welcome.
2015-05-24 11:44:08 +02:00
Daniel Campora
9f8c5456be
cc3200: Reset the servers and close user sockets on WLAN disconection.
...
This is needed to avoid half-open connections.
2015-05-24 11:44:06 +02:00
Daniel Campora
ed56b0baba
cc3200: Finally unlock the full wake on WLAN feature set.
2015-05-22 19:53:33 +02:00
Daniel Campora
18030bd85d
cc3200: Add own ubinascii module.
...
The reason to have our owm ubinascii module is so that later we
can add crc32 support using the hardware engine.
2015-05-22 09:56:11 +02:00
Daniel Campora
7506db4ccb
cc3200: Remove uhashlib.hexdigest().
2015-05-21 18:51:57 +02:00
Daniel Campora
e800db562f
cc3200: Add uhashlib. Supports SHA1 and SHA256.
2015-05-20 11:44:24 +02:00
Daniel Campora
5e38b48dd6
cc3200: Fix time.localtime() so that it returns the correct fields.
2015-05-20 11:44:22 +02:00
Daniel Campora
56053c37cf
cc3200: Rewrite WLAN.ifconfig(). Add WLAN.info() and WLAN.connections().
2015-05-20 11:44:21 +02:00