Skip to content

[EXPORT][NUCLEO_F334R8] export to gcc_arm and coide #556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 13, 2014

Conversation

ohagendorf
Copy link
Contributor

Exporter to gcc_arm and coide for target nucleo_f334r8. Previous pull request #527 had a merge conflict and @bogdanm asked to resubmit a new pull request.

  • exporter to gcc_arm and coide
  • rtos library is not working because of double defined SysTick_Handler in system_stm32f3xx.c and in rtos
  • that's why the two new generated projects by export_test.py has to be changed manually (remove rtos library, change main e.g. to blinky example)
  • please see pullrequest [EXPORT] commandline options for export_test.py similar to build.py #526 for a correct export
  • tests with "peripherals": ["digital_loop"] are going through:

Test summary:

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
| Result | Target | Toolchain | Test ID | Test Description | Elapsed Time (sec) | Timeout (sec) | Loops |
+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
| OK | NUCLEO_F334R8 | GCC_ARM | DTCT_1 | Simple detect test | 0.44 | 10 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | EXAMPLE_1| /dev/null | 3.37 | 10 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_10 | Hello World | 0.37 | 10 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_11 | Ticker Int | 11.31 | 20 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_12 | C++ | 1.32 | 10 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_16 | RTC | 4.7 | 15 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_2 | stdio | 0.76 | 20 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_23 | Ticker Int us | 11.37 | 15 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_24 | Timeout Int us | 11.41 | 15 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_25 | Time us | 11.31 | 15 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_26 | Integer constant division|1.32| 10 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_A1 | Basic | 1.32 | 10 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_A21| Call function before main (mbed_main)|1.31|10|1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_A5 | DigitalIn DigitalOut | 1.31 | 10 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_A6 | DigitalInOut | 1.31 | 10 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_A7 | InterruptIn | 9.31 | 10 | 1/1 |
| OK | NUCLEO_F334R8 | GCC_ARM | MBED_A9 | Serial Echo at 115200 | 5.97 | 10 | 1/1 |
+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
Result: 17 OK

Completed in 125.02 sec

- rtos library is not working because of double defined SysTick_Handler
in system_stm32f3xx.c and in rtos
- please see pullrequest ARMmbed#526 for a correct export
- tests are working fine:
Test summary:

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
| Result | Target        | Toolchain | Test ID   | Test Description
| Elapsed Time (sec) | Timeout (sec) | Loops |

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
| OK     | NUCLEO_F334R8 | GCC_ARM   | DTCT_1    | Simple detect test
|        0.44        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | EXAMPLE_1 | /dev/null
|        3.37        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_10   | Hello World
|        0.37        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_11   | Ticker Int
|       11.31        |       20      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_12   | C++
|        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_16   | RTC
|        4.7         |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_2    | stdio
|        0.76        |       20      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_23   | Ticker Int us
|       11.37        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_24   | Timeout Int us
|       11.41        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_25   | Time us
|       11.31        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_26   | Integer constant
division             |        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A1   | Basic
|        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A21  | Call function before
main (mbed_main) |        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A5   | DigitalIn DigitalOut
|        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A6   | DigitalInOut
|        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A7   | InterruptIn
|        9.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A9   | Serial Echo at 115200
|        5.97        |       10      |  1/1  |

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
Result: 17 OK

Completed in 125.02 sec
The commit 'export to gcc_arm and coide' removed accidentally 2 macros
from NRF51822 and NRF51 targets.
Conflicts:
	workspace_tools/export/gccarm.py
	workspace_tools/export_test.py
@0xc0170
Copy link
Contributor

0xc0170 commented Oct 13, 2014

Hi,

can you please add no rttti flag as the latest pull request regarding exporters and no rtti flag was merged?

@ohagendorf
Copy link
Contributor Author

@0xc0170, I added the flag to gcc_arm exporter. And checked all coide exporter. They are using this flag already, also the template in this pull request.

0xc0170 added a commit that referenced this pull request Oct 13, 2014
Exporters: NUCLEO_F334R8 - export to gcc_arm and coide (templates, travis addition)
@0xc0170 0xc0170 merged commit 77c1102 into ARMmbed:master Oct 13, 2014
@ohagendorf ohagendorf deleted the Nucleo_F334R8 branch October 13, 2014 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants