Commit Graph

1180 Commits (f87eca8a2b3136d530db07ecc1695cdbd15ceedd)

Author SHA1 Message Date
Yuguo Zou f87eca8a2b remove sleep_api.c 2017-06-03 20:14:59 +01:00
Yuguo Zou 2dd9415e89 Fold ADC0 into trng; delete comment code 2017-06-03 20:14:58 +01:00
Yuguo Zou ba03499b21 reslove conflict UINT definition between basic_types.h & filesystem 2017-06-03 20:14:58 +01:00
Yuguo Zou 08489e4f18 Fix on Wifi 2017-06-03 20:14:58 +01:00
Yuguo Zou 1141c7a08b fix C++11 warning 2017-06-03 20:14:58 +01:00
Yuguo Zou 680dec521e fix a bug in PWM
PWM period larger than 60ms has significant time error
2017-06-03 20:14:58 +01:00
Yuguo Zou 074dd9f9fd fix a bug brought by previous commit
commit dfe0a97 brought some new problem, this commit fix that
2017-06-03 20:14:57 +01:00
Archcady 3736313c39 Update RTWInterface.cpp 2017-06-03 20:14:57 +01:00
Yuguo Zou dbcd36f242 fix bugs found in CI test
HalTimerOp has been changed to HalTimerOpExt
2017-06-03 20:14:57 +01:00
ianqianting b1d999178a fix wifi example fail issue 2017-06-03 20:14:57 +01:00
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 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
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 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 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
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
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
Sam Grove 5f138810a9 Merge pull request #4294 from ARMmbed/feature_cmsis5
Update CMSIS-Core and RTX to version 5
2017-06-02 23:44:32 -05:00
Sam Grove 4c4fb822dd Merge pull request #4415 from theotherjimmy/disable-2-builds
Disallow building of mbed OS 2 + RTOS, and remove mbed OS 5 support for Cortext-A
2017-06-01 23:43:40 -05:00
Sam Grove fa0cd205a2 Merge pull request #4094 from pan-/fix_hal_ticker
[HAL] Add support for 64 bit us timestamp
2017-06-01 23:25:26 -05:00
Jimmy Brisson cee0cbd900 Remove Cortex-A mbed OS 5 support 2017-06-01 13:16:09 -05:00
Vincent Coubard 045b026ad4 NCS36510 RTC driver: Fix driver.
* Initialization clear interrupt status
* Remove state in management of interrupt
* Handle timestamp in the past
* Handle current seconds, even if out of the relative timestamp.
* Simplify interrupt handling logic.
2017-06-01 16:33:49 +01:00
Martin Kojtal e229a49182 Merge pull request #4207 from geky/spi-remove-byte-locking
spi: Add SPI block-write to C++ and HAL for performance
2017-06-01 14:03:36 +02:00
Martin Kojtal 8a870a66c0 Merge pull request #4119 from hasnainvirk/cellular_feature_br
Cellular feature br
2017-06-01 14:01:17 +02:00
Vincent Coubard 6fe07c640f Ticker NCS36510: Fix tests of the status register. 2017-05-31 19:16:05 +01:00
Jimmy Brisson 944a17fe3c Merge pull request #4402 from LMESTM/STM32_F2_CUBE_v160
Stm32 f2 cube sdk update to v1.6.0
2017-05-31 11:28:36 -05:00
Hasnain Virk 24de27c989 Major Refactoring & extensions
For keep supporting external APIs with the same name (supposedly there are a larger
number of users of those APIs), BufferedSerial and ATParser are being renamed.
BufferedSerial becomes UARTSerial, will complement a  future USBSerial etc.
ATParser becomes ATCmdParser.

* UARTSerial moves to /drivers

* APN_db.h is moved from platform to cellular/util/.

* Original CellularInterface is restored for backward compatability (again, supposedly there
  are users of that).

* A new file, CellularBase is added which will now servce as the base class for all
  upcoming drivers.

* Special restructuring for the driver has been undertaken. This makes a clear cut distinction
  between an on-board or an off-board implementation.
  	- PPPCellularInterface is a generic network interface that works with a generic FileHandle
          and PPP. A derived class is needed to pass that FileHandle.
        - PPPCellularInterface provides some base functionality like network registration, AT setup,
          PPP connection etc. Lower level job is delegated to the derived classes and various modem
          specific APIs are provided which are supposed to be overridden.
        - UARTCellularInterface is derived from PPPCellularInterface. It constructs a FileHandle and
          passes it back to PPPCellularInterface as well as provides modem hangupf functionality.
          In future we could proive a USBInterface that would derive from PPPCellularInterface and could
          pass the FileHandle back.
	- OnboardCellularInterface is derived from UARTCellularInterfae and provides hooks to
          the target provided implementation of onbard_modem_api.h. An off-board modem, i.e, a modem on
          a shield has to override the modem_init(), modem_power_up() etc as it cannot use
          onboard_modem_api.h.
2017-05-31 15:02:11 +03:00
Hasnain Virk 1afc7bfbef A Reference CellularInterface driver
* Implements CellularInterface
* Reference design for CellularInterface implementations
* Uses an external mbed-os IP stack and talks to modem over PPP.
2017-05-31 15:02:11 +03:00
Hasnain Virk ccbf00571f Introducing hal/modem_api.h
This provides a HAL layer for Modem bearing devices.
Provides a standard interface to upper layer drivers.
Platform providers will be implementing this API under their
specific targets.

As a reference, two implementations are provided under TARGET_C027 (UBLOX)
and TARGET_MTS_DRAGONFLY_F411RE (MultiTech).

targets.json now contains a tag "MODEM" which tells that this target
has a modem and the modem_api is protected by a flag DEVICE_MODEM
(following the DEVICE_SERIAL fashion ).
2017-05-31 15:02:11 +03:00
Hasnain Virk fcbcfafec5 Preparing grounds for modem api
* Lays down ground for mbed modem_api
* Standardizes pin names relating to modem device for UBLOX C027 and MTS_DRAGONFLY_F411RE
  devices
* Ublox modem api is changed to use a standard, platform independent name so that same
  api could be used with multiple ubloc modems.
* DCD Polarity macro is added to assist the driver in knowing correct polarity
2017-05-31 15:02:11 +03:00
Hasnain Virk 925f54bfce Heap size reduced to 64k for IAR
IAR heap sizes were hard configured to be 96k which is 75% of the
total RAM available. Reduced it to be 64k which is half of the available RAM.
2017-05-31 15:02:11 +03:00