Skip to content
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

[NUC472/M453] Support single UART shared by multiple serial objects and other updates #3211

Merged
merged 4 commits into from
Nov 10, 2016

Conversation

ccli8
Copy link
Contributor

@ccli8 ccli8 commented Nov 7, 2016

Description

This PR patches for the targets NuMaker-PFM-NUC472 and NuMaker-PFM-M453 and has the following modifications:

  1. Fix greentea test failed. This is caused by no support for single UART H/W module shared by multiple serial S/W objects.
  2. Reduce interrupt stack size from 12/4 KB to 2 KB.
  3. Remove dead code in device.h.

stdio_uart_inited = 1;
/* NOTE: Not required anymore because stdio_uart will be manually initialized in mbed-drivers/source/retarget.cpp from mbed beta */
//memcpy(&stdio_uart, obj, sizeof(serial_t));
memcpy(&stdio_uart, obj, sizeof(serial_t));
Copy link
Contributor

Choose a reason for hiding this comment

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

what has changed that is now uncommented?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@0xc0170 That was to meet mbed OS 3.0. Now I change it back to meet mbed OS 2.0/5.0.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 7, 2016

/morph test

@mbed-bot
Copy link

mbed-bot commented Nov 7, 2016

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1011

All builds and test passed!

@adbridge adbridge merged commit 67e03ee into ARMmbed:master Nov 10, 2016
aisair pushed a commit to aisair/mbed that referenced this pull request Apr 30, 2024
Ports for Upcoming Targets


Fixes and Changes

3127: Fixed the issue about push/pop of VFP register. ARMmbed/mbed-os#3127
3176: Modifying micro:bit pin names to mirror micro:bit edge connector ARMmbed/mbed-os#3176
3160: Fix wrong index at LPC43xx tx end ring assignment ARMmbed/mbed-os#3160
3217: Add I2C_ASYNCH capability for DISCO_F469NI ARMmbed/mbed-os#3217
3211: [NUC472/M453] Support single UART shared by multiple serial objects and other updates ARMmbed/mbed-os#3211
3198: NUCLEO_F410RB: Add I2C_ASYNCH capability ARMmbed/mbed-os#3198
3194: Update K64 sdk drivers ARMmbed/mbed-os#3194
3159: User trim values for NCS36510 ARMmbed/mbed-os#3159
3243: Fix make exporters compilation ARMmbed/mbed-os#3243
3231: STM32F3: DISCO_F303VC - Add missing UART and ADC pin muxing options ARMmbed/mbed-os#3231
3233: K20xx Calculate PWM clock relative to bus clock ARMmbed/mbed-os#3233
3237: Added back USART 6 pins ARMmbed/mbed-os#3237
3253: Fix default polarity on LPC43XX PWM driver ARMmbed/mbed-os#3253
3238: Dev i2c stm32f4hal ARMmbed/mbed-os#3238
3251: Dev stm32l0 cube v1.7.0 ARMmbed/mbed-os#3251
3252: [NORDIC - NRF51 - MBED 2] Fix non handled RTC IRQ ARMmbed/mbed-os#3252
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants