byq77
December 7, 2017, 4:32pm
#1
I have a simple question,
Where in the project tree should I put mbed configuration files like mbed_app.json
? I want to disable a few things e.g. hwfc for the nRF52 DK target. I know I can do this in target.json
in /framework-mbed/targets
folder, but I would like to have separate settings for this specific project.
We don’t support mbed_app.json
, please use Redirecting... and build options.
1 Like
berrg
December 19, 2017, 12:18pm
#3
Can you provide an example how this can be specified?
How do you do that with mbed CLI?
I think there is no answer in the thread. I want to do this:
opened 01:15AM - 17 Jun 17 UTC
closed 12:49PM - 17 Jun 17 UTC
- Type: Critical bug
- Related issue: https://github.com/ARMmbed/mbed-os-exampl… e-ble/issues/25
- Priority: Blocker
---------------------------------------------------------------
## Bug
I believe the same behavior (serial port not open on PC causing system hang) happens on nrf52 targets as well. As soon as I reach a printf, the cpu hang.
This was reproducible on nrf52DK when trying to open a second serial port on two random I/O pins.
Is there a workaround for nrf52? I saw the related issue on nrf51dk.
This did not pose a problem in older versions of mbed, but seems to be happening with mbed lib v144 (both OS2 and OS5).
**Target**
NRF52
**Toolchain:**
GCC_ARM / mbed online compiler
**Expected behavior**
System should not hang.
**Actual behavior**
System hangs.
“target_overrides”: {
“NRF52_DK”: {
“target.uart_hwfc”: 0
}
To the mbed_app.json
any way to do this in some config?
1 Like
Hi byq77,
Did you find a solution by now?
Yours,
BleDude
Hi @ivankravets , may you help a bit?
How to set this type options ?
I tried to figure out how to use Low Frequency Internal Crystal.
Thanks, Taras.
See my comment here
opened 10:00AM - 14 Dec 18 UTC
closed 09:31PM - 21 Feb 19 UTC
feature
Hi,
I'm trying to port my project in PIO to original arm's mbed framework with … `mbed-cli`. The code compiles fine but it runs into a problem on executing because using large arrays which worked fine on PIO but have some problem with mbed framework. I search and found that PIO uses some unique configurations on each target and on the other side mbed uses `mbed_app.json` and `mbed_config.h` for the configuration. I was wondering if there are any public way that I can port the PIO configuration for my target?
I'm using DISCO_F407VG target.
Thanks.
A temporary solution is to use build_flags . For example,
[env:myenv]
platform = ...
build_flags = -D MBED_CONF_NORDIC_NRF_LF_CLOCK_CALIB_TIMER_INTERVAL
@ivankravets thanks,
build_flags =
-D MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC=NRF_LF_SRC_RC
it works well for me
1 Like
What is your mbed_app.json
? We will add soon support for it.
1 Like
I followed this doc :
{
"target_overrides": {
"*": {
"target.lf_clock_src": "NRF_LF_SRC_XTAL"
}
}
}