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 hardfault when attaching callback to CAN2 when CAN1 is not defined #63

Merged
merged 1 commit into from
Sep 10, 2013
Merged

Fix hardfault when attaching callback to CAN2 when CAN1 is not defined #63

merged 1 commit into from
Sep 10, 2013

Conversation

omdathetkan
Copy link
Contributor

Fault is triggered by trying to read LPC_CAN1->IER when the peripheral is powered off. Fixed by checking the power control register before checking the IER register.

Fault is triggered by trying to read LPC_CAN1->IER when the peripheral is powered off. Fixed by checking the power control register before checking the IER register.
bogdanm added a commit that referenced this pull request Sep 10, 2013
Fix hardfault when attaching callback to CAN2 when CAN1 is not defined
@bogdanm bogdanm merged commit 171dda7 into ARMmbed:master Sep 10, 2013
bridadan pushed a commit that referenced this pull request Jun 21, 2016
Allow the output binary of make.py to be named from the command line
artokin pushed a commit to artokin/mbed-os that referenced this pull request 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 pull request 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
artokin pushed a commit to artokin/mbed-os that referenced this pull request Nov 16, 2017
…from 854505d..09056ed

09056ed Merge pull request ARMmbed#63 from ARMmbed/apache
56472ac Change license to apache
9f70a64 Correct some types
b851db9 ONME-3201: Fix compilation warning of unsigned-signed comparison.

git-subtree-dir: features/FEATURE_COMMON_PAL/nanostack-libservice
git-subtree-split: 09056ed2eed0ec39a2dd235f29868e9983d4a5c1
geky pushed 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 pushed a commit to linlingao/mbed-os that referenced this pull request Jul 12, 2019
Fix files to allow for building with IAR IDE (and export)
pan- added a commit to pan-/mbed that referenced this pull request May 29, 2020
Emphasize that no connections are involved in this example.
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