Skip to content

Commit

Permalink
[LTD mergeup] Merge pull request zephyrproject-rtos#9 from mbolivar/l…
Browse files Browse the repository at this point in the history
…td-17.06

Upstream merge 21 June 2017
  • Loading branch information
rsalveti authored Jun 29, 2017
2 parents c38c4c8 + c2a529b commit 79f53d0
Show file tree
Hide file tree
Showing 694 changed files with 6,422 additions and 5,383 deletions.
7 changes: 5 additions & 2 deletions .shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@ build:
echo "Building a Pull Request";
echo "- Building Documentation";
echo "Commit range:" ${COMMIT_RANGE}
sudo pip install sphinx==1.5.5
make htmldocs > doc.log 2>&1;
./scripts/filter-known-issues.py --config-dir .known-issues/doc/ doc.log > doc.warnings;
python2 ./scripts/filter-known-issues.py --config-dir .known-issues/doc/ doc.log > doc.warnings;
if [ "$?" != 0 ]; then
echo " ==> Error running filter script"
exit 1
fi;
if [ -s doc.warnings ]; then
echo " => New documentation warnings/errors";
fi;
Expand Down
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,17 @@ endif

dts: include/generated/generated_dts_board.h

define filechk_.config-sanitycheck
(cat .config; \
grep -e '^CONFIG' include/generated/generated_dts_board.conf | cat; \
)
endef

.config-sanitycheck: include/generated/generated_dts_board.conf FORCE
$(call filechk,.config-sanitycheck)

config-sanitycheck: .config-sanitycheck

# The actual objects are generated when descending,
# make sure no implicit rule kicks in
$(sort $(zephyr-deps)): $(zephyr-dirs) zephyr-app-dir ;
Expand Down Expand Up @@ -1124,6 +1135,7 @@ CLEAN_DIRS += $(MODVERDIR)

CLEAN_FILES += include/generated/generated_dts_board.conf \
include/generated/generated_dts_board.h \
.config-sanitycheck \
.old_version .tmp_System.map .tmp_version \
.tmp_* System.map *.lnk *.map *.elf *.lst \
*.bin *.hex *.stat *.strip staticIdt.o linker.cmd \
Expand Down
3 changes: 3 additions & 0 deletions Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ outputexports: initconfig
dts: initconfig
$(Q)$(call zephyrmake,$(O),$@)

config-sanitycheck: dts
$(Q)$(call zephyrmake,$(O),$@)

menuconfig: initconfig
$(Q)$(call zephyrmake,$(O),$@)

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/atomic.S
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

/* exports */

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <misc/util.h>
#include <toolchain.h>
#include <cache.h>
#include <linker-defs.h>
#include <linker/linker-defs.h>
#include <arch/arc/v2/aux_regs.h>
#include <nano_internal.h>
#include <misc/__assert.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/cpu_idle.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <kernel_structs.h>
#include <offsets_short.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>

GTEXT(k_cpu_idle)
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <inttypes.h>

#include <kernel.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/fault_s.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#include <swap_macros.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/irq_manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <arch/cpu.h>
#include <misc/__assert.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <sw_isr_table.h>
#include <irq.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/isr_wrapper.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include <offsets_short.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <sw_isr_table.h>
#include <kernel_structs.h>
#include <arch/cpu.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/prep_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <zephyr/types.h>
#include <toolchain.h>
#include <linker-defs.h>
#include <linker/linker-defs.h>
#include <arch/arc/v2/aux_regs.h>
#include <kernel_structs.h>
#include <nano_internal.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/reset.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

// #include <board.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>

GDATA(_interrupt_stack)
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/sys_fatal_error_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <kernel.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <kernel_structs.h>
#include <misc/printk.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/thread_entry_wrapper.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

