Cruz Monrreal
d425ec5860
Merge pull request #9197 from OpenNuvoton/nuvoton_fix_uart-flow-control
...
Nuvoton: Fix UART flow control CTS/RTS
2019-01-03 10:34:58 -06:00
ccli8
ad1e57bdef
[Nuvoton] Refine MBED_CONF_RTOS_PRESENT check in crypto_misc.cpp
2019-01-03 09:21:05 +08:00
ccli8
39f705e033
[Nuvoton] Fix crypto_misc.cpp compile error with RTOS-absent
...
Replace Mutex with PlatformMutex which supports RTOS-absent
2019-01-02 15:53:31 +08:00
ccli8
388076d36d
[Nuvoton] Remove unnecessary mbed_rtos_storage.h in crypto_misc.cpp
2019-01-02 14:06:03 +08:00
ccli8
17fb5b7ff2
[Nuvoton] Fix UART flow control CTS/RTS
...
Configure RTS pin outout to active low when RTS is disabled. This allows the peer to be able
to send data if its CTS is still enabled.
2018-12-25 18:21:11 +08:00
Cruz Monrreal
9edbcd77df
Merge pull request #9081 from OpenNuvoton/nuvoton_refine_crypto_ac
...
Nuvoton: Fix crypto AC management
2018-12-19 13:09:47 -06:00
ccli8
ca44675086
[Nuvoton] Fix crypto AC management
...
1. For SHA AC, use atomic flag to manage its ownership.
(1) Nuvoton SHA AC doesn't support SHA context save & restore, so S/W
SHA fallback has been supported before. To make non-blocking 'acquire'
semantics clearer, introduce 'try_acquire' to substitute for 'acquire'.
(2) No biting CPU due to mechanism above.
(3) No deadlock due to mechanism above.
2. For AES/DES/ECC AC, change to mutex to manage their ownership.
(1) Change crypto-misc.c to crypto-misc.cpp to utilize C++ SingletonPtr
which guarantees thread-safe mutex construct-on-first-use.
(2) With change to crypto-misc.cpp, add 'extern "C"' modifier to CRYPTO_IRQHandler()
to avoid name mangling in C++.
(3) No priority inversion because mutex has osMutexPrioInherit attribute
bit set.
(4) No deadlock because these AC are all locked for a short sequence
of operations rather than the whole lifetime of mbedtls context.
(5) For double mbedtls_internal_ecp_init() issue, it has been fixed in upper
mbedtls layer. So no need to change ecc init/free flow.
2018-12-19 10:17:39 +08:00
ccli8
244d4b6405
[Nuvoton] Support boot stack size configuration option
2018-12-14 17:29:55 +08:00
Cruz Monrreal
0f0e63aaac
Merge pull request #8900 from OpenNuvoton/nuvoton_refine_uart
...
Nuvoton: Refine UART init/deinit
2018-12-04 11:51:16 -06:00
Martin Kojtal
179098d0f1
Merge pull request #8828 from OpenNuvoton/nuvoton_analogout
...
Nuvoton: Support DAC HAL
2018-12-03 13:18:57 +01:00
ccli8
a2c70f2ca4
[Nuvoton] Fix time to init/deinit stdio_uart
...
With support for checking H/W UART initialized or not, we can simplify stdio management:
1. When serial_init(&stdio_uart) calls in, just set the 'stdio_uart_inited' flag.
2. When serial_free(&stdio_uart) calls in, just clear the 'stdio_uart_inited' flag.
Except above, we needn't make special handling with 'stdio_uart'.
2018-11-29 10:23:22 +08:00
ccli8
a937a62bff
[Nuvoton] Check configuration option for default UART baudrate setting
2018-11-28 16:59:15 +08:00
ccli8
ae98b94a10
[Nuvoton] Avoid re-configuring UART in serial_init() for the same H/W UART
...
The same H/W UART may be shared by multiple serial_t objects. This fix tries to avoid
re-configuring the same H/W UART in serial_init() when there are multiple serial_t
objects constructed. To re-configure UART, call serial_baud() and serial_format()
explicitly. This can avoid confusion when e.g. a newly constructed serial_t object
changes baudrate unexpectedly in serial_init().
2018-11-28 16:26:21 +08:00
ccli8
6b16112962
[Nuvoton] Remove unused pin_tx/pin_rx fields from serial_s struct
2018-11-28 16:17:39 +08:00
ccli8
e24a3c09d7
[Nuvoton] Fix license description for analog-out HAL files
...
1. Fix copyright year
2. Add SPDX
2018-11-27 09:44:27 +08:00
ccli8
e36c074359
[Nuvoton] Support DAC
2018-11-21 17:09:35 +08:00
Senthil Ramakrishnan
f1926c0ea9
Fix linker script errors
2018-11-16 14:00:00 -06:00
Senthil Ramakrishnan
ef8c1c3cb6
Linker script modifications for crash data region
2018-11-16 13:59:59 -06:00
ccli8
9d27b72950
[M487] Fix SW2/SW3 interchange error in NUMAKER_IOT_M487
2018-10-15 15:47:16 +08:00
Deepika
e1ecce85ba
Nuvoton: Fix alignment of execute region to 8-byte boundary
...
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files (GCC and IAR as well to have uniformity)
should strictly align to 8-byte boundary
2018-10-09 10:15:07 -05:00
Martin Kojtal
59ce41f255
Merge pull request #8049 from OpenNuvoton/nuvoton_fix_hal_sleep
...
Nuvoton: Fix mbed_hal-sleep test failed
2018-10-01 11:48:25 +02:00
Cruz Monrreal
815683c2bd
Merge pull request #7941 from OpenNuvoton/nuvoton_fix_gpio_mode_mapping
...
Nuvoton: Fix GPIO mode mapping
2018-09-25 13:15:09 -05:00
Cruz Monrreal
5eb314f65f
Merge pull request #8164 from OpenNuvoton/nuvoton_iot_m487
...
Support Nuvoton's new target NUMAKER_IOT_M487
2018-09-21 21:31:22 -05:00
ccli8
6ac163088a
Support Nuvoton's NuMaker-IoT-M487 board
2018-09-10 11:32:54 +08:00
ccli8
beb04a82dc
[Nuvoton] Fix serial corruption due to deep sleep
...
Prevent deep sleep when there is still any character being transmitted on the UART.
This allows tickless to be safely enabled.
2018-09-10 10:55:44 +08:00
ccli8
310b12a235
[Nuvoton] Fix HAL sleep test failure with lp_ticker
...
Replace wait_us with nu_busy_wait_us in lp_ticker since wait_us is not allowed in sleep test
which would suspend us ticker layer on which wait_us relies. nu_busy_wait_us is implemented
by calling us ticker HAL API directly rather than relying on us ticker layer.
2018-09-10 10:55:44 +08:00
ccli8
ab7b93ca58
[Nuvoton] Synchronize us_ticker to lp_ticker
...
This is to make implementations of us_ticker/lp_ticker consistent.
2018-09-10 10:50:22 +08:00
ccli8
6639a92bcd
[Nuvoton] Fix lp_ticker_free cannot pass speed test
2018-09-10 10:50:22 +08:00
ccli8
9ee83f575a
[Nuvoton] Fix spurious us_ticker/lp_ticker interrupts
...
If us_ticker/lp_ticker is scheduled and then the interrupt is disabled, the originally scheduled
interrupt may still become pending. If this occurs, then an interrupt will fire twice on the next
call to us_ticker_set_interrupt/lp_ticker_set_interrupt - once immediately and then a second time
at the appropriate time.
This patch prevents the first interrupt by clearing interrupts in
us_ticker_set_interrupt/lp_ticker_set_interrupt before calling NVIC_EnableIRQ.
2018-09-10 10:50:21 +08:00
Yossi Levy
acfda5895e
Changes in PR #7774 of PinNames.h should be reverted. This commit reverts those files excpet for K82F and K64F which are left as an example
2018-09-05 14:13:05 +03:00
ccli8
55328ebdd5
[Nuvoton] Fix pin mode mapping between input pull mode/direction and I/O mode
...
1. Modify PinMode enum to fully support GPIO I/O modes.
2. Translate input pull mode/direction to I/O mode, where H/W doesn't support
separate configuration for input pull mode/direction.
3. Allow for configuring I/O mode in addition to input pull mode.
2018-08-31 10:06:30 +08:00
Yossi Levy
ed8e170d15
Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure.
2018-08-29 12:01:11 +03:00
Oren Cohen
787317b7eb
Remove uVisor from mbed-os
2018-08-22 16:36:59 +03:00
ccli8
6909159420
[Nuvoton] Organize file structure
...
This re-organization is to avoid duplicates regarding targets of the same MCU series.
2018-08-01 18:00:16 +08:00
Cruz Monrreal
cf84b05473
Merge pull request #6985 from OpenNuvoton/nuvoton_fix_rtosless_heap
...
Fix heap base/limit error with ARM_LIB_STACK/ARM_LIB_HEAP in RTOS-less
2018-07-31 11:36:42 -05:00
ccli8
313f322cf7
[Nuvoton] Replace __wrap__sbrk with overriding _sbrk
...
With _sbrk being weak, we can override it directly rather than #if to support heap with
two-region model.
2018-07-26 15:47:25 +08:00
ccli8
d6ae30a728
[Nuvoton] Merge multiple ARM/ARMC6 sys.cpp into one
2018-07-25 10:04:31 +08:00
ccli8
4f04ae489e
[Nuvoton] Synchronize lp_ticker code to us_ticker
...
This is to make us_ticker/lp_ticker code consistent.
2018-06-28 16:34:45 +08:00
ccli8
1fa3374310
[Nuvoton] Remove special handling for dummy interrupt in lp_ticker
...
It is because dummy interrupt is very rare or pending time caused by it
is very short.
2018-06-28 16:27:37 +08:00
ccli8
310a1fe318
[Nuvoton] Synchronize lp_ticker code to us_ticker
...
This is to make us_ticker/lp_ticker code consistent.
2018-06-26 13:47:30 +08:00
ccli8
8e11ddf3b6
[Nuvoton] Fix trap in lp_ticker ISR with non-blocking "clear interrupt flag"
2018-06-26 13:47:29 +08:00
ccli8
fe627cb722
[Nuvoton] Synchronize lp_ticker code to us_ticker
...
This is to make us_ticker/lp_ticker code consistent.
2018-06-26 13:47:27 +08:00
ccli8
86e194d075
[Nuvoton] Reduce blocking code in lp_ticker
...
1. Introduce S/W interrupt enable/disable to reduce calls to TIMER_EnableInt/TIMER_DisableInt.
2. Allow dummy interrupt because clear interrupt flag is not synchronized.
3. Enable LPTICKER_DELAY_TICKS to make lp_ticker_set_interrupt non-blocking.
2018-06-26 13:47:26 +08:00
ccli8
3f861425da
[Nuvoton] Meet new lp_ticker HAL spec (Mbed OS 5.9)
...
1. Add LPTICKER in device_has option of targets.json file.
2. Disable ticker interrupt in lp_ticker_init
3. Add lp_ticker_free
4. Enable interrupt in lp_ticker_set_interrupt
2018-06-26 13:47:17 +08:00
ccli8
ebd93ba753
[Nuvoton] Meet new us_ticker HAL spec (Mbed OS 5.9)
...
1. Add USTICKER in device_has option of targets.json file.
2. Disable ticker interrupt in us_ticker_init
3. Add us_ticker_free
4. Enable interrupt in us_ticker_set_interrupt
2018-06-26 13:45:33 +08:00
ccli8
6065e3a943
[Nuvoton] Fix RTC cannot cross reset cycle
2018-05-29 17:22:02 +08:00
ccli8
2cefe7d8d5
[Nuvoton] Power down RTC access from CPU domain in rtc_free
...
After rtc_free, RTC gets inaccessible from CPU domain but keeps counting.
2018-05-29 10:33:01 +08:00
Bartek Szatkowski
6e9f04bf2f
Rename DEVICE_LOWPOWERTIMER to DEVICE_LPTICKER
...
That's to match DEVICE_USTICKER.
2018-05-25 12:20:09 -05:00
Cruz Monrreal
f73415e9f8
Merge pull request #6466 from OpenNuvoton/nuvoton_fix_spi
...
Nuvoton: Fix issues with SPI
2018-04-16 10:47:51 -05:00
ccli8
571e89048f
[Nuvoton] Remove dead code with '#if 0' in SPI
2018-04-09 09:33:52 +08:00
Jimmy Brisson
897885909d
Merge pull request #6394 from OpenNuvoton/nuvoton_fix_ticker
...
Nuvoton: Fix us_ticker/lp_ticker
2018-03-29 11:58:53 -05:00
Cruz Monrreal
e9b234b876
Merge pull request #6424 from OpenNuvoton/m487_v3
...
Nuvoton: Support M487 v3.0 pin map
2018-03-26 14:26:32 -05:00
ccli8
707de87497
[Nuvoton] Refine SPI code
...
1. Remove dead code
2. Remove space in empty lines
3. Fix compile warnings
4. Fix some comments
2018-03-26 11:02:54 +08:00
ccli8
7275ee8626
[Nuvoton] Fix SPI DMA transfer
...
1. Disable unnecessary TX/RX threshold interrupts to avoid potential trap in DMA transfer
2. Start TX/RX DMA transfer simultaneously to fit H/W spec and avoid potential RX FIFO overflow issue
2018-03-26 10:58:18 +08:00
ccli8
9e72756878
[Nuvoton] Use vector rather than SPI_CTL_SPIEN_Msk to judge if asynchronous transfer is on-going (spi_active)
2018-03-26 10:50:14 +08:00
ccli8
643d772cf9
[Nuvoton] Introduce SPI_ENABLE_SYNC/SPI_DISABLE_SYNC to simplify enable/disable control
2018-03-26 10:34:22 +08:00
ccli8
ccec9d75d6
[Nuvoton] Add missing delay in lp_ticker
...
mbed-os-tests-mbed_drivers-lp_ticker/Test multi ticker test fails inconstantly.
This commit is mainly to fix the issue.
2018-03-26 09:45:59 +08:00
ccli8
5d453ed381
[Nuvoton] Check timer active flag after enabling timer counting in us_ticker/lp_ticker
2018-03-26 09:42:53 +08:00
ccli8
3cd8d3df9f
[Nuvoton] Remove unnecessary TIMER_Start in the end of lp_ticker_set_interrupt
2018-03-26 09:27:05 +08:00
cyliangtw
efe57a00b4
[M487] Support v3.0 pin map
2018-03-22 20:09:09 +08:00
ccli8
f0865f8546
[Nuvoton] Fix page size in flash IAP
...
In Mbed OS, page size is program unit, which is different than FMC definition.
After fixing page size, we can pass NVSTORE test (mbed-os-features-nvstore-tests-nvstore-functionality).
2018-03-22 16:45:01 +08:00
ccli8
7ed3bac85d
[Nuvoton] Remove unnecessary UART INT in UART DMA transfer
...
In UART DMA transfer, it is PDMA INT rather than UART INT to go INT path
2018-03-19 17:52:01 +08:00
Cruz Monrreal
f1d493dd0c
Merge pull request #6228 from OpenNuvoton/nuvoton_1timer_ticker
...
Nuvoton: Rework us_ticker/lp_ticker with one H/W timer
2018-03-05 10:19:56 -06:00
cyliangtw
b6ff40e94d
[M451/M480/NANO100/NUC472] Define SERIAL and I2C pin name for compatiblity
2018-02-27 11:38:29 +08:00
ccli8
1d7e7fd543
[NUC472/M453/M487/NANO130] Rework us_ticker and lp_ticker with one H/W timer
...
Originally, we use 2 H/W timers for us_ticker/lp_ticker, one for counting and the other for alarm.
With H/W timer running in continuous mode, we could use just one H/W timer for counting/alarm simultaneously.
2018-02-26 17:41:05 +08:00
Cruz Monrreal
817f9a569c
Merge pull request #5812 from OpenNuvoton/nuvoton_crypto
...
M487: Support ECP H/W accelerator
2018-02-20 11:53:23 -06:00
Cruz Monrreal
aa6835a069
Merge pull request #6048 from OpenNuvoton/nuvoton_ticker
...
Nuvoton: Rework us_ticker and lp_ticker
2018-02-16 15:59:05 -06:00
ccli8
cfdc72d75e
[NUC472/M487] Refine crypto_zeroize/crypto_zeroize32
2018-02-12 14:04:56 +08:00
ccli8
0271df1fa5
[NUC472/M453/M487/NANO130] Rework RTC
...
The rework includes the following:
1. Support year range beyond H/W RTC 2000~2099.
2. Refine RTC register access with low-power clock source
2018-02-09 10:47:18 +08:00
ccli8
fae160fb9f
[NUC472/M453/M487/NANO130] Rework us_ticker and lp_ticker
...
The rework includes the following:
1. Remove ticker overflow handling because upper layer (mbed_ticker_api.c) has done with it.
This makes us_ticker/lp_ticker implementation more succinct and avoids potential error.
2. Refine timer register access with low-power clock source
2018-02-07 09:09:39 +08:00
ccli8
160f75d536
[NUC472/M487] Fix warning in crypto
2018-01-22 10:51:12 +08:00
ccli8
f61d9d48c8
[NUC472/M453/M487/NANO130] Add gpio_is_connected
2018-01-18 17:33:03 +08:00
ccli8
a68750473c
[M487] Support ECP H/W accelerator
2018-01-09 16:20:41 +08:00
ccli8
67386b9ebd
[NUC472/M487] Fix DMA input/output buffers are overlapped in AES alter.
2018-01-05 09:18:26 +08:00
ccli8
a00f8d0e8b
[NUC472/M487] Guard from reordering DMA wait and post-wait for crypto modules
2018-01-05 09:18:25 +08:00
ccli8
3a8c1aa687
[NUC472/M487] Use interrupt signal rather than polling to check operation completion in DES alter.
...
This is to be consistent with PRNG/AES.
2018-01-05 09:18:24 +08:00
ccli8
0c1098483f
[NUC472/M487] Refine flow control code between crypto start and crypto ISR
2018-01-05 09:18:24 +08:00
ccli8
e1fbf0f6a7
[NUC472/M487] Add comment for crypto_zeroize
2018-01-05 09:18:24 +08:00
ccli8
a0a8a955a9
[NUC472/M487] Strengthen crypto DMA buffer check
...
1. Catch incompatible buffer range, where buffer base = 0xffffff00 and buffer size = 0x100.
2. Add buffer size alignment check.
2018-01-05 09:18:21 +08:00
ccli8
b0228d020d
[NUC472/M487] Fix compile error as mbedtls is not included
...
Currently, trng_api.c is located in targets/ and AES/DES/SHA alter. are located in mbedtls/.
They have shared crypto code.
If they could locate at same location e.g. mbedtls/, the shared crypto code placement would be more reasonable.
2018-01-05 09:18:20 +08:00
ccli8
6464649c41
[NUC472/M487] Coordinate crypto interrupt handler among AES/PRNG
2018-01-05 09:18:20 +08:00
ccli8
d66074fecc
[NUC472/M487] Coordinate crypto init among AES/DES/SHA/PRNG
...
Add counter to track crypto init among crypto sub-modules. It includes:
1. Enable crypto clock
2. Enable crypto interrupt
As counter gets zero, crypto clock is disabled to save power.
2018-01-05 09:18:18 +08:00
Martin Kojtal
be52ba2156
Merge pull request #5363 from mprse/extended_rtc
...
Add support and tests for extended RTC
2017-12-12 17:36:44 +00:00
Przemyslaw Stekiel
106561669f
Update RTC drivers for extended RTC.
2017-12-05 07:54:02 +01:00
Jimmy Brisson
ab1b3ae8d3
Merge pull request #5454 from OpenNuvoton/trng_get_unalignment
...
Nuvoton: TRNG_Get support 32 bytes unalignment
2017-11-22 10:21:39 -06:00
ccli8
bc9c9ca1e2
[M487] Remove trailing space in lp_ticker/us_ticker
2017-11-22 08:55:58 +00:00
ccli8
8b86d44867
[M487] Fix premature lp_ticker interrupt
...
Old lp_ticker handles past event, but it has a bug with premature go-off.
The bug can re-produce on mbed-os-tests-mbed_drivers-lp_timeout/mbed-os-tests-mbed_hal-lp_us_tickers (mbed-os commit: 9c1fd48529
).
Because upper layer (mbed-os/hal/mbed_ticker_api.c) has handled past event, this code can be removed from lp_ticker.
The similar fix also applies to us_ticker.
2017-11-22 08:55:58 +00:00
cyliangtw
288094568c
[M487/NUC472/NANO130] fix TRUE/FALSE redefinition
2017-11-16 11:21:20 +00:00
cyliangtw
d8a9e35a0c
[M487/NUC472] Refine trng_get_bytes for consistency and readability
2017-11-13 12:11:08 +08:00
cyliangtw
2ee058be53
[M487/NUC472] Refine for correctness control
2017-11-10 16:22:35 +08:00
cyliangtw
e252b10148
[M487/NUC472] zeroize random data on the stack memory
2017-11-09 16:01:14 +08:00
cyliangtw
76c2c19853
[M487/NUC472] Unified code-path for remaining bytes of TRNG_Get
2017-11-08 19:56:12 +08:00
cyliangtw
4118afa259
[M487/NUC472] TRN_Get support 32 bytes unalignment
2017-11-08 14:23:05 +08:00
ccli8
bf426b0771
[NUC472/M453/M487/NANO130] Remove dead power-down code with mbed OS 3
...
These power-down code are stale and would be superseded by sleep manager.
2017-09-22 09:42:51 +08:00
ccli8
d4af4ba3a7
[NUC472/M453/M487] Fix RTC hour error with AM/PM
2017-09-20 16:56:34 +08:00
ccli8
6eb4e11b37
[NUC472/M453/M487] Refine sleep code
...
1. Remove stale code with mbed OS 3.
2. Remove check for busy peripherals unorganizedly. This would be supported by e.g. official sleep manager.
2017-09-20 16:56:32 +08:00
ccli8
52733fe7f6
[M487] Replace mktime/localtime with interrupt-safe version in rtc
...
The use of mktime was causing a fault when called in interrupt handler because on GCC it lock the mutex protecting the environment, To overcome this issue, this patch add dedicated routine to convert a time_t into a tm and vice versa.
In the process mktime has been optimized and is now an order of magnitude faster than the routines present in the C library.
2017-09-20 16:56:31 +08:00
Jimmy Brisson
91afbce18a
Correct Nuvoton compiler detection logic
2017-09-11 13:20:33 -05:00
Jimmy Brisson
15a9a0382b
Enable Compiling with ARMC6 across all targets
...
remove duplicate sys.cpp
2017-09-11 13:20:32 -05:00
ccli8
cacc444b73
[M487] Support USB device/host
2017-08-22 09:27:31 +08:00
ccli8
f8af225dda
[M487] Remove support for uVisor core debug message via STDIO
...
This is necessary. Otherwise, program will hang in uninitialized STDIO UART because uVisor core doesn't enable it.
2017-08-03 18:48:31 +08:00
ccli8
9ac0d90937
[M487] Move target configuration from mbed_lib.json to targets.json
2017-08-03 13:40:32 +08:00
ccli8
afb5aba8d9
[M487] Fix compile warnings with IAR toolchain
2017-08-03 13:33:17 +08:00
ccli8
99d12b1eb8
[M487] Fix compile warnings with GCC_ARM toolchain
2017-08-03 11:10:15 +08:00
ccli8
b31d6f6eaa
[M487] Fix compile warnings with ARM toolchain
2017-08-03 09:24:05 +08:00
ccli8
306d8449b3
[M487] Remove NVIC_SetVector/NVIC_GetVector to match updated boot flow
2017-08-01 10:53:40 +08:00
ccli8
670822a581
[M487] Update spi_master_block_write() API
2017-08-01 10:47:39 +08:00
ccli8
bc7193508e
[M487] Fix GCC linker script with uVisor
2017-08-01 10:37:28 +08:00
ccli8
52d5a61e29
[M487] Fix include file error in case-sensitive environment
2017-08-01 10:37:27 +08:00
ccli8
0803267eab
[M487] Add ticker API us_ticker_fire_interrupt and lp_ticker_fire_interrupt
2017-08-01 10:37:26 +08:00
ccli8
b54e7e9639
[M487] Remove debug code in I2C HAL
2017-08-01 10:37:25 +08:00
ccli8
ed5ef0cc54
[M487] Refine coding style
2017-08-01 10:37:16 +08:00
ccli8
7b564c7f52
[M487] Add comment for Receive Time-out IF in SPI HAL
2017-08-01 10:32:50 +08:00
ccli8
7cfb7ae8f8
[M487] Add sanity check for serial format
2017-08-01 10:32:48 +08:00
ccli8
7a60b35d52
[M487] Set LED4 to LED1
...
No real LED4. Just for passing ATS.
2017-08-01 10:32:46 +08:00
ccli8
355b4336d6
[M487] Remove dead code
2017-08-01 10:32:43 +08:00
ccli8
8c76476929
[M487] Remove mbed_sdk_init_forced()
...
1. With mbed OS 5, mbed_sdk_init() is ensured to call before C++ global object constructor.
2. Refine startup file with GCC_ARM toolchain related to this modification.
2017-08-01 10:32:41 +08:00
ccli8
e99dc63d1b
[M487] Fix lp_ticker typo
2017-08-01 10:32:38 +08:00
ccli8
77ea786c04
[M487] Fix abnormal pulse on re-configuring pwmout
...
The issue is met in ARM mbed CI test tests-api-pwm.
2017-08-01 10:31:52 +08:00
ccli8
39a9f05491
[M487] Fix ARM mbed CI pwm test failed
2017-08-01 10:31:50 +08:00
ccli8
f182d7fcae
[M487] Add internal configuration control_01
2017-08-01 10:31:48 +08:00
ccli8
9c90cfd304
[M487] Add Arduino UNO pins D14 and D15
2017-08-01 10:31:45 +08:00
ccli8
d709deffc6
[M487] Fix emitting uvisor core debug message through USB VCOM
2017-08-01 10:31:43 +08:00
ccli8
e49ceb173e
[M487] Support initial stack allocated on SPIM CCM memory
2017-08-01 10:31:41 +08:00
ccli8
694838b706
[M487] Guard from initial stack allocated on SPIM CCM memory not initialized yet
...
Not add this guard in IAR toolchain due to its unsupported ILINK syntax
2017-08-01 10:31:38 +08:00
cyliangtw
aa47503435
[M487] Revise CAN & AES to fulfill real-chip
2017-08-01 10:31:36 +08:00
ccli8
b516019b12
[M487] Add comment in gpio_irq_init()
2017-08-01 10:24:07 +08:00
ccli8
b7dedbe917
[M487] Align with BSP
2017-08-01 10:24:04 +08:00
ccli8
23672b09a2
[M487] Support bootloader
2017-08-01 10:23:58 +08:00
ccli8
cc2ab31d2c
[M487] Divert SRAM bank2 (32 KB) to CCM from SPIM cache
...
Extend SRAM from 128 KB to 160 KB
2017-08-01 10:23:56 +08:00
ccli8
30ab1007e4
[M487] Support one-to-many mapping in the same pin map
2017-08-01 10:23:55 +08:00
ccli8
bcb96a12e1
[M487] Add SPI MOSI0/MISO0 into pin map
...
SPI MOSI0/MISO0 can use as SPI standard MOSI/MISO pins
2017-08-01 10:23:54 +08:00
ccli8
ef50c180fc
[M487] Add LED4 to pass ATS
2017-08-01 10:23:52 +08:00
ccli8
280d767700
[M487] Update startup files
...
1. Add SYS_DISABLE_POR() in startup_M480.c
2. Fix FMC_T::CYCCTL access is not unlocked
3. Sync system_M480.c with BSP
2017-08-01 10:23:51 +08:00
ccli8
82a5b5dd34
[M487] Fix board header for real chip
2017-08-01 10:23:50 +08:00
ccli8
12536436f8
[M487] Conform to mbed TLS H/W acceleration support released with mbed OS 5.3
2017-08-01 10:23:48 +08:00
ccli8
7578541021
[M487] Fix some compile warnings
2017-08-01 10:23:47 +08:00
ccli8
aaf26a12e1
[M487] Fix compile error with GCC_ARM toolchain
2017-08-01 10:23:44 +08:00
ccli8
90e35febc1
[M487] Alpha support for real chip
...
Real chip is incompatible with test chip due to change of pinout. From this on, test chip is unsupported.
2017-08-01 10:23:43 +08:00
ccli8
59acfb3a47
[M487] Correct comment for RTC time error in 1 sec after boot
2017-08-01 10:23:40 +08:00
ccli8
2fc3d1721b
[M487] Fix RTC time doesn't continue across reset cycle
2017-08-01 10:23:39 +08:00
ccli8
00b69c7ddd
[M487] Change comment for serial_getc/serial_putc
2017-08-01 10:23:38 +08:00
ccli8
e3fb76f0d9
[M487] Fix region end address error with IAR toolchain
2017-08-01 10:23:37 +08:00
ccli8
3f97ad3cdd
[M487] Rename sleep/deepsleep to hal_sleep/hal_deepsleep
2017-08-01 10:23:36 +08:00
ccli8
4cc90e54d5
[M487] Fix serial error with sync/async calls interlaced
2017-08-01 10:23:34 +08:00
ccli8
3f650566d9
[M487] Fix pwmout power-down condition
2017-08-01 10:23:33 +08:00
ccli8
bea7548717
[M487] Fix DMA channel over-allocate
2017-08-01 10:23:32 +08:00
ccli8
5e9999424a
[M487] Fix flash algorithm
...
1. Remove setting of not released register ICPCON
2. Enable FMC_APUEN to update APROM
2017-08-01 10:23:31 +08:00
ccli8
3a8be6c711
[M487] Remove 'FIXME' comment in flash_api.c
2017-08-01 10:23:29 +08:00
ccli8
bced49325a
[M487] Support flash
2017-08-01 10:19:54 +08:00