Commit Graph

213 Commits (5a6aee43eb58c9ba3b1d2de7d178a3d68867a0da)

Author SHA1 Message Date
Christopher Haster aff49d8d1e Renamed files in platform to match source names
critical.h     -> mbed_critical.h
sleep.h        -> mbed_sleep.h
toolchain.h    -> mbed_toolchain.h
rtc_time.h     -> mbed_rtc_time.h
semihost_api.h -> mbed_semihost_api.h
wait_api.h     -> mbed_wait_api.h
2017-02-22 18:17:54 -06:00
ccli8 0bd8fb22c4 [NUC472] Support no-XRAM configuration 2017-02-14 09:12:02 +08:00
Sam Grove d8151d7991 Merge pull request #3590 from OpenNuvoton/nuvoton
[NUC472/M453] Export IAR project and other bugfixes
2017-02-13 10:12:02 -06:00
Bartek Szatkowski 6a045a49a9 Platform: Add sleep/deepsleep user facing functions
Add sleep/deepsleep functions to platform layer which are replacing HAL
functions with the same name, rename existing symbols in HAL layer
to hal_sleep/hal_deepsleep. This way sleep functions
are always available, even if target doesn't implement them, which makes
the code using sleep clearer. It also enables us to make decision on in
which builds (debug/release) the sleep will be enabled.
2017-01-19 09:39:29 +00:00
ccli8 0a0b326da6 [NUC472/M453] Change sbrk() allocation to be 32-byte aligned 2017-01-16 09:48:27 +08:00
ccli8 453f60e9c1 [NUC472/M453] Remove power-down support from us_ticker 2017-01-16 09:48:21 +08:00
Martin Kojtal e7361ebc44 Merge pull request #3365 from OpenNuvoton/nuvoton_usb
[NUC472/M453] Support USB device
2016-12-30 12:43:53 +01:00
ccli8 fff8357c1e [NUC472] Fix compile error with Travis CI
Use MBED_CONF_RTOS_PRESENT to filter out mbedtls alternative for mbed OS 2.
2016-12-15 11:43:43 +08:00
cyliangtw e4a5401b9b [NUC472/M453] Fix GCC warnings 2016-12-13 15:41:41 +08:00
ccli8 64e27b2e3d [NUC472/M453] Fix stuck in lp_ticker_init() 2016-12-13 11:10:51 +08:00
cyliangtw ec945db013 [NUC472] Resolve TRNG GCC warning 2016-12-13 11:10:51 +08:00
ccli8 3ff2df1875 [NUC472] Fix compile error for SHA-256 alternative on some condition
Also include non-issue refinement for SHA-1/SHA-256 alternatives.
2016-12-13 11:10:51 +08:00
ccli8 6af60f9b32 [NUC472/M453] Fix PWM clock error in BSP driver 2016-12-13 11:10:51 +08:00
ccli8 f796eb5d2d [NUC472/M453] Change UART RTS/CTS to low level active 2016-12-13 11:10:51 +08:00
ccli8 59e38666ae [NUC472/M453] Fix serial async transfer failed as data with is 16/32 2016-12-13 11:10:51 +08:00
ccli8 8c0948d605 [NUC472/M453] 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-09 13:46:38 +08:00
ccli8 7f4881fbb2 [NUC472/M453] Support USB device 2016-12-05 15:12:15 +08:00
ccli8 e1995dbe79 [NUC472/M453] Fix spi_master_transfer failed as bit width is 32 2016-11-25 15:32:25 +08:00
ccli8 137053343e [M453] Fix button naming error 2016-11-23 14:35:09 +08:00
ccli8 d24c71fad9 [NUC472/M453] Correct return of i2c_byte_write() on NAK 2016-11-22 13:45:01 +08:00
ccli8 57a22cd4ab [NUC472/M453] Fix CI I2C EEPROM failed 2016-11-22 09:56:54 +08:00
ccli8 f4890f68f1 [NUC472] 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-11-22 09:56:54 +08:00
ccli8 6c1fca60a5 [M453] 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-11-22 09:56:54 +08:00
ccli8 e1acb06d05 [NUC472] Rename variable name in analog-in 2016-11-22 09:56:53 +08:00
ccli8 bb1617c5f8 [M453] Fix EADC module is initialized multiple times
Also fix EADC module name EADC is hardcoded.
2016-11-22 09:56:53 +08:00
ccli8 35b2ad5a2c [NUC472] 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-11-22 09:56:53 +08:00
ccli8 fe883d42ab [M453] Fix CI tests-api-analogin failed
1. Fix ADC convert finish check error.
2. Set ADC Vref to internal by default.
2016-11-22 09:56:53 +08:00
ccli8 e0f97e5c80 [NUC472/M453] Support separate enable of GPIO IRQ de-bounce 2016-11-22 09:56:53 +08:00
ccli8 657d90db2c [NUC472/M453] Fix I2C issues
1. Fix error on return of i2c_byte_write().
2. Fix error in zero-length transfer corner case.
2016-11-22 09:56:53 +08: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
ccli8 da15379907 [NUC472/M453] Remove fix of lp_ticker wrap-around
The original fix cannot handle both wrap-around and scheduled alarm behind now well.
Leave wrap-around as known issue.
2016-10-11 10:55:08 +08:00
ccli8 9b7642d783 [NUC472/M453] Fix us_ticker/lp_ticker alarm error
Error occurs as newly scheduled alarm is behind now due to signed/unsigned comparison pitfall:
-1 < 1u ==> 0 or 1
2016-10-11 10:55:08 +08:00
ccli8 516efa371e [NUC472/M453] Fix greentea lp_ticker failed tests 2016-10-11 10:55:08 +08:00
ccli8 b95478015b Support NUMAKER_PFM_M453 2016-10-11 10:55:08 +08:00
ccli8 8ba94e2e4a Remove sal-stack-lwip.a from IAR linker configuration file
Locate *lwip_* in XRAM to fix IRAM OOM
2016-10-11 10:55:08 +08:00
ccli8 69f4a200c0 Add NUC472 support for USBH 2016-10-11 10:55:08 +08:00
Christopher Haster 26ced98734 restructure - Restructured cmsis directory
targets/cmsis -> cmsis
targets/cmsis/TARGET_* -> targets/TARGET_*/device
targets/cmsis/TARGET_*/mbed_rtx.h -> targets/TARGET_*/mbed_rtx.h
2016-10-04 17:51:44 -05:00
Christopher Haster 0bad622a16 restructure - Moved targets out to top level
hal/targets -> targets
hal/targets.json -> targets/targets.json
2016-09-30 19:18:09 -05:00