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

Merge TARGET_LPC11CXX and TARGET_LPC11XX? #65

Closed
omdathetkan opened this issue Sep 12, 2013 · 5 comments
Closed

Merge TARGET_LPC11CXX and TARGET_LPC11XX? #65

omdathetkan opened this issue Sep 12, 2013 · 5 comments

Comments

@omdathetkan
Copy link
Contributor

It looks like the HAL implementation for the LPC11XX and the LPC11CXX are virtually the same, except for:

  • a few extra I/O pins on the LPC11XX
  • the extra can peripheral on the LPC11CXX
  • reserved memory for on chip drivers on the LPC11CXX (0x1000 0050 - 0x1000 00B8)

I noticed that a lot of bugs already got fixed on the LPC11XX leaving both directories out of sync. Would it make sense to use one target folder and just use a few ifdefs for the minor differences?

@emilmont
Copy link
Contributor

Yes, it sounds like a reasonable idea.

We will consider doing it once we have both targets in our official test bed.

Cheers,
Emilio

@matthewelse
Copy link
Contributor

Hi Emilio,

I was just wondering what your plans were for setting up a test bed for the
LPC11(C)XX?

On Mon, Sep 16, 2013 at 5:35 PM, Emilio Monti [email protected]:

Yes, it sounds like a reasonable idea.

We will consider doing it once we have both targets in our official test
bed.

Cheers,
Emilio


Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-24524263
.

Matthew Else

@emilmont
Copy link
Contributor

Hi Matthew,
no clear plans yet.

It is not yet among our supported platforms: http://mbed.org/platforms/

Cheers,
Emilio

@emilmont
Copy link
Contributor

Fixed by a4badc7 and 30907d7

@mbednotifications
Copy link

Perfect!! Thanks a lot

On Friday, September 27, 2013 1:29:14 AM UTC-7, Bogdan Marinescu wrote:

Fixed by a4badc7a4badc7dd2db480f49202d8eb12f42d0d65eedf7and
30907d730907d7


Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-25230166
.

bridadan pushed a commit that referenced this issue Jun 21, 2016
Add support for following symlinks in make.py
artokin pushed a commit to artokin/mbed-os that referenced this issue Aug 23, 2017
… from e125164..d65b6b0

