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

Fix MASKED_ACCESS bug in gpio_init #60

Merged
merged 1 commit into from
Sep 9, 2013
Merged

Fix MASKED_ACCESS bug in gpio_init #60

merged 1 commit into from
Sep 9, 2013

Conversation

omdathetkan
Copy link
Contributor

Now same as LPC11xx (Also use PIN_SHIFT instead of magic number 8 in gpio_set)

…_SHIFT instead of magic number 8 in gpio_set)
bogdanm added a commit that referenced this pull request Sep 9, 2013
Fix MASKED_ACCESS bug in gpio_init
@bogdanm bogdanm merged commit 946cf74 into ARMmbed:master Sep 9, 2013
geky added a commit to geky/mbed that referenced this pull request Aug 25, 2018
Fix .travis.yml requirements install
yossi2le pushed a commit to yossi2le/mbed-os that referenced this pull request 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 pull request Jul 12, 2019
Remove EMAC and use TI network stack directly
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.

2 participants