Skip to content

New Target Mbed Connect Cloud board #5262

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 89 commits into from
Closed

New Target Mbed Connect Cloud board #5262

wants to merge 89 commits into from

Conversation

andcor02
Copy link

@andcor02 andcor02 commented Oct 5, 2017

Description

Introduced mbed Connect Cloud board based on ODIN-W2 Module
Renamed some UBLOX ODIN-W2 files to make space for new board

Status

READY

Migrations

If this PR changes any APIs or behaviors, give a short description of what API users should do when this PR is merged.

NO

fkjagodzinski and others added 30 commits September 5, 2017 13:31
As reported by MBED user Fran6Jack:
I2C bus are usually 5V tolerant on all STM32 processor.
If an external device on the I2C bus requires 5V operation,
we usually acheive it by using 5V external pull-ups on the bus.
Since signaling uses open-drain output on I2C for both signal SCL and SDA
any 5V tolerant MCU will work on a 5V I2C bus. Having pull-up activated on a 5V externally pull bus, cause the pin to clamp on the STM32 die diode and could damage the IC (There is a note in STM32 datasheet specifying this issue).
It is understood by all the community that I2C bus should always be
externally pulled by physical resistor. I2C initialization should then
be ALWAYS OpenDrainNoPull by default.

Up to now, this I2C driver was setting pull up by default as it helps
basic testing, like 1 master and 1 slave, conencted with 2 wires without
any external pull ups. This will not work anymore after this commit and
applications tests or examples needs to be modified to explicitely
configure pull ups ...  But it is safer to follow reference manual
guidelines.
Fixed minor typos in test_api.py
Added get_interface_version to detect_targets
The use of mktime was causing a fault when called in interrupt handler because on GCC it lock the mutex protecting the environment, To overcome this issue, this patch add dedicated routine to convert a time_t into a tm and vice versa.
In the process mktime has been optimized and is now an order of magnitude faster than the routines present in the C library.
1. Remove stale code with mbed OS 3.
2. Remove check for busy peripherals unorganizedly. This would be supported by e.g. official sleep manager.
1. Remove stale code with mbed OS 3.
2. Remove check for busy peripherals unorganizedly. This would be supported by e.g. official sleep manager.
These power-down code are stale and would be superseded by sleep manager.
Previous the voltage range was set to 1.2 from SoC internal reference source.
This caused problem with testing. It is unexpected that range is much
shorter than vdd as well.

The voltage range was extended using SoC build in analog prescaler (set to 1/3).
GCC's newlib library depends on fstat to get in-flight information about
a file's type an size. A working fstat for regular files is needed for
seek and related functions to work correctly.
Add quotes to preprocessor path on export
fs: Fix fstat retarget for regular files
Merging changes from ATParser towards parser unification
examples: remove eddystone ble examples
Add retry to handle git clone failure
@0xc0170
Copy link
Contributor

0xc0170 commented Oct 6, 2017

@andreaslarssonublox @andreaspeterssonublox Please review

adbridge and others added 14 commits October 6, 2017 11:53
fs: Add missing retarget definitions for ARM/IAR
1) if we receive more than one __sync, previous handshake would consider
it as echo_count and try to decode the value. Now we skip superfluous __sync.

2) reduce the uart load produced by the test, as we are heavily running tests in
parallel and not one-to-one this update was required.
Prevent use of deleted ticker in Ticker test
Fix an incorrect comment in ticker API
STM: I2C: Configure pins in OpenDrainNoPull by default (no pullup)
NUC472/M453/M487/NANO130: Add updates for Nuvoton targets
Implement functional Wifi tests
…rt_defines

Moved STDIO_UART defines for UBLOX_EVK_ODIN_W2
Extend nRF51 AnalogIn voltage range to 3.6 V
STM32: add ADC calibration for L4, F1, F3 devices
RTL8195AM - Fix and cleanup mbed_rtx.h
Fix documentation of BLE GattCharacteristic
Fix echo test handshake and reduce uart load
@andreaslarssonublox
Copy link

andreaslarssonublox commented Oct 10, 2017

LGTM
I did a quick test by building blinky and verified that the LED was working as before for UBLOX_EVK_ODIN_W2 target.

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 10, 2017

@andcor02 Can you please rebase , there was an update to the pinnames

@mbed-ci
Copy link

mbed-ci commented Oct 10, 2017

Build : FAILURE

Build number : 55
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5262/

@andcor02
Copy link
Author

Moved to with UBLOX changes: #5305

@andcor02 andcor02 closed this Oct 12, 2017
@sg- sg- removed the needs: work label Oct 12, 2017
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.