Daniel Campora
1811c6bccf
cc3200: Remove Timer.AB constant.
Timer.A and Timer.B can be ORed for this purpose.
10 years ago
Daniel Campora
e2dc7ac2a9
cc3200: Clarify notes about the extended functionality of uhashlib.
10 years ago
Daniel Campora
95cc1ff542
cc3200: Re-name pyb.hard_reset() to pyb.reset().
10 years ago
Daniel Campora
330e21c986
cc3200: Use the pull up/down resistors on the antenna selection pins.
10 years ago
Daniel Campora
3319780e96
cc3200: Add sendbreak method to the UART.
10 years ago
Daniel Campora
8a6d93aeed
cc3200: Make UART API more similar to stmhal.
10 years ago
Daniel Campora
640d00ea9d
cc3200: Change MP_OBJ_NULL for mp_const_none in params default value.
10 years ago
Daniel Campora
071d47fa3b
cc3200: Only kick the WDT if it's actually running.
10 years ago
Daniel Campora
6148f8b7d2
cc3200: Add contructor to the HeartBeat class.
10 years ago
Daniel Campora
371f4ba6b3
cc3200: Wrap antenna_init0() with #if MICROPY_HW_ANTENNA_DIVERSITY.
10 years ago
Daniel Campora
491c321720
cc3200: Re-config antenna selection when waking from suspended mode.
10 years ago
Daniel Campora
a3acaa000c
cc3200: Add antenna selection feature to WLAN.
10 years ago
Daniel Campora
a3cf4ea2f6
cc3200: Do not kick the watchdog inside the idle task.
10 years ago
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.
10 years ago
Daniel Campora
2ffb6e1b15
cc3200: Fix 'MP_QSTR_sd' undeclared error when building for the LAUNCHXL.
10 years ago
Daniel Campora
84d11b5e53
cc3200: Add period set method to the Timer class.
10 years ago
Daniel Campora
417205623a
cc3200: Fix incorrect type for the wake cause variable.
10 years ago
Daniel Campora
2f2c0a13fb
cc3200: Clean up WLAN API. Make WLAN.info() an attrtuple.
10 years ago
Daniel Campora
622f241317
cc3200: Rename pyb.reset() to pyb.hard_reset() and add pyb.unique_id().
10 years ago
Daniel Campora
2abb58d758
cc3200: Rename Pin.get_config() to Pin.info().
10 years ago
Daniel Campora
1580e331ef
cc3200: Make small changes in WLAN to improve the API.
10 years ago
Daniel Campora
c754d8011d
cc3200: Simplify SPI polarity and phase checks in constructor.
10 years ago
Daniel Campora
9414f92fa9
cc3200: Fix I2C and SPI module references.
10 years ago
Daniel Campora
8096be089e
cc3200: Add make_new method to the WDT.
10 years ago
Daniel Campora
fca3493442
cc3200: Add make_new method to the RTC, like in stmhal.
10 years ago
Daniel Campora
5a0c5f8fea
cc3200: Use the WDT stall feature in debug mode only.
10 years ago
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.
10 years ago
Daniel Campora
fabe79f7af
cc3200: Clean up exception handling.
10 years ago
Daniel Campora
124aa000af
cc3200: Use polarity and phase instead of submode in the SPI construct.
10 years ago
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.
10 years ago
Daniel Campora
6545336206
cc3200: Make the WDT aware of the servers sleep/wake state.
10 years ago
Daniel Campora
5cd34aca27
cc3200: Use the correct ADC channel index when creating the object.
10 years ago
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.
10 years ago
Daniel Campora
9f8c5456be
cc3200: Reset the servers and close user sockets on WLAN disconection.
This is needed to avoid half-open connections.
10 years ago
Daniel Campora
ed56b0baba
cc3200: Finally unlock the full wake on WLAN feature set.
10 years ago
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.
10 years ago
Daniel Campora
7506db4ccb
cc3200: Remove uhashlib.hexdigest().
10 years ago
Daniel Campora
e800db562f
cc3200: Add uhashlib. Supports SHA1 and SHA256.
10 years ago
Daniel Campora
5e38b48dd6
cc3200: Fix time.localtime() so that it returns the correct fields.
10 years ago
Daniel Campora
56053c37cf
cc3200: Rewrite WLAN.ifconfig(). Add WLAN.info() and WLAN.connections().
10 years ago
Daniel Campora
6f848b6dba
cc3200: Set the timer edge count interrupt value in the calbback const.
10 years ago
Daniel Campora
95a4f61499
cc3200: Make sure RTC wake value is >= 1ms.
10 years ago
Daniel Campora
c27dc38e85
cc3200: Re-name 'intmode' to 'mode' in the callback API.
10 years ago
Daniel Campora
cd3f2523f1
cc3200: Disable WLAN.urn() by default.
Can be enabled by defining MICROPY_PORT_WLAN_URN=1 in mpconfigport.h.
10 years ago
Daniel Campora
a379b6ed11
cc3200: Add optional timeout param to WLAN.connect().
10 years ago
Daniel Campora
fb9e4cf463
cc3200: Make sure to handle all pending pin interrupts.
When entering the interrupt handler of a given GPIO port, more than
one pin could have pending interrupts, therefore care must be taken
to service each interrupt one by one before leaving.
10 years ago
Daniel Campora
8e611e8414
cc3200: Add Timer module. Supports free running, PWM and capture modes.
10 years ago
Daniel Campora
9466e154b4
cc3200: Fix power mode param check in the UART callback constructor.
10 years ago
Daniel Campora
2b62707051
cc3200: Add os.rename()
10 years ago
Josef Gajdusek
1db4253886
lib: Move time utility functions to common library.
10 years ago