Changeset 03fecae in rtems
- Timestamp:
- 01/11/18 07:54:27 (6 years ago)
- Branches:
- 5, master
- Children:
- 538a0a8
- Parents:
- a3eec5c
- git-author:
- Christian Mauderer <Christian.Mauderer@…> (01/11/18 07:54:27)
- git-committer:
- Christian Mauderer <christian.mauderer@…> (02/12/18 13:25:02)
- Location:
- c/src/lib/libbsp/arm/atsam
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/arm/atsam/README
ra3eec5c r03fecae 44 44 -------- 45 45 46 Use ATSAM_SLOWCLOCK_USE_XTAL=0 to disable the usage of the external 32kHz 47 oscillator for the slow clock. This is useful for example for the SAM E70 48 Xplained kit. 49 46 50 Use ATSAM_CONSOLE_BAUD=XYZ to set the initial baud for console devices (default 47 51 115200). -
c/src/lib/libbsp/arm/atsam/configure.ac
ra3eec5c r03fecae 73 73 See startup/pmc-config.c for available clock configurations.]) 74 74 75 RTEMS_BSPOPTS_SET([ATSAM_SLOWCLOCK_USE_XTAL],[*],[1]) 76 RTEMS_BSPOPTS_HELP([ATSAM_SLOWCLOCK_USE_XTAL], 77 [Use the external crystal as source for the slow clock instead of the internal 78 RC oscillator. Note that on the ATSAM the NRST pin seems to depend on the slow 79 clock as well as all watchdogs. If ATSAM_SLOWCLOCK_USE_XTAL is set to 1 without 80 a external crystal connected, the controller might hang in the switching process 81 without a working NRST pin. ]) 82 75 83 RTEMS_BSPOPTS_SET([ATSAM_CHANGE_CLOCK_FROM_SRAM],[*],[0]) 76 84 RTEMS_BSPOPTS_HELP([ATSAM_CHANGE_CLOCK_FROM_SRAM], -
c/src/lib/libbsp/arm/atsam/libraries/libboard/resources_v71/system_samv71.c
ra3eec5c r03fecae 94 94 */ 95 95 96 #if ATSAM_SLOWCLOCK_USE_XTAL == 1 96 97 read_MOR = PMC->CKGR_MOR; 97 98 /* enable external crystal - enable RC OSC */ … … 105 106 while (!(SUPC->SUPC_SR & SUPC_SR_OSCSEL)); 106 107 } 108 #endif 107 109 108 110 /* Initialize main oscillator */
Note: See TracChangeset
for help on using the changeset viewer.