Skip to content

Commit

Permalink
#45 Began work on maven for new organisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert authored and More-Wrong committed Jul 29, 2023
1 parent a7d5f5f commit 176774f
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
17 changes: 17 additions & 0 deletions receivers/native/arm/implementations/no-os-stm32/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.zcode</groupId>
<artifactId>zcode-receivers-implementations</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>no-os-stm32</artifactId>
<packaging>nar</packaging>
<name>STM32 devices running baremetal</name>

<modules>
<module>no-os-stm32</module>
</modules>
</project>
17 changes: 17 additions & 0 deletions receivers/native/arm/implementations/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.zcode</groupId>
<artifactId>zcode-receivers-arm</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>zcode-receivers-implementations</artifactId>
<packaging>pom</packaging>
<name>Zcode device specific code</name>

<modules>
<module>no-os-stm32</module>
</modules>
</project>
35 changes: 35 additions & 0 deletions receivers/native/arm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,40 @@
<modules>
<!-- <module>mbed</module> -->
<module>no-os</module>
<module>zcode-receivers-implementations</module>
<module>zcode-receivers-peripherals</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<cpp>
<name>gcc</name>
<exceptions>false</exceptions>
<debug>true</debug>
<includePaths>
<includePath>
<path>${project.basedir}/src/main/c++</path>
<includes>**/*.h*</includes>
</includePath>
</includePaths>
<options>
<option>-flto</option>
<option>-g</option>
<option>-Wall</option>
<option>-Wextra</option>
</options>
</cpp>
<libraries>
<library>
<type>static</type>
</library>
</libraries>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 176774f

Please sign in to comment.