Commit Graph

58 Commits (mbed-os-5.3)

Author SHA1 Message Date
ccli8 d60057e9ef Change sbrk() allocation to be 32-byte aligned 2017-02-24 13:24:14 +00:00
ccli8 684e5f059d Remove power-down support from us_ticker 2017-02-24 13:24:10 +00:00
ccli8 4c2406ee73 Fix compile error with Travis CI
Use MBED_CONF_RTOS_PRESENT to filter out mbedtls alternative for mbed OS 2.
2016-12-30 12:42:56 +00:00
ccli8 702cf49648 Integrate with Travis CI
1. Add targets into build_travis.py and tests.py.
2. Add target SPI pins into SPI SD test samples.
3. Rename target TOOLCHAIN_GCC_ARM/retarget.c to avoid name collision of compiled retarget.o with platform/retargets.cpp.
2016-12-30 12:42:49 +00:00
ccli8 fa5333195f Support USB device 2016-12-30 12:42:47 +00:00
cyliangtw 9c5eb11087 Fix GCC warnings 2016-12-19 14:40:02 +00:00
ccli8 a6a2ecf0fa Fix stuck in lp_ticker_init() 2016-12-19 14:40:00 +00:00
cyliangtw e50c7af143 Resolve TRNG GCC warning 2016-12-19 14:39:59 +00:00
ccli8 db119c774c Fix compile error for SHA-256 alternative on some condition
Also include non-issue refinement for SHA-1/SHA-256 alternatives.
2016-12-19 14:39:57 +00:00
ccli8 4fcb5058fc Fix PWM clock error in BSP driver 2016-12-19 14:39:56 +00:00
ccli8 5510375dee Change UART RTS/CTS to low level active 2016-12-19 14:39:54 +00:00
ccli8 acafdf8304 Fix serial async transfer failed as data with is 16/32 2016-12-19 14:39:52 +00:00
ccli8 1458c54f6b Fix spi_master_transfer failed as bit width is 32 2016-12-19 14:35:02 +00:00
ccli8 e1899bc111 Fix button naming error 2016-12-19 14:35:00 +00:00
ccli8 c0e59ab9d2 Correct return of i2c_byte_write() on NAK 2016-12-19 14:34:58 +00:00
ccli8 659cf338c5 Fix CI I2C EEPROM failed 2016-12-19 14:34:57 +00:00
ccli8 dd8ab407fa Remove SPI MOSI1 and MISO1 pins from pinmap
These pins are for SPI 2-bit mode (not dual mode) and cannot be for SPI standard use.
2016-12-19 14:34:55 +00:00
ccli8 d9501be829 Remove SPI MOSI1 and MISO1 pins from pinmap
These pins are for SPI 2-bit mode (not dual mode) and cannot be for SPI standard use.
2016-12-19 14:34:54 +00:00
ccli8 b76f2bf587 Rename variable name in analog-in 2016-12-19 14:34:52 +00:00
ccli8 342f776bb5 Fix EADC module is initialized multiple times
Also fix EADC module name EADC is hardcoded.
2016-12-19 14:34:50 +00:00
ccli8 9466da4c24 Fix CI tests-api-analogin failed
1. Fix UNO pins A5-A7 don't support analog-in by replacing ADC with EADC to implement analog-in HAL.
2. Update CLK driver to fix EADC clock divider setting error. Also fix CLK_Idle() together.
2016-12-19 14:34:49 +00:00
ccli8 619c54c54b Fix CI tests-api-analogin failed
1. Fix ADC convert finish check error.
2. Set ADC Vref to internal by default.
2016-12-19 14:34:47 +00:00
ccli8 2336b59f0a Support separate enable of GPIO IRQ de-bounce 2016-12-19 14:34:46 +00:00
ccli8 4b7432ffd1 Fix I2C issues
1. Fix error on return of i2c_byte_write().
2. Fix error in zero-length transfer corner case.
2016-12-19 14:34:44 +00:00
ccli8 4ae76be2ce [NUC472/M453] Reduce (interrupt) stack size from 4 KB to 2 KB 2016-11-07 12:28:20 +08:00
ccli8 c557842d68 [NUC472] Reduce (interrupt) stack size from 12 KB to 4 KB 2016-11-07 10:59:42 +08:00
ccli8 2922de8dff [NUC472/M453] Remove dead code in device.h 2016-11-07 10:59:42 +08:00
ccli8 e09d9a15f5 [NUC472/M453] Support UART H/W module shared by multiple serial S/W objects
1. With GCC_ARM and uARM, some greentea tests fail due to no support for this.
2. Bind UART H/W module to correct serial S/W object for interrupt.
2016-11-07 10:59:42 +08:00
cyliangtw a044a65996 fixed misaligned lines in can_api.c of NUC472 & M453 2016-11-01 11:44:44 +08:00
cyliangtw da8fd8b5b7 remove dead code in can_api.c of NUC472 & M453 2016-11-01 11:29:09 +08:00
cyliangtw 33cfe1f599 remove dead code in device.h of NUC472 & M453 2016-10-28 18:39:56 +08:00
cyliangtw 6889c1368b replace tab by 4 space char 2016-10-27 16:31:29 +08:00
cyliangtw 85c45a5174 [NUC472] Fix SetBaudRate 5% inaccuracy issue 2016-10-21 14:01:17 +08:00
cyliangtw ae12346b8e [M453] Support CAN 2016-10-20 15:12:36 +08:00
cyliangtw 6e64d730b5 support NUC472 CAN 2016-10-20 15:12:35 +08:00
ccli8 4ec07510b3 [NUC472] Fix PWM1 clock source setting error 2016-10-20 15:12:35 +08:00
ccli8 005f032cae [NUC472] Rename SD_0/SD_1 SD_0_0/SD_0_1 to match real SD H/W 2016-10-20 15:12:31 +08:00
ccli8 15dbd36492 [M453] Move files to match ARM mbed's restructure
1. Move M451Series.h to device.
2. Move StdDriver to device.
3. Move TOOLCHAIN_* to device.
4. Move cmsis*, startup_M451Series.c, and system_M451Series.c/h to device.
2016-10-11 13:49:25 +08:00
ccli8 6683032999 [NUC472] Fix SD pinmaps are not extern'ed 2016-10-11 10:55:08 +08:00
ccli8 1f2f4e3bb3 [NUC472/M453] Move files to match ARM mbed's restructure
1. Move USBHALHost_M451.cpp and USBHALHost_NUC472.cpp.
2. Move TARGET_M451/mbed_lib.json.
3. Move TARGET_NUC472/crypto.
4. Move TARGET_NUC472/mbed_lib.json.
2016-10-11 10:55:08 +08:00
ccli8 c75d54c668 [NUC472] Fix pin definition error regarding SD, I2C, and SPI
1. Fix pin definition error regarding SD.
2. Fix pin definition error regarding I2C.
3. Fix pin definition error regarding SPI.
4. Add pinmap for SD.
2016-10-11 10:55:08 +08:00
ccli8 c2b9089332 [NUC472] Fix buffer overflow in BSP SD driver 2016-10-11 10:55:08 +08:00
cyliangtw 11c05afc62 support mesh in IAR tool chain 2016-10-11 10:55:08 +08:00
cyliangtw a1b383a604 support mesh in GCC tool chain 2016-10-11 10:55:08 +08:00
ccli8 21e8c5bd52 [M453] Fix warnings generated by armcc 2016-10-11 10:55:08 +08:00
ccli8 a9d65e46a3 [NUC472] Fix warnings generated by armcc 2016-10-11 10:55:08 +08:00
ccli8 dfc32409a9 [NUC472/M453] Refine comment for two-region model 2016-10-11 10:55:08 +08:00
ccli8 107d6336b2 [NUC472/M453] Disable GPIO IRQ debounce by default
Some application requires GPIO IRQ to be low latency. To complement it, open up GPIO IRQ debounce configuration through mbed_lib.json.
2016-10-11 10:55:08 +08:00
ccli8 ef36f2f04f [NUC472/M453] Refine us_ticker.c code 2016-10-11 10:55:08 +08:00
cyliangtw 504465796a move aes ZI data into external SRAM for mbed client example 2016-10-11 10:55:08 +08:00