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

Improvements and stuff #33

Merged
merged 5 commits into from
Dec 11, 2015
Merged

Improvements and stuff #33

merged 5 commits into from
Dec 11, 2015

Conversation

c1728p9
Copy link
Contributor

@c1728p9 c1728p9 commented Dec 11, 2015

-Add additional checking on USB configuration
-Add utility functions to round and disable interrupts
-Update yaml files in preperation for pgen
-Disable all interrupts when flashing rather than just usb interrupts

Add the two functions cortex_int_get_and_disable and
cortex_int_restore.  This allows interrupts to be disabled globally.
Remove ENABLE_USB_IRQ and DISABLE_USB_IRQ from flash_hal_svc.c and
instead disable interrupts globally.  Also remove the macros to disable
the USB interrupt from IO_Config.h since this macro is no longer used.
Add the macros ROUND_UP and ROUND_DOWN to make rounding easier.
Update yaml files for progen by explicitly adding include directories
along with removing an empty uvision specific yaml file.
If any endpoint is set to 0 and has a size greater than zero then
it will override the stack size of endpoint 0.  This patch prevents
that from occurring by giving an error if that happens.
@c1728p9
Copy link
Contributor Author

c1728p9 commented Dec 11, 2015

test this please

@0xc0170
Copy link
Contributor

0xc0170 commented Dec 11, 2015

+1 for updating yaml files, working now with v0.8 ?

@sg-
Copy link
Contributor

sg- commented Dec 11, 2015

for the yaml updates - include was derived from - source. Are we depreciating that feature or is this for clearness?

@sg-
Copy link
Contributor

sg- commented Dec 11, 2015

Looks good. Next thing we need to do is align on coding style. I'll suggest we stick to https://developer.mbed.org/teams/SDK-Development/wiki/mbed-sdk-coding-style

sg- added a commit that referenced this pull request Dec 11, 2015
@sg- sg- merged commit c15d109 into ARMmbed:master Dec 11, 2015
@c1728p9 c1728p9 deleted the cleanup_and_fixes branch January 22, 2016 00:39
BlackstoneEngineering pushed a commit to BlackstoneEngineering/DAPLink that referenced this pull request Dec 13, 2016
Correct form field validation
wjzhang pushed a commit to wjzhang/DAPLink that referenced this pull request Mar 11, 2019
 Add back fixing for no nReset connected problem.
gerargz added a commit to microbit-foundation/DAPLink that referenced this pull request Jan 6, 2021
mbrossard pushed a commit to mbrossard/DAPLink that referenced this pull request Aug 5, 2021
c1728p9 pushed a commit to c1728p9/DAPLink that referenced this pull request Aug 14, 2021
mathias-arm pushed a commit to mathias-arm/DAPLink that referenced this pull request Aug 20, 2021
gaborcsapo pushed a commit to gaborcsapo/DAPLink that referenced this pull request Jun 29, 2022
gaborcsapo pushed a commit to gaborcsapo/DAPLink that referenced this pull request Jun 29, 2022
gaborcsapo pushed a commit to gaborcsapo/DAPLink that referenced this pull request Jun 29, 2022
gaborcsapo pushed a commit to gaborcsapo/DAPLink that referenced this pull request Jun 29, 2022
gaborcsapo pushed a commit to gaborcsapo/DAPLink that referenced this pull request Jun 29, 2022
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.

3 participants