d65b6b0 Update unittests for nsdynmemlib API change (ARMmbed#71)
bc69b8b Disable CoAP duplicate message detection (ARMmbed#69)
ccb65f8 Change year 2017 to copyright (ARMmbed#68)
76490a7 Add option to join COAP multicast group (ARMmbed#67)
381d910 Register to multicast groups (ARMmbed#66)
dce323c Add transaction delete to CoAP service (ARMmbed#65)
feea33e Add option to select used socket interface (ARMmbed#63)
5a5c0f9 Merge pull request ARMmbed#62 from ARMmbed/coap_separation
0d26c00 Modifying file headers and Makefile  to adapt from libcoap to mbed-coap
d323c3a Fixing unit tests based on new coap library
d1a3d25 Modifying Makefile and source file based on new coap library

git-subtree-dir: features/nanostack/FEATURE_NANOSTACK/coap-service
git-subtree-split: d65b6b0
artokin pushed a commit to artokin/mbed-os that referenced this issue Aug 23, 2017
…9c..b731d95

b731d95 Clarify mutex type requirement (ARMmbed#77)
7c31aef bumb version number (ARMmbed#72)
75982fc fix dummydefine for mbed_trace_init (ARMmbed#71)
539b80c Update version number. (ARMmbed#69)
b0e09f9 output/ added to gitignore list (ARMmbed#66)
a5cce88 Added include_directories(${CMAKE_CURRENT_SOURCE_DIR}/) include to resolve compilation error for Linux. (ARMmbed#63)
d087dbb Ensure tr_array doesn't print <null> when len == 0 (ARMmbed#65)

git-subtree-dir: features/FEATURE_COMMON_PAL/mbed-trace
git-subtree-split: b731d954d111d92199b2a0402dc9a3d52f5d4a17
geky pushed a commit to geky/mbed that referenced this issue Aug 25, 2018
Adding SPI pins for Thunderboard Sense 2.
yossi2le pushed a commit to yossi2le/mbed-os that referenced this issue Jan 2, 2019
* Remove pal_crypto calls

and call mbedtls api directly

* Add the mbed-printf library

By using this library, the code size of the bootloader will be smaller.
For instructions on how to use it, check the README file of the library.

* Use arm update client insecure rot

* Use sd blockdevice as firmware storage (ARMmbed#60)

Thus eliminating the need for a filesystem,
reducing code size.

Fix bug where we are hashing past the end
of firmware

* Trim buffer before read

So that we don't attempt an read
beyond the end of file.

Remove no longer needed include.

* Use mbed configuration system to configure blockdevice offset

MBED_CONF_UPDATE_CLIENT_STORAGE_ADDRESS and
MBED_CONF_UPDATE_CLIENT_STORAGE_SIZE

Are used directly by the implementation pal-blockdevice
This removes the need of slicing block device layer

* Update mbed-printf to solve a compile error

In c99 <stdbool.h> needs to be included
explicitly to use the bool keyword
on some platform which does not include
this automatically, compilation fails.

* In release script use custom compiler profile

To use custom version of printf from mbed-printf

* Remove PAL (ARMmbed#63)

* Remove mbed client PAL dependency from bootloader
* import update-client-common changes to remove pal refs

* Remove mbed client PAL from bootloader (ARMmbed#65)

* remove PAL from bootloader test

* Fix/power cut tests (ARMmbed#66)

* Trim buffer so we don't read beyond end of storage

* Get around limitation of pal-blockdevice

Where it cannot handle write buffer size
which is not page size aligned correctly

* Fix an bug when trimming buffers

* Add blockdevice configuration to test mbed_app.json

* Pull in fix for setting buffer size

* Remove RTOS and other mbed-os components

This PR removes the RTOS and other mbed-os components from the
bootloader code:

1. .mbedignore contains a list of mbed-os directories that are now
ignored. There are other components ignored besides the RTOS (for
example mbed-printf).
2. "Mutex=PlatformMutex" in mbed_app.json is needed to fix an issue in
the sd-driver library (see PelionIoT/sd-driver#68
for details).
3. the .lib updates contain fixes related to compiling the code in debug
mode without mbed-printf.

With these codes and using arm-none-eabi-gcc 4.9.3 (GCC ARM embedded)
with the release profile in `mbed-printf/profiles/release.json`, the
size of the bootloader binary image is 32328 bytes.

* Allow greentea compilation (needed by tests)

* greentea compilation fix for tests

* Use the ARMCC fix for update-client-pal-flashiap

* Enable nano.specs for GCC

This will result in additional size savings.
Also enable this new profile in both CircleCI and Jenkins.

* Disable fflush

Remove the fflush function from the image:

- disable the "stdio flush at exit" option in mbed-os.
- disable `tr_flush` if mbed-printf is used, since mbed-printf is not
  buffered.

* Feature/depend on hub (ARMmbed#75)

* Depend on update-client-hub

which includes all relavent modules in
this unified repo

* Modify release script to take a compiler profile argument

* Use buffer size member as indication of how many bytes need to be read.

Updage firmware even if the version is the same, if the active firmware
is corrupt.

* Fix compilation for ODIN

Clean up mbedtls config file and
remove unnecessary algorithms

* Set MBEDTLS_SHA256_SMALLER to reduce binary size

saves 1.3k

* Update hub

to pull in:
Conditional compilation of blockdevice
IAR compilation fixes

* Remove dependency on cloud client

depend on update client hub directly

* Use tiny.json as default build profile for release

* Turn on blockdevice for power cut tests

* Improve tests

Build tests only for ARMCC profile
Use ci raas user name and pass word
Use domain name istead of ip for raas server

* remove instructions on mbed-printf build profile

replaced by tiny.json
linlingao added a commit to linlingao/mbed-os that referenced this issue Jul 12, 2019
pan- added a commit to pan-/mbed that referenced this issue May 29, 2020
pan- added a commit to pan-/mbed that referenced this issue May 29, 2020
remove BLE_URIBeacon because the URI beacon protocol is outdated.
Jookia pushed a commit to Jookia/mbed-os that referenced this issue Mar 11, 2023
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

No branches or pull requests

4 participants