Skip to content

DELTA_DFBM_NQ620 default configuration #3298

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 7 commits into from
Dec 5, 2016
Merged

DELTA_DFBM_NQ620 default configuration #3298

merged 7 commits into from
Dec 5, 2016

Conversation

TsungtaWu
Copy link
Contributor

Slightly change on the SRC config.
And add mbed_SDK_init() for internal debug purpose.
Please kindly review this PR.

Change SRC setting to RC as default to match with hardware config.
mbed_sdk_init() is added for internal debug purpose (experimental)
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC (NRF_LF_SRC_RC)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you align this defines, should be at the beginning of the line.

Why sdk_init prints time and date? Is this intentional?

@TsungtaWu
Copy link
Contributor Author

Sorry, my bad.
Those three #define are redundant.
Just commit again to fix that.

Can you align this defines, should be at the beginning of the line.

Sorry, my bad. Actually, those three #define are redundant.

Why sdk_init prints time and date? Is this intentional?

YES, we intent to do that for very special reasons.

2016-11-21 21:52 GMT+08:00 Martin Kojtal [email protected]:

@0xc0170 requested changes on this pull request.

In targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/
TARGET_DELTA_DFBM_NQ620/mbed_overrides.c
#3298 (review):

+/* mbed Microcontroller Library

  • * Copyright (c) 2006-2013 ARM Limited
  • * Licensed under the Apache License, Version 2.0 (the "License");
  • * you may not use this file except in compliance with the License.
  • * You may obtain a copy of the License at
  • * http://www.apache.org/licenses/LICENSE-2.0
  • * Unless required by applicable law or agreed to in writing, software
  • * distributed under the License is distributed on an "AS IS" BASIS,
  • * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • * See the License for the specific language governing permissions and
  • * limitations under the License.
  • */
  • #define MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC (NRF_LF_SRC_RC)

Can you align this defines, should be at the beginning of the line.

Why sdk_init prints time and date? Is this intentional?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#3298 (review),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATeFu9Jp9EB0SowyZX8eiOQu09VkByWNks5rAaIogaJpZM4K3Rlo
.

CONFIRM to remove those #define
@0xc0170
Copy link
Contributor

0xc0170 commented Nov 29, 2016

I don't see any newer commit since the requested changes. Please push it to your branch.

@TsungtaWu
Copy link
Contributor Author

TsungtaWu commented Nov 29, 2016 via email

@@ -2338,6 +2338,7 @@
"macros_add": ["BOARD_PCA10040", "NRF52_PAN_12", "NRF52_PAN_15", "NRF52_PAN_58", "NRF52_PAN_55", "NRF52_PAN_54", "NRF52_PAN_31", "NRF52_PAN_30", "NRF52_PAN_51", "NRF52_PAN_36", "NRF52_PAN_53", "S132", "CONFIG_GPIO_AS_PINRESET", "BLE_STACK_SUPPORT_REQD", "SWI_DISABLE0", "NRF52_PAN_20", "NRF52_PAN_64", "NRF52_PAN_62", "NRF52_PAN_63"],
"device_has": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPI_ASYNCH", "SPISLAVE"],
"release_versions": ["2", "5"],
"overrides": {"lf_clock_src": "NRF_LF_SRC_RC"},
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: align overrides please

@@ -0,0 +1,21 @@
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
Copy link
Contributor

Choose a reason for hiding this comment

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

should be 2016

@0xc0170
Copy link
Contributor

0xc0170 commented Dec 2, 2016

I just left 2 nits here, LGTM otherwise. Once fixed, we will run CI

fix year typo and refine targets.json platfrom setting
@TsungtaWu
Copy link
Contributor Author

TsungtaWu commented Dec 2, 2016 via email

Align the phase after all.
@TsungtaWu
Copy link
Contributor Author

TsungtaWu commented Dec 3, 2016 via email

@0xc0170
Copy link
Contributor

0xc0170 commented Dec 5, 2016

/morph test

@mbed-bot
Copy link

mbed-bot commented Dec 5, 2016

Result: SUCCESS

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

/morph test

Output

mbed Build Number: 1200

All builds and test passed!

@0xc0170 0xc0170 merged commit 7d4befa into ARMmbed:master Dec 5, 2016
@adbridge
Copy link
Contributor

This will be manually backported to 5.3.1 due to the merge remote tracking branch commit which should have been rebased prior to this PR being accepted. That merge commit creates an extra 1000 patch commits when running automatically!

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.

4 participants