summaryrefslogtreecommitdiff
path: root/drivers/cc3000
AgeCommit message (Collapse)Author
2022-08-26drivers/cc3000: Remove CC3000 WiFi driver files.Damien George
It's no longer used by any port. Signed-off-by: Damien George <damien@micropython.org>
2022-07-23drivers,ports: Fix a few typos in comments.Tim Gates
Fixes: - Should read `definitions` rather than `defintions`. - Should read `resolution` rather than `resoultion`. - Should read `inefficient` rather than `inefficent`. - Should read `closed` rather than `closded`. Signed-off-by: Tim Gates <tim.gates@iress.com>
2018-08-08drivers/cc3000: Use cc3000_time_t instead of time_t for custom typedef.roland
Otherwise it can clash with time_t from the C standard include headers.
2018-02-05drivers/cc3200: Update to work with new stm32 SPI API.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
Header files that are considered internal to the py core and should not normally be included directly are: py/nlr.h - internal nlr configuration and declarations py/bc0.h - contains bytecode macro definitions py/runtime0.h - contains basic runtime enums Instead, the top-level header files to include are one of: py/obj.h - includes runtime0.h and defines everything to use the mp_obj_t type py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h, and defines everything to use the general runtime support functions Additional, specific headers (eg py/objlist.h) can be included if needed.
2016-10-21py: Specialise builtin funcs to use separate type for fixed arg count.Damien George
Builtin functions with a fixed number of arguments (0, 1, 2 or 3) are quite common. Before this patch the wrapper for such a function cost 3 machine words. After this patch it only takes 2, which can reduce the code size by quite a bit (and pays off even more, the more functions are added). It also makes function dispatch slightly more efficient in CPU usage, and furthermore reduces stack usage for these cases. On x86 and Thumb archs the dispatch functions are now tail-call optimised by the compiler. The bare-arm port has its code size increase by 76 bytes, but stmhal drops by 904 bytes. Stack usage by these builtin functions is decreased by 48 bytes on Thumb2 archs.
2016-05-10drivers/cc3000: Rename timeval to cc3000_timeval, to avoid clash.Damien George
The timeval struct can be defined by system C headers.
2015-04-18stmhal: Remove std.h. It's not needed anymore.Damien George
2015-01-07drivers/cc3000: Fix call to extint_register.Damien George
2015-01-01stmhal: Prefix includes with py/; remove need for -I../py.Damien George
2014-11-21drivers, cc3000: Cleaning up, make local functions static.Damien George
2014-09-30drivers, cc3000: Wrap exported functions in a macro for renaming.Damien George
2014-09-30stmhal: For spi_init, add argument to select if NSS pin is enabled.Damien George
Most of the time you don't use the NSS pin of the SPI bus, and so it shouldn't be enabled by default (this gave some bugs in the past).
2014-09-26drivers, cc3k: Move cc3000 driver from stmhal to drivers directory.Damien George