The present invention provides a compound of formula I or a pharmaceutically acceptable salt thereof, wherein R1, X1, X2, R2, R3, R4, R5, n, and m are described herein. It is as follows. The present invention provides compounds that are useful as inhibitors of VPS34, and therefore the compounds of the present invention can be used to treat VPS34-mediated inflammatory diseases, cardiovascular diseases, proliferative diseases (such as tumor and / or cancer cell growth). ) Is useful for treatment. In another aspect of the invention, pharmaceutical compositions are provided, such compositions comprising any of the compounds described herein, optionally with a pharmaceutically acceptable carrier, adjuvant, or vehicle. Including.本発明は、式Iの化合物または医薬的に許容可能なその塩を提供し、ここで、R1、X1、X2、R2、R3、R4、R5、n、及びmは、明細書で説明されるとおりである。本発明は、VPS34の阻害剤として有用な化合物を提供し、したがって、本発明の化合物は、VPS34が媒介する炎症性疾患、循環器系疾患、増殖性疾患(腫瘍及び/または癌細胞の成長など)の治療に有用である。本発明の別の態様においては、医薬組成物が提供され、こうした組成物は、本明細書で説明される化合物のいずれかを含み、医薬的に許容可能な担体、アジュバント、または媒体を任意選択で含む。