zephyr/boards
Andy Ross 0fd9afd974 esp32: Fix board cycle frequency
The ESP-WROOM-32 board exits the bootloader at 40 MHz, not 160 MHz as
suggested by documentation.  The CCOUNT special register works as
advertised, but not at the expected rate.  This was verified by
timestamping (at the host) the output of a dependency-free loop that
looks like:

	int key = irq_lock();
	while(1) {
		u32_t i, count;
		volatile int dummy;

		for(i = 0; i < 5000000; i++) {
			dummy++;
		}

		__asm__ volatile ("rsr.ccount %0" : "=a"(count));
		printk("%d\n", count);
	}

The SoC has a fairly robust set of possible CPU clocking modes, but we
don't have a driver for that yet.  Until we do, set the single
configured CPU frequency to the one we get at runtime.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2017-08-09 19:57:40 -04:00
..
arc doc: fix sidebar nav issues with board docs 2017-06-27 19:21:29 -04:00
arm pwm: Remove k64-specific driver and k20_sim.h 2017-08-09 18:13:29 -04:00
nios2 boards: mark qemu targets with a unified Kconfig 2017-07-26 07:40:45 -05:00
riscv32 boards: zedboard_pulpino: disable networking and bluetooth tests 2017-07-26 18:17:01 -04:00
x86 Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
xtensa esp32: Fix board cycle frequency 2017-08-09 19:57:40 -04:00
Kconfig boards: Fix QEMU_TARGET config prompt and default 2017-07-31 19:39:54 -04:00
Makefile
boards.rst doc: fix sidebar nav issues with board docs 2017-06-27 19:21:29 -04:00