Commit graph

10 commits

Author SHA1 Message Date
sheinz
a91ec6eb61 sysparam fixes, tests, spi flash refactoring (#299)
Original work by @ourairquality
* Sysparam threadsafe and SPI access
* Sysparam test cases
* Fix for negative int8
* Sysparam getting bool without memory allocation. Bool tests.
* SPI flash refactoring.
* Extract common spiflash.c into core.
* Use spiflash.c in sysparam.
* Use memcpy in spiflash.c insted of hand-written version.
* Tests for spiflash.c
2017-03-22 02:18:04 +05:00
Alex Stewart
4d6fa0ccfa Misc post-merge fixups 2016-07-06 17:21:34 +10:00
Alex Stewart
2ecbf1d584 First batch of opensdk additions
Replacements for:
    libmain/misc.o
    libmain/os_cpu_a.o
    libmain/spi_flash.o
    libmain/timers.o
    libmain/uart.o
    libmain/xtensa_context.o
2016-07-06 17:21:34 +10:00
Angus Gratton
b9f8e8a648 spi_flash.h: Add note that pointers need to be word-aligned 2016-05-28 11:27:10 +10:00
Angus Gratton
a32d1099fa espressif/spi_flash.h: Add comments and more appropriate argument types 2016-02-26 16:10:51 +11:00
Michael Jacobsen
da6b5f74bb Mostly updated header files for use in C++ 2015-08-10 15:31:03 +10:00
Angus Gratton
1cb2de5b96 spi_flash.h: Correct comment regarding flashchip structure
From ed0a079d9b
2015-08-07 18:19:09 +10:00
Angus Gratton
ed0a079d9b Expose SDK flashchip parameter
More thanks due to @foogod's RE work for this.
2015-08-06 11:40:44 +10:00
Angus Gratton
e743d03a78 Preprocess all binary SDK symbols to add an sdk_ prefix
* This fixes the problem of axTLS symbols hmac_md5/hmac_sha1 having same
  name as symbols in libwpa (which have incompatible signatures)

* Also allows for easier identification and piece-by-piece removal of
  binary functions.

* Some libc symbols are not renamed, list is in lib/symbols_norename.txt
2015-06-02 15:08:35 +10:00
Angus Gratton
1ffbc303ff Working variant of esp_iot_rtos_sdk (files from commit ec75c85f9ef53) 2015-05-07 14:22:25 +10:00