Yuguo Zou
d96de9c21a
update to lwip_stack issue
2017-06-03 20:14:56 +01:00
Yuguo Zou
de8f2ad1f1
switch off tcm_heap usage
2017-06-03 20:14:56 +01:00
Yuguo Zou
57f385a2fd
mute some debug message in wlan lib
2017-06-03 20:14:56 +01:00
Yuguo Zou
7c2e73df4c
Add Arduino pins
2017-06-03 20:14:55 +01:00
Yuguo Zou
8d20c35508
Update lib (enum issue)
2017-06-03 20:14:55 +01:00
Yuguo Zou
29e11a1cb9
move REALTEK_RTL8195AM.py, remove progen in targets.json
2017-06-03 20:14:54 +01:00
Yuguo Zou
02687b5ec5
A fix to enum issue
2017-06-03 20:14:54 +01:00
Yuguo Zou
9a0cb73447
mute debug message in RAM1 (changed)
2017-06-03 20:14:52 +01:00
Yuguo Zou
f8019f4526
Mute RAM1 messages
2017-06-03 20:14:52 +01:00
Yuguo Zou
d461776ca7
Fix postbuild for ARM & GCC
2017-06-03 20:14:52 +01:00
Yuguo Zou
7867a816d7
WiFi test fix for GCC
...
right now still need to add flag in gcc.py, we are fixing!
2017-06-03 20:14:51 +01:00
Archcady
6a47d01c4a
Rename Lwipopts_conf.h to lwipopts_conf.h
2017-06-03 20:14:51 +01:00
Yuguo Zou
9514cf810a
improve py code
2017-06-03 20:14:51 +01:00
Yuguo Zou
d75c5dbef0
minor fixes
...
correct heap size in icf file;
improve REALTEK_RTL8195AM.py
2017-06-03 20:14:50 +01:00
Yuguo Zou
b20d635882
fix the issue that GCC builds extra-large bin file
...
also a minor fix to IAR icf file
2017-06-03 20:14:50 +01:00
Yuguo Zou
3e9dafa853
remove "default_build" from targets.json
2017-06-03 20:14:50 +01:00
Yuguo Zou
0894548b3d
complete postbuild process for IAR
...
also reduce replicated code
2017-06-03 20:14:50 +01:00
Archcady
d0488c1076
Rename features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/target_realtek/Lwipopts_conf.h to features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_Realtek/Lwipopts_conf.h
2017-06-03 20:14:50 +01:00
Yuguo Zou
ad85a1409b
Remove IPV4 from features in targets.json
2017-06-03 20:14:49 +01:00
Yuguo Zou
41f20d6913
remove useless definitions in device.h
...
also fix a minor building error
2017-06-03 20:14:49 +01:00
Yuguo Zou
0d84a8d0d0
move network Interface API out
2017-06-03 20:14:49 +01:00
Archcady
173315ddf3
remove unused code
2017-06-03 20:14:49 +01:00
Yuguo Zou
c72257cbf8
update other file headers
2017-06-03 20:14:48 +01:00
Yuguo Zou
3395ebc520
update lib
2017-06-03 20:14:48 +01:00
Yuguo Zou
49baa975cd
py coding style
2017-06-03 20:14:46 +01:00
Yuguo Zou
5e47ad075d
Fix headers issue in TARGET_AMEBA\sdk\common folder
2017-06-03 20:14:46 +01:00
Yuguo Zou
4d52f985eb
change proprietary headers (APACHE2.0)
...
correct proprietary headers for some of our codes
2017-06-03 20:14:46 +01:00
Yuguo Zou
9e9878f377
improve coding style
...
consistent with other tools
2017-06-03 20:14:45 +01:00
Archcady
c20809492d
Rename rtl8195a_rom.so to rtl8195a_rom.o
2017-06-03 20:14:45 +01:00
Archcady
04ede46486
Add rtl8195a_rom.so
2017-06-03 20:14:45 +01:00
Archcady
3d59643061
Add lwipopts_conf.h
2017-06-03 20:14:45 +01:00
Yuguo Zou
53e837bce2
add support for REALTEK_RTL8195AM
2017-06-03 20:14:45 +01:00
Archcady
bbbecd7090
Update targets.json
2017-06-03 20:14:43 +01:00
Archcady
bc948ca672
Create mbed_rtx.h
2017-06-03 20:14:43 +01:00
Christopher Haster
0fc5ce2b5e
LocalFileSystem: Moved away from deprecated open functions
...
The old open/opendir functions did not provide a route for errors and
relied on implementations manually setting errno. Updated to return
errors directly.
2017-06-03 13:18:02 -05:00
Christopher Haster
eed1cec5d8
FileSystem: Provided default implementations for all non-file operations
2017-06-03 13:18:01 -05:00
Christopher Haster
5d6fc713fb
FileSystem: Reintegrated FileSystemLike interface
...
Required for other representations of FileSystems, ie LocalFileSystem
Introduces FileSystemHandle for the same behaviour as FileHandle and
DirHandle.
Requires the following to hook into file/dir lookup:
```
int open(FileHandle **file, const char *filename, int flags)
int open(DirHandle **dir, const char *path)
```
This hook is provided by the FileSystem class, so requires no changes
from implementations.
2017-06-03 13:17:37 -05:00
Sam Grove
ebeb776de9
Merge pull request #3972 from geky/fat-big-blocks
...
FAT: Add support for block sizes of 512-4096 bytes
2017-06-03 10:16:43 -05:00
Sam Grove
027843a64b
Merge pull request #4389 from c1728p9/assert_mutex_not_in_isr
...
Assert that mutexes and prints are not use in interrupt or critical context
2017-06-03 10:16:20 -05:00
Martin Kojtal
533e6f0feb
Merge pull request #4431 from kjbracey-arm/mbed_lwip_api_compat
...
Restore mbed OS 5.4 mbed_lwip_ function prototypes
2017-06-03 08:28:52 +02:00
Christopher Haster
c0aa841ffd
FAT: Added support for block sizes of 512-4096 bytes
...
This is necessary for support of block devices with >512 byte
blocks, such as most SPI flash parts.
- Enabled support of up to 4096 byte blocks
- Added support for heap-backed buffers using _FS_HEAPBUF
- Necessary to avoid stack overflows
- Avoids over-aggresive allocations of _MAX_SS
- Enabled _FS_TINY to further reduce memory footprint
- Haven't found a downside for this yet except for possible
thread contention
2017-06-03 07:10:48 +01:00
Russ Butler
737c5a9cea
Trap on errors when building with debug profile
...
Define MBED_TRAP_ERRORS_ENABLED to 1 for the debug profile so errors
are obvious when building as debug.
2017-06-02 23:50:40 -05:00
Russ Butler
ee2be3f90c
Ignore deprecated storage test
...
Add a .mbedignore to the storage_abstraction test since this is
deprecated.
2017-06-02 23:50:39 -05:00
Russ Butler
cabc1e0911
Fix Thread class synchronization
...
Prevent osTheadTerminate from being called on an already terminated
thread. Also make sure the thread termination process is properly
synchronized.
2017-06-02 23:50:38 -05:00
Russ Butler
96bd943ea2
RTX5: Enable priority inheritance and robust mode
...
Add the attribute flash to enable priority inheritance and robust mode.
The robust flag allows mutexes held by terminated threads to be
properly released.
2017-06-02 23:50:36 -05:00
Russ Butler
a84142fc4e
Prevent recursive call to error()
...
Only allow error to be called once. This prevents a loop where error()
calls exit() which in turn triggers another call to exit().
2017-06-02 23:50:35 -05:00
Russ Butler
770ad616dd
Trap on RTX errors if enabled
...
If MBED_TRAP_ERRORS_ENABLED is defined to 1 then trap on RTX errors.
This includes using mutexes in ISR context.
2017-06-02 23:50:33 -05:00
Russ Butler
e48e599a9d
Fix RTOS function prototypes by adding extern "C"
...
Wrap the file mbed_rtos_storage.h in extern "C". This allows the
functions inside rtx_lib.h to have correct definitions when included
in a C++ file.
This is required for the RTX5 error trapping.
2017-06-02 23:50:32 -05:00
Russ Butler
b44e6f8a16
Assert that file IO is not used in ISRs
...
Trigger an assert if a file is read from or written to from an
interrupt handler or critical section. This includes using printf
from an interrupt handler or critical section. This makes failures
due to use in incorrect context deterministic and easier to locate.
This feature is enabled by defining MBED_TRAP_ERRORS_ENABLED to 1 or
by using the debug profile.
2017-06-02 23:50:31 -05:00
Russ Butler
5ab3de0bfa
Add function to check for ISR context
...
Add the function core_util_in_isr() so code can determine if it is
running in the context of an ISR.
2017-06-02 23:50:29 -05:00