GTEXT(_thread_entry_wrapper)
GTEXT(_thread_entry)
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/include/kernel_arch_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern "C" {
#endif

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#include <vector_table.h>
#include <kernel_arch_thread.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/include/vector_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extern "C" {

#include <board.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

GTEXT(__start)
GTEXT(_VectorTable)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <misc/printk.h>
#include <misc/reboot.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

extern void _SysNmiOnReset(void);
#if !defined(CONFIG_RUNTIME_NMI)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/nmi_on_reset.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

_ASM_FILE_PROLOGUE

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/prep_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <kernel.h>
#include <zephyr/types.h>
#include <toolchain.h>
#include <linker-defs.h>
#include <linker/linker-defs.h>
#include <nano_internal.h>
#include <arch/arm/cortex_m/cmsis.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/reset.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <board.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#include <offsets_short.h>
#include "vector_table.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/vector_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <board.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <drivers/system_timer.h>
#include "vector_table.h"

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/vector_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extern "C" {

#include <board.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <misc/util.h>

GTEXT(__start)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cpu_idle.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <offsets_short.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#ifdef CONFIG_TICKLESS_IDLE
#include <kernel_structs.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/fatal.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <inttypes.h>

#include <kernel.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

#include <kernel.h>
#include <kernel_structs.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/fault_s.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>

_ASM_FILE_PROLOGUE
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/irq_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <arch/arm/cortex_m/cmsis.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/irq_manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <arch/arm/cortex_m/cmsis.h>
#include <misc/__assert.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <sw_isr_table.h>
#include <irq.h>
#include <kernel_structs.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/isr_wrapper.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <offsets_short.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <sw_isr_table.h>
#include <kernel_structs.h>
#include <arch/cpu.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/sys_fatal_error_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <kernel.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <kernel_structs.h>
#include <misc/printk.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/thread_abort.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <kernel.h>
#include <kernel_structs.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <ksched.h>
#include <wait_q.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/include/kernel_arch_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern "C" {
#endif

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#include <kernel_arch_thread.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/soc/atmel_sam/same70/soc_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/
static int atmel_same70_config(struct device *dev)
{
#ifdef SOC_ATMEL_SAME70_DISABLE_ERASE_PIN
#ifdef CONFIG_SOC_ATMEL_SAME70_DISABLE_ERASE_PIN
/* Disable ERASE function on PB12 pin, this is controlled by Bus Matrix */
MATRIX->CCFG_SYSIO |= CCFG_SYSIO_SYSIO12;
#endif
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/soc/nxp_kinetis/k6x/nxp_mpu_regions.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ static struct nxp_mpu_region mpu_regions[] = {
MPU_REGION_ENTRY("DEBUGGER_0",
0,
0xFFFFFFFF,
0),
REGION_DEBUG_ATTR),
/* Region 1 */
MPU_REGION_ENTRY("FLASH_0",
CONFIG_FLASH_BASE_ADDRESS,
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/soc/nxp_kinetis/k6x/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <init.h>
#include <soc.h>
#include <uart.h>
#include <sections.h>
#include <linker/sections.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#include <arch/cpu.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/soc/nxp_kinetis/k6x/wdog.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <soc.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

_ASM_FILE_PROLOGUE

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/soc/nxp_kinetis/kl2x/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <device.h>
#include <init.h>
#include <soc.h>
#include <sections.h>
#include <linker/sections.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#include <arch/cpu.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/soc/nxp_kinetis/kwx/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <init.h>
#include <soc.h>
#include <uart.h>
#include <sections.h>
#include <linker/sections.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#include <arch/cpu.h>
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/soc/ti_lm3s6965/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ extern "C" {
/* uart configuration settings */
#if defined(CONFIG_UART_STELLARIS)

#define UART_IRQ_FLAGS 0

#define UART_STELLARIS_CLK_FREQ SYSCLK_DEFAULT_IOSC_HZ

#endif /* CONFIG_UART_STELLARIS */
Expand Down
17 changes: 17 additions & 0 deletions arch/arm/soc/ti_simplelink/cc2650/Kconfig.defconfig.series
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-License-Identifier: Apache-2.0
#
# Kconfig.defconfig.series - TI SimpleLink CC2650
#

if SOC_SERIES_CC2650

config SOC_SERIES
default cc2650

config SYS_CLOCK_HW_CYCLES_PER_SEC
default 48000000

config NUM_IRQS
default 34

endif # SOC_SERIES_CC2650
Loading

0 comments on commit 79f53d0

Please sign in to comment.