Commit Graph

152 Commits (10625b35b1818520deb5cd51369265fcffcc4022)

Author SHA1 Message Date
harmut01 9125c51e6c Remove include dependency on `USBDevice_Types.h`
mbed-usb (which provides `USBDevice_Types.h`) is a higher-level USB
library in Mbed-OS that sits on top of the HAL. Targets should not
implement the HAL and use higher-level libraries, hence, the dependency
should be removed. This dependency also causes errors when building with
the bare-metal profile.
2021-04-19 16:20:25 +01:00
harmut01 961ec0ce7f CMake: Add `.cpp` files to target_sources
C++ files were excluded from target_sources, this meant that those files
were being missed entirely during the build process. This adds any files
that may have missed in the first commit.
2021-04-19 16:19:51 +01:00
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
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 9033d9b632 CMake: refactor Renesas targets
Refactor all Renesas 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-10 15:41:40 +00:00
Martin Kojtal d2bf235d41
Merge pull request #14035 from harmut01/remove_rz_targets
Remove unsupported Renesas target include files
2020-12-17 15:37:35 +00:00
Harrison Mutai 65b7950202 Remove unsupported Renesas target include files
MBED_MBRZA1LU, MBED_MBRZA1H, and MBED_MBRZA2M are no longer supported by
Renesas.
2020-12-11 17:13:44 +00:00
Harrison Mutai e8614b341b CMake: Port Renesas targets to CMake
Add targets subdirectory to high level CMake configuration file and
create new configurations for MCUs and individual targets. Change the
interpreter in the ARM scatter file to armclang, which is required for
CMake. Remove private and public interfaces in emac target
configuration. Ensure that all targets build on the arm gcc compiler and
arm compiler.
2020-12-11 16:52:18 +00:00
Martin Kojtal 75e59a59f0
Merge pull request #14000 from RyoheiHagimoto/grmango-oram-calib
Add octa RAM calibration feature to GR-MANGO.
2020-12-09 11:46:06 +00:00
RyoheiHagimoto c34a7b2609 Modified license and code style. 2020-12-07 10:11:20 +09:00
RyoheiHagimoto 0572cf3310 Added octa RAM calibration feature to GR-MANGO.
Modified files in the sub-directory of targets/TARGET_RENESAS/TARGET_RZ_A2XX/.
2020-12-03 20:57:15 +09:00
RyoheiHagimoto edbcb78bb4 Added Apache-2.0 license to the files in r_can directory. 2020-11-13 08:56:15 +09:00
RyoheiHagimoto 6795607f32 Added CAN function to RZ/A2M. 2020-11-11 13:25:55 +09:00
RyoheiHagimoto ec6e74ab1e Updated periperal definition files for Renesas RZ/A2M 2020-11-11 13:23:07 +09:00
Martin Kojtal f57f2657f8
Merge pull request #13747 from RyoheiHagimoto/modify_renesas_deepsleep
Renesas: fix timing to wait UART completion in deep sleep function
2020-10-27 14:09:04 +00:00
RyoheiHagimoto e3fea114ec Fixed I2C slave bugs on Renesas RZ/A series:
Added the register operation when received the slave address.
2020-10-16 18:00:42 +09:00
RyoheiHagimoto 5931050b64 Fixed I2C slave bugs on Renesas RZ/A series.
Fixed following I2C slave bugs on Renesas RZ/A series:
 - Send an incorrect value during slave mode.
 - The behavior for the restart condition is wrong.
