Skip to content

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

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

Closed
wants to merge 3 commits into from

Conversation

ohagendorf
Copy link
Contributor

  • 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
@@ -509,7 +509,7 @@ def __init__(self):
Target.__init__(self)
self.core = "Cortex-M0"
self.extra_labels = ["NORDIC", "NRF51822_MKIT", "MCU_NRF51822", "MCU_NORDIC_16K", "NRF51822"]
self.macros = ['TARGET_NRF51822', 'TARGET_OTA_ENABLED']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

Why did you remove TARGET_OTA_ENABLED here (and below)?

Thanks,
Bogdan

The commit 'export to gcc_arm and coide' removed accidentally 2 macros
from NRF51822 and NRF51 targets.
@ohagendorf
Copy link
Contributor Author

@bogdanm , I added the missing macros to both targets.

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 12, 2014

Hello,

I wonder why you closed this pull request?

@ohagendorf
Copy link
Contributor Author

The last message was, that I should close the pull request and submit it with the solved conflict. That's why I closed it and resubmited the same code but without the conflict. Please see #556.

I thought, the different commits will be combined to a single one.

@ohagendorf ohagendorf deleted the gcc4nucleo_f334 branch October 13, 2014 15:03
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.

3 participants