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

Restructure directory layout to better match emerging structure #2266

Closed
wants to merge 18 commits into from

Commits on Aug 15, 2016

  1. [restructure] Moved target code in hal to top-level target folder

    hal/targets -> targets
    hal/hal -> targets/hal
    hal/targets.json -> targets/targets.json
    geky committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    4cf123d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    027f4c1 View commit details
    Browse the repository at this point in the history
  3. [restructure] Moved hal to drivers+platform

    CThunk -> platform/CThunk
    CallChain -> platform/CallChain
    Callback -> platform/Callback
    FunctionPointer -> platform/FunctionPointer
    SingletonPtr -> platform/SingletonPtr
    critical -> platform/critical
    mbed_assert -> platform/mbed_assert
    mbed_debug -> platform/mbed_debug
    mbed_error -> platform/mbed_error
    platform -> platform/platform
    retargetpp -> platform/retargetpp
    toolchain -> platform/toolchain
    mbed_interface -> drivers/mbed_interface
    semihost_api -> drivers/semihost_api
    
    AnalogIn -> drivers/AnalogIn
    AnalogOut -> drivers/AnalogOut
    BusIn -> drivers/BusIn
    BusInOut -> drivers/BusInOut
    BusOut -> drivers/BusOut
    CAN -> drivers/CAN
    CircularBuffer -> drivers/CircularBuffer
    DigitalIn -> drivers/DigitalIn
    DigitalInOut -> drivers/DigitalInOut
    DigitalOut -> drivers/DigitalOut
    DirHandle -> drivers/DirHandle
    Ethernet -> drivers/Ethernet
    FileBase -> drivers/FileBase
    FileHandle -> drivers/FileHandle
    FileLike -> drivers/FileLike
    FilePath -> drivers/FilePath
    FileSystemLike -> drivers/FileSystemLike
    I2C -> drivers/I2C
    I2CSlave -> drivers/I2CSlave
    InterruptIn -> drivers/InterruptIn
    InterruptManager -> drivers/InterruptManager
    LocalFileSystem -> drivers/LocalFileSystem
    LowPowerTicker -> drivers/LowPowerTicker
    LowPowerTimeout -> drivers/LowPowerTimeout
    LowPowerTimer -> drivers/LowPowerTimer
    PortIn -> drivers/PortIn
    PortInOut -> drivers/PortInOut
    PortOut -> drivers/PortOut
    PwmOut -> drivers/PwmOut
    RawSerial -> drivers/RawSerial
    SPI -> drivers/SPI
    SPISlave -> drivers/SPISlave
    Serial -> drivers/Serial
    SerialBase -> drivers/SerialBase
    Stream -> drivers/Stream
    Ticker -> drivers/Ticker
    Timeout -> drivers/Timeout
    Timer -> drivers/Timer
    TimerEvent -> drivers/TimerEvent
    Transaction -> drivers/Transaction
    can_helper -> drivers/can_helper
    rtc_time -> drivers/rtc_time
    wait_api -> drivers/wait_api
    geky committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    38fcc29 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    977bfc1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    50e0486 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c11b96a View commit details
    Browse the repository at this point in the history
  7. [restructure] Fixed include bug in features/unsupported/net/lwip

    time.h brings in struct timeval
    lwip defines custom struct timeval
    
    resolved through disabling lwip's struct timeval
    geky committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    700a7c9 View commit details
    Browse the repository at this point in the history
  8. [restructure] Updated tools to point to restructured modules

    MBED_HAL       /hal/hal      x
    MBED_API       /hal/api      x
    MBED_COMMON    /hal/common   x
    MBED_TARGETS   /hal/targets  ->  /targets
    MBED_DRIVERS                  +  /drivers
    MBED_PLATFORM                 +  /platform
    geky committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    8d0833a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    00e1bb6 View commit details
    Browse the repository at this point in the history
  10. [restructure] Moved hal to top-level directory

    /targets/hal -> /hal
    geky committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    63aca8f View commit details
    Browse the repository at this point in the history
  11. [restructure] Moved stdio-config into platform namespace

    core.stdio-convert-newlines -> platform.stdio-convert-newlines
    core.stdio-baud-rate        -> platform.stdio-baud-rate
    geky committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    58dae89 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d8f31ce View commit details
    Browse the repository at this point in the history
  13. [restructure] Worked around dropped namespaces in build_travis

    The platform/driver header files can not be correctly namespaced
    due to header flattening in tools/build_api.py.
    geky committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    bc61170 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0668287 View commit details
    Browse the repository at this point in the history
  15. Prefix drivers.h and platform.h with mbed

    To prevent file name conflicts prefix the files drivers.h and
    platform.h with mbed_.
    c1728p9 authored and geky committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    cc34a65 View commit details
    Browse the repository at this point in the history
  16. add templates for issues and pull requests. Moved from previous repo …

    …and simplified template since people seemed to not understand all that was expected.
    sg- authored and geky committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    2df8089 View commit details
    Browse the repository at this point in the history
  17. [restructure] Fixed small include error due to indirect dependency

    previous dependencies
    FileBase.h -> PlatformMutex.h -> mbed_platform.h
    SingletonPtr.h -> PlatformMutex.h -> mbed_platform.h -> stddef.h
    
    now
    FileBase.h -> mbed_platform.h
    SingletonPtr.h -> stddef.h
    geky committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    913ced7 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0541e19 View commit details
    Browse the repository at this point in the history