2020-10-16 17:58:40 +09:00
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Harrison Mutai d1d6bf51b3 Add license notice to Arm copyrighted source files
Scancode found missing license notices in our source files. This commit
addresses those issues by adding an Apache-2.0 notice to source files
highlighted.
2020-10-15 10:46:35 +01:00
RyoheiHagimoto 15c28e919d Modified the timing to wait UART completion in deep sleep function.
Moved waiting UART transmission completion to the out of critical
section. This is issued by the following pull request.
https://github.com/ARMmbed/mbed-os/pull/11816
2020-10-09 17:28:52 +09:00
talorion b03d80fd08 pwmout - fixed compile errors 2020-09-02 13:39:17 +02:00
talorion 2d5e51794b pwmout - RZ_A2XX - add read methods for period and pulsewidth 2020-09-02 13:39:15 +02:00
talorion c4559ba8e2 pwmout - RZ_A1XX - add read methods for period and pulsewidth 2020-09-02 13:39:15 +02:00
RyoheiHagimoto e818c489d5 Modifed some source files for GR-MANGO.
Aligned with the astyle rule.
Deleted old ARM5 check.
2020-08-18 10:48:56 +09:00
RyoheiHagimoto db3cec4398 Added GR-MANGO to be a target.
Passed GreenTea CI.
Added RZ_A2XX and GR_MANGO to targets.json.
Added RZ_A2XX to mbedlib.json in lwipstack and netsocket/ppp.
Added TARGET_RZ_A2XX directory to targets/TARGET_RENESAS.
Added TARGET_RENESAS_EMAC directory to features/netsocket/emac-drivers.
Moved TARGET_RZ_A1_EMAC directory into the TARGET_RENESAS_EMAC directory below and renamed to TARGET_RZ_A1XX.
Added TARGET_RZ_A2XX directory to features/netsocket/emac-drivers/TARGET_RENESAS_EMAC.
2020-08-18 10:48:48 +09:00
MarceloSalazar 8bf863c181 Remove vk_rz_a1h target 2020-04-09 15:32:41 +01:00
Rajkumar Kanagaraj 3d128e861b - Fix the CI build issue.
- Incorporate the review comment.
2020-04-08 10:35:07 +01:00
Rajkumar Kanagaraj 9739b565b2 Fix the CI build issue 2020-04-08 10:35:07 +01:00
RyoheiHagimoto 7794221c69 [RZ_A1H] remove usage of ethernet hal API 2020-03-30 14:54:35 +09:00
d-kato 4fbb87d2bb Moved transmission completion wait to hal_deepsleep 2019-11-07 12:19:10 +09:00
d-kato 86f648d0b7 serial_putc waits for the transmission to complete 2019-11-06 20:48:30 +09:00
d-kato 076bbe9d56 Fix missing mbed_get_a9_tick_irq in non-RTOS build 2019-11-06 13:28:04 +09:00
Hugues Kamba 5cbc3e0497 Relocate USB target specific code to root `targets` directory
All target specific source and header files should be in the `targets`
directory located at the root of the Mbed OS repository.
2019-08-16 15:42:43 +01:00
Martin Kojtal c98b0d0b03 VK_RZ_A1H: add mbed_get_a9_tick_irqn 2019-07-15 10:13:50 +03:00
Maciej Bocianski fcde82ba4f HAL I2C: adds missing DEVICE_I2C guards 2019-06-19 23:08:55 +02:00
d-kato 4dc3b0e269 Fix bugs by optimization 2019-06-07 11:14:03 +09:00
d-kato 874c087494 Change FPU enable timing in "SystemInit()" 2019-05-16 13:40:33 +09:00
d-kato e96c6334f7 Refactoring system clock driver 2019-03-26 19:02:46 +09:00
d-kato 2509ea82fd Removed clock mode decision of "SystemCoreClockUpdate()"
Since GPIO.PPR0 can not check clock mode, I changed it to set a fixed value for each board.
2019-03-26 19:02:46 +09:00
d-kato cb31d11319 Fix the value of SystemCoreClock
The OS timer of RZ/A1 uses P0 clock, so until now it has been set the value of P0 clock in SystemCoreClock.
Changed the system clock value to set to SystemCoreClock.
Changed to refer to P0 clock macro instead of SystemCoreClock in OS timer processing.
2019-03-26 19:02:46 +09:00
d-kato d67af43202 Fix condition statement of write function 2019-03-11 10:42:54 +09:00
d-kato c5b01bf429 Add PWM pin for GR-LYCHEE 2019-03-07 12:26:53 +09:00
d-kato 9c8d263b4e Remove noise when duty is 0% and 100% 2019-03-07 12:13:06 +09:00
d-kato 09df3eb696 Changed PWM period setting register for RZ/A1 2019-03-07 12:07:24 +09:00
d-kato 70217338cb Refactoring PWM driver for RZ/A1 2019-03-07 12:00:57 +09:00
d-kato 7aebee07b1 GR_LYCHEE,RZ_A1H,VK_RZ_A1H: Update to fix ARMC6 build failures 2019-02-28 11:55:19 -06:00
Cruz Monrreal e1736cd06f
Merge pull request #9571 from mprse/fix_9523_rtos_less_issue
Update to 2-region model for HEAP and Stack Memory
2019-02-26 22:50:19 -06:00
d-kato 78923d8135 Add missing license description to RZ/A1 driver 2019-02-26 11:52:29 +09:00
deepikabhavnani b36147fbe9 ISR_Stack_start/size defines are not needed, use linker file defines 2019-02-19 15:49:49 -06:00