diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2017-09-19 13:15:55 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2017-09-19 13:15:55 +0000 |
commit | b9a8304c863e09340649999a21900fb8f8973dc8 (patch) | |
tree | e63b1cc1db5d90760a0f7006b6e82148f56e4468 /demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c | |
parent | f1cfee405840f51feef73a7f74f1c2609e3a319e (diff) | |
download | ChibiOS-b9a8304c863e09340649999a21900fb8f8973dc8.tar.gz ChibiOS-b9a8304c863e09340649999a21900fb8f8973dc8.tar.bz2 ChibiOS-b9a8304c863e09340649999a21900fb8f8973dc8.zip |
Added secure/non-secure configuration capability in SAMA PAL driver
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10647 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c')
-rwxr-xr-x | demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c index 75977385c..bfca0f50f 100755 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/main.c @@ -54,7 +54,7 @@ int main(void) { /* Redirecting UART0 RX on PB26 and UART0 TX on PB 27. */
palSetGroupMode(PIOB, PAL_PORT_BIT(26) | PAL_PORT_BIT(27), 0U,
- PAL_SAMA_FUNC_PERIPH_C);
+ PAL_SAMA_FUNC_PERIPH_C | PAL_MODE_SECURE);
/*
* Creates the blinker thread.
*/
|