Commit Graph

49 Commits (22b2e9f800409f4eb341e7c171e91a3982a44985)

Author SHA1 Message Date
George Psimenos 61cfaa15cd Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
George Psimenos 885cdef5f7 Add standard pin-names validation script & tests 2021-03-18 17:01:53 +00:00
Martin Kojtal ea4aed2d95
Merge pull request #14372 from harmut01/baremetal_samsung
S1SBP6A: Add bare metal support
2021-03-11 11:04:46 +00:00
Harrison Mutai d09c4b1383 Add baremetal support to S1SBP6A 2021-03-04 09:06:57 +00:00
Hugues Kamba 2c3481297c CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
This goes towards eventually removing reliance on targets.json to specify
the requirements of Mbed targets.
2021-02-19 13:39:32 +00:00
Harrison Mutai 1282242691 CMake: refactor Samsung targets
Refactor all Samsung targets to be CMake buildsystem targets. This removes
the need for checking MBED_TARGET_LABELS repeatedly and allows us to be
more flexible in the way we include MBED_TARGET source in the build.

A side effect of this is it will allow us to support custom targets
without breaking the build for 'standard' targets, as we use CMake's
standard mechanism for adding build rules to the build system, rather
than implementing our own layer of logic to exclude files not needed for
the target being built. Using this approach, if an MBED_TARGET is not
linked to using `target_link_libraries` its source files will not be
added to the build. This means custom target source can be added to the
user's application CMakeLists.txt without polluting the build system
when trying to compile for a standard MBED_TARGET.
2021-02-12 13:48:49 +00:00
Martin Kojtal eef57d3a0f Samsung: remove todo from CMake
tracked here https://github.com/ARMmbed/mbed-os/issues/14025
2020-12-10 14:12:47 +00:00
Hugues Kamba 742782d657 CMake: Add support for Samsung S5JS100 target 2020-12-10 09:39:39 +00:00
Hugues Kamba 747dca9e9f Samsung: Correct ARM toolchain identifier
TOOLCHAIN_ARM_STD is specific to Mbed OS and is not generated if Mbed CLI
is not used.
2020-12-10 09:39:38 +00:00
Hugues Kamba af5782b290 CMake: Add support for Samsung SIDK_S1SBP6A target 2020-12-10 09:39:37 +00:00
Lingkai Dong 65e5db8631 S5JS100: remove idle hook which is essentially the non-Tickless hook from Mbed OS 2020-11-27 17:47:08 +00:00
Heuisam Kwag eb32b25c8a SIDK_S1SBP6A: fix to support rtc range from 0 to 0xEFFFFFFF
BP6A do not support from 0 to 0xEFFFFFFF in SOC.
This patch fixes it in s/w manner.

Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-11-11 13:54:32 +09:00
Heuisam Kwag f661c2389c fix compile error
Including unused header file, "cmsis-os.h",  causes compile errors.
This commit fixes it.

Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-11-04 18:20:01 +09:00
Heuisam Kwag 6ff504a89f targets/s1sb6a: change UART_STDIO_PORT from UART0 to UART2
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-29 08:32:49 +09:00
Heuisam Kwag f0679cca36 tartgets/s1sbp6a: fix afe clock initial value
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-29 08:32:49 +09:00
Heuisam Kwag bc68113566 targets/s1sbp6a: fix uart baud rate setting of UART1~2
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-29 08:32:35 +09:00
Heuisam Kwag 8fb4d80f29 targets/s1sbp6a: fix typo
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-28 17:14:26 +09:00
KollHong dd1c59f588
Update startup_s1sbp6a.S
fix DAPLINK "The transfer timed out." error
2020-09-17 15:35:35 +09:00
Jaeden Amero 612b148fd4 stack: armc: Workaround config passing bug
Workaround a bug where the boot stack size configuration option is not
passed on to armlink, the Arm Compiler's linker. Prefer
MBED_CONF_TARGET_BOOT_STACK_SIZE if present, as this is what the
configuration system should provide. Fall back to MBED_BOOT_STACK_SIZE
if MBED_CONF_TARGET_BOOT_STACK_SIZE is not defined, as in the case of
buggy tools. If both MBED_CONF_TARGET_BOOT_STACK_SIZE and
MBED_BOOT_STACK_SIZE are not defined, then we fall back to a hard-coded
value provided by the linkerscript. See
https://github.com/ARMmbed/mbed-os/issues/13474 for more information.
2020-09-10 10:08:38 +01:00
Jaeden Amero 39e69d328d Use boot stack size from config system
To allow overriding of the boot stack size from the Mbed configuration
system, consistently use MBED_CONF_TARGET_BOOT_STACK_SIZE rather than
MBED_BOOT_STACK_SIZE.

Fixes #10319
2020-09-10 10:08:38 +01:00
Heuisam Kwag e3ba0100bb introduce S1SBP6A
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-08-12 07:19:29 +09:00
Heuisam Kwag 7bc9d54c76 move security_subsystem to TARGET_SIDK_S5JS100
The TARGET_Samsung had security_subsystem and SIDK_S5JS100.
If I add another target that does not use security_subsystem, I get
a build error.
This commit moves security_subsyste to TARGET_SIDK_S5JS100.

Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-08-11 16:26:48 +09:00
PARKJIHOON 8b0fb5f5bd comments the performance of TRNG
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 3ba075b57b Tidy up comments
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 4ef74efed0 fix typo 'modifyh'
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON d5bb27a94c fix typo 'modifyh'
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong f9c4a51871 Adding in SPDX Apache 2.0 for the Apache 2 declared Samsung license headers. 2020-01-22 14:40:51 +09:00
Andrew Chong dc64bd8a05 Changed 2018 or 2019 copyright to 2020 via sed auto change. 2020-01-22 14:40:51 +09:00
PARKJIHOON 3abe45f507 fix header for samsung spi driver
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong 77457e83f2 Minor astyle change. 2020-01-22 14:40:51 +09:00
PARKJIHOON adbc391a2c Update SSS header contents
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 67b1639810 remove .mbedignore list
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON eb9267e93c tidy up unused comment
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON ccb85e00f1 tidy up unused printf
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON c8e776929a error case prints out using mbed_error_printf()
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 1bae74160f Remove Target dependant mbed_error()
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong 107fc9fce3 Removed PortIn/Out/InOut from Samsung target for now. 2020-01-22 14:40:51 +09:00
Andrew Chong 65e9cac918 Updated the code fix of timer and Mbed TLS. 2020-01-22 14:40:51 +09:00
Andrew Chong d13ff9c5cb Revert "Removed the unused port_api.c driver code."
This reverts commit 9fad25f8dcc30591ce5c5f7c51945eabb8de2617.
2020-01-22 14:40:51 +09:00
Andrew Chong bf24feae73 Removed the unused port_api.c driver code. 2020-01-22 14:40:51 +09:00
Andrew Chong 7bf7c1ec56 Revert "Following the IAR dynamic heap policy."
This reverts commit 374aed24111d80b03efc096722daa84234cfb613.
2020-01-22 14:40:51 +09:00
Andrew Chong cc6f7e51a3 Revert "Forgot to set the IAR base heap size to minimal."
This reverts commit be5633d11e243d58406ddee27a1c75d242664a3e.
2020-01-22 14:40:51 +09:00
Andrew Chong bce345f398 Forgot to set the IAR base heap size to minimal. 2020-01-22 14:40:51 +09:00
PARKJIHOON 12a0f6b13e Assign VTOR address '0'
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong 472378d265 Following the IAR dynamic heap policy. 2020-01-22 14:40:51 +09:00
PARKJIHOON 60dffda783 tidy up PR comments #2
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +09:00
PARKJIHOON d8dca5b4ab fix Link Script format
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +09:00
PARKJIHOON 2e0ff5d145 tidy up PR comments #1
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +09:00
PARKJIHOON 8ab00df7b4 Adding Samsung Exynos i S111 target code.
Adding a new target of HW development kit using [Samsung Exynos i S111](https://www.samsung.com/semiconductor/minisite/exynos/products/iot/exynos-i-s111/) module to Mbed-OS.
This will widen the HW choices of Mbed-OS enabled NB-IoT, GNSS and Security (eFuse, AES, SHA-2, PKA, Secure Storage, Security Sub-System, [PUF](https://en.wikipedia.org/wiki/Physical_unclonable_function)) modules.
Target Name: S5JS100

Co-authored-by: Ivan Galkin <ivan.galkin@samsung.com>
Co-authored-by: Seokwon Lee <swon.lee@samsung.com>
Co-authored-by: Zhizhe Zhu <zhizhe.zhu@samsung.com>
Co-authored-by: Xinyi Zhao <xinyi.zhao@samsung.com>
2020-01-22 14:40:50 +09:00