Commit Graph

30127 Commits (0614e92c5bebf4f0355a36ff7f1f7936701d710d)

Author SHA1 Message Date
pea-pod 77a1a72c46 Add enum class flag definition to platform 2020-05-24 00:23:06 -05:00
Jaeden Amero a5a544408d tools: Warn when ARMC5 is no longer supported
Update the warning when ARMC5 is used to specify the conditions under
which ARMC5 is no longer supported.
2020-05-22 15:39:01 +01:00
Jaeden Amero 64f19281d3 Revert "Add the exception in Mbed OS build tool for Arm Compiler 5 toolchain."
For backwards compatibility reasons, as the Mbed tools must be able to
build any online-compiler-supported version of Mbed, revert back to
emitting a warning when ARMC5 is used. This will enable ARMC5 to
continue working in the online compiler for Mbed OS 5 and other previous
versions. ARMC5 remains unsupported in Mbed 6.

This reverts commit 03d57b7ba2.
2020-05-22 15:39:01 +01:00
Jaeden Amero 8be07a4906 tools: Fix typo in comment 2020-05-22 14:51:58 +01:00
George Beckstein 28e221da18 Update NUCLEO_G474RE target definition to inherit from renamed MCU_STM32 2020-05-20 07:30:18 -04:00
George Beckstein 658d89be8c Apply linker fix as in #12690 to new NUCLEO_G474RE target 2020-05-20 06:39:17 -04:00
George Beckstein 6e2fa616c7 Added spi_api.c implementation 2020-05-20 06:39:17 -04:00
George Beckstein eb8d128a24 Updated system clock settings to run at 170MHz (max for this target). Affects both HSI and HSE modes. 2020-05-20 06:39:17 -04:00
George Beckstein f391718a6d Updated detect code for NUCLEO_G474RE 2020-05-20 06:39:17 -04:00
George Beckstein 44ca862af3 Changed us_ticker configuration to use TIM5 instead of TIM2 to be consistent with the allowed PWM peripheral pins. 2020-05-20 06:39:17 -04:00
George Beckstein 2297e1b91e Updated clock configuration settings for NUCLEO_G474RE 2020-05-20 06:39:17 -04:00
George Beckstein c687ae312f Added missing analogin_device.c file and configured for STM32G4xx series 2020-05-20 06:39:17 -04:00
George Beckstein 613af0f604 Added support for ANALOGOUT 2020-05-20 06:39:17 -04:00
George Beckstein 934d60e63d Added support for FLASH API 2020-05-20 06:39:17 -04:00
George Beckstein 7f19c8ac6e Added support for SPI API 2020-05-20 06:39:17 -04:00
George Beckstein 06d74aa37a Added support for PWMOUT 2020-05-20 06:39:17 -04:00
George Beckstein e38dfc78b6 Added support for PORT APIs 2020-05-20 06:39:17 -04:00
George Beckstein f59ec66710 Added support for INTERRUPTIN 2020-05-20 06:39:17 -04:00
George Beckstein 4f41d2d66c Added support for I2CSLAVE and I2C_ASYNCH 2020-05-20 06:39:17 -04:00
George Beckstein 5e25e004df Added support for I2C 2020-05-20 06:39:17 -04:00
George Beckstein cc86ec99d0 Added ANALOGIN support 2020-05-20 06:39:17 -04:00
George Beckstein b11d160195 Added RTC support 2020-05-20 06:39:17 -04:00
George Beckstein d68ec74852 Added USTICKER support 2020-05-20 06:39:17 -04:00
George Beckstein 118919b820 Added RESET_REASON support (untested). 2020-05-20 06:39:17 -04:00
George Beckstein 80c5d96420 Added support for WDT (untested). Checked datasheet for maximum LSI frequency 2020-05-20 06:39:17 -04:00
George Beckstein 143a54922d Add support for SLEEP (untested) 2020-05-20 06:39:17 -04:00
George Beckstein 46ecb489b9 Add support for STDIO_MESSAGES 2020-05-20 06:39:17 -04:00
George Beckstein 740a73fa5b Add support for SERIAL_FC (untested) 2020-05-20 06:39:17 -04:00
George Beckstein 3432960aa1 Implemented support for basic serial communication 2020-05-20 06:39:17 -04:00
George Beckstein ec2544023d Added basic support for NUCLEO_G747RE. Basic GPIO support and system initialization. 2020-05-20 06:39:17 -04:00
jeromecoutant 13ba114d12 STM32G4 DISCO_G474RE introduction
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant 2631bf8070 STM32G4 NUCLEO_G474RE introduction
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant fd2bac73c9 STM32G4 NUCLEO_G431RB introduction
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant 85e8a59e84 STM32G4 NUCLEO_G431KB introduction
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant 35e3ce9034 STM32G4 automatic adaptation for MBED 2020-05-20 06:39:17 -04:00
jeromecoutant b387ed6bc1 STM32G4 introduction
Import from STM32Cube_FW_G4_V1.1.0
2020-05-20 06:39:17 -04:00
Martin Kojtal 9a8c9e2c29
Merge pull request #12995 from 0xc0170/fix_target_toolchain
build tools: fix target toolchain
2020-05-19 17:51:57 +02:00
Martin Kojtal 1088fa0627 build tools: remove version 6 2020-05-19 14:28:26 +01:00
Martin Kojtal bcfa1f97e0 tools build: add 6 to the version check 2020-05-19 13:03:53 +01:00
Martin Kojtal 12cadc2e91 tools build: remove git diff typo 2020-05-19 12:43:24 +01:00
Pavel Slama 9d7e55b3f3 move system_clock.c to the root 2020-05-19 13:33:55 +02:00
jeromecoutant a7c9601d08 OS timer uses LPTICKER by default, then USTICKER
This PR makes the bare-metal mode work automatically
regardless of the tickless-from-us-ticker setting
- in non RTOS mode
- and in RTOS tickless mode
2020-05-19 12:34:11 +02:00
Martin Kojtal 5a9ad74818 targets: add version 6 to the toolchain 2020-05-19 11:14:18 +01:00
Pavel Slama 1fc9561af7 STM32F412 bypass PLL configuration when already done by bootloader 2020-05-19 11:48:56 +02:00
Martin Kojtal 3847373660 targets: add baremetal to some known tested targets 2020-05-19 10:45:43 +01:00
Martin Kojtal ada878122c targets: fix indent 2020-05-19 10:37:13 +01:00
Martin Kojtal 6ca3c42942 targets: profiles remove/add not functional, replace it
It might be a bug as it should work.
2020-05-19 10:34:21 +01:00
Martin Kojtal dd6ed6c968 Revert "targets: enable baremetal by default"
This reverts commit 9b4cddd16a.

Not all targets can be enabled, will need more work.
2020-05-19 10:26:48 +01:00
Martin Kojtal b43fc0cf1a build: target toolchain return
Revert back to the toolchain function. Although it should be refactored (return just list of toolchains from a target).
2020-05-19 10:23:20 +01:00
cyliangtw cda40b2788 M487, NUC472 EMAC code fulfill astyle 2020-05-19 14:32:12 +08:00