Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Commits
0b136517
Commit
0b136517
authored
4 years ago
by
schneider
Browse files
Options
Downloads
Plain Diff
Merge branch 'schneider/rng-btle' into 'master'
Use CSPRNG for BTLE See merge request
!400
parents
73fbb3eb
4306136c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!400
Use CSPRNG for BTLE
Pipeline
#4718
passed with warnings
4 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
card10-cross.ini
+1
-1
1 addition, 1 deletion
card10-cross.ini
epicardium/ble/ble.c
+6
-0
6 additions, 0 deletions
epicardium/ble/ble.c
with
7 additions
and
1 deletion
card10-cross.ini
+
1
−
1
View file @
0b136517
...
...
@@ -6,7 +6,7 @@ strip = 'arm-none-eabi-strip'
[properties]
c_args
=
['-mthumb', '-mcpu=cortex-m4', '-mfloat-abi=softfp', '-mfpu=fpv4-sp-d16', '-Wa,-mimplicit-it=thumb', '-ffunction-sections', '-fdata-sections', '-fsingle-precision-constant', '-fno-isolate-erroneous-paths-dereference']
c_link_args
=
['-mthumb', '-mcpu=cortex-m4', '-mfloat-abi=softfp', '-mfpu=fpv4-sp-d16', '-Wl,--start-group', '-lc', '-lnosys', '-Wl,--end-group', '--specs=nano.specs']
c_link_args
=
['-mthumb', '-mcpu=cortex-m4', '-mfloat-abi=softfp', '-mfpu=fpv4-sp-d16', '-Wl,--start-group', '-lc', '-lnosys', '-Wl,--end-group', '--specs=nano.specs'
, '-Wl,-wrap,BbBleDrvRand'
]
target_defs
=
['-DTARGET=32665', '-DTARGET_REV=0x4131', '-DBOARD_CARD10=1']
...
...
This diff is collapsed.
Click to expand it.
epicardium/ble/ble.c
+
6
−
0
View file @
0b136517
...
...
@@ -151,6 +151,12 @@ out_err:
log_enabled
=
false
;
}
/*************************************************************************************************/
void
__wrap_BbBleDrvRand
(
uint8_t
*
pBuf
,
uint8_t
len
)
{
epic_csprng_read
(
pBuf
,
len
);
//printf("BbBleDrvRand(%d) = %02x %02x ...\n", len, pBuf[0], pBuf[1]);
}
/*************************************************************************************************/
static
void
WsfInit
(
void
)
{
uint32_t
bytesUsed
__attribute__
((
unused
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment