[GitHub] [mynewt-nimble] sjanc merged pull request #976: transport/nrf5340: Add support for host to controller flow control

2021-04-27 Thread GitBox


sjanc merged pull request #976:
URL: https://github.com/apache/mynewt-nimble/pull/976


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[mynewt-nimble] branch master updated: transport/nrf5340: Add support for host to controller flow control

2021-04-27 Thread janc
This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
 new 015bac7  transport/nrf5340: Add support for host to controller flow 
control
015bac7 is described below

commit 015bac780d662c4745f1b2961171715c6d06dc40
Author: Szymon Janc 
AuthorDate: Mon Apr 26 18:14:55 2021 +0200

transport/nrf5340: Add support for host to controller flow control
---
 nimble/transport/nrf5340/src/nrf5340_ble_hci.c | 54 +++---
 1 file changed, 40 insertions(+), 14 deletions(-)

diff --git a/nimble/transport/nrf5340/src/nrf5340_ble_hci.c 
b/nimble/transport/nrf5340/src/nrf5340_ble_hci.c
index 8f91983..c0276c3 100644
--- a/nimble/transport/nrf5340/src/nrf5340_ble_hci.c
+++ b/nimble/transport/nrf5340/src/nrf5340_ble_hci.c
@@ -73,8 +73,20 @@ struct nrf5340_ble_hci_pool_cmd {
 bool allocated;
 };
 
-/* (Pseudo)pool for HCI commands */
-static struct nrf5340_ble_hci_pool_cmd nrf5340_ble_hci_pool_cmd;
+/*
+ * If controller-to-host flow control is enabled we need to hold an extra 
command
+ * buffer for HCI_Host_Number_Of_Completed_Packets which can be sent at any 
time.
+ */
+#if MYNEWT_VAL(BLE_HS_FLOW_CTRL) || 
MYNEWT_VAL(BLE_LL_CFG_FEAT_CTRL_TO_HOST_FLOW_CONTROL)
+#define HCI_CMD_COUNT   2
+#else
+#define HCI_CMD_COUNT   1
+#endif
+
+static uint8_t nrf5340_ble_hci_pool_cmd_mempool_buf[OS_MEMPOOL_BYTES(
+HCI_CMD_COUNT,
+BLE_HCI_TRANS_CMD_SZ)];
+static struct os_mempool nrf5340_ble_hci_pool_cmd_mempool;
 
 /* Pools for HCI events (high and low priority) */
 static uint8_t nrf5340_ble_hci_pool_evt_hi_buf[OS_MEMPOOL_BYTES(
@@ -90,7 +102,7 @@ static struct os_mempool nrf5340_ble_hci_pool_evt_lo;
 static uint8_t nrf5340_ble_hci_pool_acl_buf[OS_MEMPOOL_BYTES(
 MYNEWT_VAL(BLE_ACL_BUF_COUNT),
 POOL_ACL_BLOCK_SIZE)];
-static struct os_mempool nrf5340_ble_hci_pool_acl;
+static struct os_mempool_ext nrf5340_ble_hci_pool_acl;
 static struct os_mbuf_pool nrf5340_ble_hci_pool_acl_mbuf;
 
 /* Interface to host/ll */
@@ -207,9 +219,7 @@ ble_hci_trans_buf_alloc(int type)
 
 switch (type) {
 case BLE_HCI_TRANS_BUF_CMD:
-assert(!nrf5340_ble_hci_pool_cmd.allocated);
-nrf5340_ble_hci_pool_cmd.allocated = 1;
-buf = nrf5340_ble_hci_pool_cmd.cmd;
+buf = os_memblock_get(_ble_hci_pool_cmd_mempool);
 break;
 case BLE_HCI_TRANS_BUF_EVT_HI:
 buf = os_memblock_get(_ble_hci_pool_evt_hi);
@@ -233,9 +243,9 @@ ble_hci_trans_buf_free(uint8_t *buf)
 {
 int rc;
 
-if (buf == nrf5340_ble_hci_pool_cmd.cmd) {
-assert(nrf5340_ble_hci_pool_cmd.allocated);
-nrf5340_ble_hci_pool_cmd.allocated = 0;
+if (os_memblock_from(_ble_hci_pool_cmd_mempool, buf)) {
+rc = os_memblock_put(_ble_hci_pool_cmd_mempool, buf);
+assert(rc == 0);
 } else if (os_memblock_from(_ble_hci_pool_evt_hi, buf)) {
 rc = os_memblock_put(_ble_hci_pool_evt_hi, buf);
 assert(rc == 0);
@@ -387,7 +397,7 @@ nrf5340_ble_hci_trans_rx_process(int channel)
 rxd->om = os_mbuf_get_pkthdr(_ble_hci_pool_acl_mbuf,
  sizeof(struct ble_mbuf_hdr));
 if (!rxd->om) {
-/* not much we can do here... */
+/* TODO not much we can do here... */
 assert(0);
 }
 
@@ -423,6 +433,15 @@ nrf5340_ble_hci_trans_rx(int channel, void *user_data)
 }
 }
 
+int
+ble_hci_trans_set_acl_free_cb(os_mempool_put_fn *cb, void *arg)
+{
+nrf5340_ble_hci_pool_acl.mpe_put_cb = cb;
+nrf5340_ble_hci_pool_acl.mpe_put_arg = arg;
+
+return 0;
+}
+
 void
 nrf5340_ble_hci_init(void)
 {
@@ -430,13 +449,14 @@ nrf5340_ble_hci_init(void)
 
 SYSINIT_ASSERT_ACTIVE();
 
-rc = os_mempool_init(_ble_hci_pool_acl, 
MYNEWT_VAL(BLE_ACL_BUF_COUNT),
- POOL_ACL_BLOCK_SIZE, nrf5340_ble_hci_pool_acl_buf,
- "nrf5340_ble_hci_pool_acl");
+rc = os_mempool_ext_init(_ble_hci_pool_acl,
+ MYNEWT_VAL(BLE_ACL_BUF_COUNT), 
POOL_ACL_BLOCK_SIZE,
+ nrf5340_ble_hci_pool_acl_buf,
+ "nrf5340_ble_hci_pool_acl");
 SYSINIT_PANIC_ASSERT(rc == 0);
 
 rc = os_mbuf_pool_init(_ble_hci_pool_acl_mbuf,
-   _ble_hci_pool_acl, POOL_ACL_BLOCK_SIZE,
+   _ble_hci_pool_acl.mpe_mp, 
POOL_ACL_BLOCK_SIZE,
MYNEWT_VAL(BLE_ACL_BUF_COUNT));
 SYSINIT_PANIC_ASSERT(rc == 0);
 
@@ -454,5 +474,11 @@ nrf5340_ble_hci_init(void)
  "nrf5340_ble_hci_pool_evt_lo");
 SYSINIT_PANIC_ASSERT(rc == 0);
 
+

[GitHub] [mynewt-nimble] sjanc commented on issue #964: Build for NRF5340 host fails when BLE_HS_FLOW_CTRL is set

2021-04-27 Thread GitBox


sjanc commented on issue #964:
URL: https://github.com/apache/mynewt-nimble/issues/964#issuecomment-827586792


   https://github.com/apache/mynewt-nimble/pull/976


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-nimble] kasjer merged pull request #963: targets: Add sample target for controller on NRF5340 bsp

2021-04-27 Thread GitBox


kasjer merged pull request #963:
URL: https://github.com/apache/mynewt-nimble/pull/963


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[mynewt-nimble] branch master updated: targets: Add sample target for controller on NRF5340 bsp

2021-04-27 Thread jerzy
This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
 new 7823a64  targets: Add sample target for controller on NRF5340 bsp
7823a64 is described below

commit 7823a64caf2bcf4c291c5c8b5ed698ada6e1b51b
Author: Jerzy Kasenberg 
AuthorDate: Fri Apr 9 09:52:49 2021 +0200

targets: Add sample target for controller on NRF5340 bsp

This adds sample target for building NimBLE controller (blehci app)
for Nordic NRF5340. It is used by default when combine image build
is used for nordic_pca10095 bsp.

Sample target should be used as a base for creating customized targets.
This targets nordic_pca10095_net bsp, custom targets should point to
appropriate BSP.
---
 targets/nordic_pca10095-blehci/pkg.yml| 24 ++
 targets/nordic_pca10095-blehci/syscfg.yml | 42 +++
 targets/nordic_pca10095-blehci/target.yml | 22 
 3 files changed, 88 insertions(+)

diff --git a/targets/nordic_pca10095-blehci/pkg.yml 
b/targets/nordic_pca10095-blehci/pkg.yml
new file mode 100644
index 000..3b72abe
--- /dev/null
+++ b/targets/nordic_pca10095-blehci/pkg.yml
@@ -0,0 +1,24 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+pkg.name: targets/nordic_pca10095-blehci
+pkg.type: target
+pkg.description: Sample target for BLE controller on NRF5340
+pkg.author: "Apache Mynewt "
+pkg.homepage: "http://mynewt.apache.org/;
diff --git a/targets/nordic_pca10095-blehci/syscfg.yml 
b/targets/nordic_pca10095-blehci/syscfg.yml
new file mode 100644
index 000..4a4a1ba
--- /dev/null
+++ b/targets/nordic_pca10095-blehci/syscfg.yml
@@ -0,0 +1,42 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+syscfg.vals:
+BLE_HCI_TRANSPORT: nrf5340
+
+MSYS_1_BLOCK_COUNT: 12
+MSYS_1_BLOCK_SIZE: 292
+BLE_LL_CFG_FEAT_DATA_LEN_EXT: 1
+BLE_LL_CFG_FEAT_LE_2M_PHY: 1
+BLE_LL_CFG_FEAT_LE_CODED_PHY: 1
+BLE_LL_CFG_FEAT_LL_PRIVACY: 1
+BLE_LL_CFG_FEAT_CTRL_TO_HOST_FLOW_CONTROL: 1
+BLE_LL_CONN_INIT_MAX_TX_BYTES: 251
+BLE_LL_CONN_INIT_SLOTS: 4
+BLE_LL_DTM: 1
+BLE_LL_DTM_EXTENSIONS: 1
+BLE_LL_VND_EVENT_ON_ASSERT: 1
+BLE_MAX_CONNECTIONS: 5
+BLE_EXT_ADV: 1
+BLE_EXT_ADV_MAX_SIZE: 1650
+BLE_MAX_PERIODIC_SYNCS: 5
+BLE_MULTI_ADV_INSTANCES: 5
+BLE_PERIODIC_ADV: 1
+BLE_PERIODIC_ADV_SYNC_TRANSFER: 1
+BLE_VERSION: 51
diff --git a/targets/nordic_pca10095-blehci/target.yml 
b/targets/nordic_pca10095-blehci/target.yml
new file mode 100644
index 000..4d2641b
--- /dev/null
+++ b/targets/nordic_pca10095-blehci/target.yml
@@ -0,0 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the 

[GitHub] [mynewt-nimble] apache-mynewt-bot removed a comment on pull request #963: targets: Add sample target for controller on NRF5340 bsp

2021-04-27 Thread GitBox


apache-mynewt-bot removed a comment on pull request #963:
URL: https://github.com/apache/mynewt-nimble/pull/963#issuecomment-820444879


   
   
   
   ## Style check summary
   
    No suggestions at this time!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-nimble] apache-mynewt-bot commented on pull request #963: targets: Add sample target for controller on NRF5340 bsp

2021-04-27 Thread GitBox


apache-mynewt-bot commented on pull request #963:
URL: https://github.com/apache/mynewt-nimble/pull/963#issuecomment-827563876


   
   
   
   ## Style check summary
   
    No suggestions at this time!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] sjanc commented on issue #2583: Error compiling 1.9.0

2021-04-27 Thread GitBox


sjanc commented on issue #2583:
URL: https://github.com/apache/mynewt-core/issues/2583#issuecomment-827543327


   that won't work, you mix newlib headers and baselibc
   
   if you want to use newlib you'd have to hack a bit, eg bsp are pulling 
baselibc package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] danielkucera commented on issue #2583: Error compiling 1.9.0

2021-04-27 Thread GitBox


danielkucera commented on issue #2583:
URL: https://github.com/apache/mynewt-core/issues/2583#issuecomment-827473071


   Okay, now I'm starting to understand. This has worked for me as a workaround:
   ```
   sudo apt install libnewlib-nano-arm-none-eabi
   newt target amend nrf52_blinky 
cflags="-I/usr/lib/newlib-nano/arm-none-eabi/include"
   ```
   
   Now I'm hitting another error:
   ```
   Compiling repos/apache-mynewt-core/libc/baselibc/src/memccpy.c
   Error: repos/apache-mynewt-core/libc/baselibc/src/malloc.c:30:8: error: 
unknown type name 'malloc_lock_t'
  30 | static malloc_lock_t malloc_lock = _lock_nop;
 |^
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:30:36: error: 
initialization of 'int' from '_Bool (*)()' makes integer from pointer without a 
cast [-Werror=int-conversion]
  30 | static malloc_lock_t malloc_lock = _lock_nop;
 |^
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:31:8: error: unknown 
type name 'malloc_unlock_t'
  31 | static malloc_unlock_t malloc_unlock = _unlock_nop;
 |^~~
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:31:40: error: 
initialization of 'int' from 'void (*)()' makes integer from pointer without a 
cast [-Werror=int-conversion]
  31 | static malloc_unlock_t malloc_unlock = _unlock_nop;
 |^
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c: In function 'malloc':
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:159:10: error: called 
object 'malloc_lock' is not a function or function pointer
 159 | if (!malloc_lock())
 |  ^~~
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:30:22: note: declared 
here
  30 | static malloc_lock_t malloc_lock = _lock_nop;
 |  ^~~
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:175:13: error: implicit 
declaration of function 'add_malloc_block' 
[-Werror=implicit-function-declaration]
 175 | add_malloc_block(more_mem, size);
 | ^~~~
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:179:5: error: called 
object 'malloc_unlock' is not a function or function pointer
 179 | malloc_unlock();
 | ^
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:31:24: note: declared 
here
  31 | static malloc_unlock_t malloc_unlock = _unlock_nop;
 |^
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c: At top level:
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:184:6: error: 
conflicting types for 'add_malloc_block' [-Werror]
 184 | void add_malloc_block(void *buf, size_t size)
 |  ^~~~
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:175:13: note: previous 
implicit declaration of 'add_malloc_block' was here
 175 | add_malloc_block(more_mem, size);
 | ^~~~
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c: In function 
'add_malloc_block':
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:198:10: error: called 
object 'malloc_lock' is not a function or function pointer
 198 | if (!malloc_lock())
 |  ^~~
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:30:22: note: declared 
here
  30 | static malloc_lock_t malloc_lock = _lock_nop;
 |  ^~~
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:221:5: error: called 
object 'malloc_unlock' is not a function or function pointer
 221 | malloc_unlock();
 | ^
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:31:24: note: declared 
here
  31 | static malloc_unlock_t malloc_unlock = _unlock_nop;
 |^
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c: In function 'free':
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:238:10: error: called 
object 'malloc_lock' is not a function or function pointer
 238 | if (!malloc_lock())
 |  ^~~
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:30:22: note: declared 
here
  30 | static malloc_lock_t malloc_lock = _lock_nop;
 |  ^~~
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:243:5: error: called 
object 'malloc_unlock' is not a function or function pointer
 243 | malloc_unlock();
 | ^
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:31:24: note: declared 
here
  31 | static malloc_unlock_t malloc_unlock = _unlock_nop;
 |^
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c: In function 
'get_malloc_memory_status':
   repos/apache-mynewt-core/libc/baselibc/src/malloc.c:252:10: error: called 
object 'malloc_lock' 

[GitHub] [mynewt-core] sjanc commented on issue #2583: Error compiling 1.9.0

2021-04-27 Thread GitBox


sjanc commented on issue #2583:
URL: https://github.com/apache/mynewt-core/issues/2583#issuecomment-827447353


   as mentioned (c1f0300), we now take this from SDK instead of local copy 
(which was wrong for some platforms)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2584: hw/drivers/i2s: Add routing of MSCK pin for STMF4

2021-04-27 Thread GitBox


apache-mynewt-bot commented on pull request #2584:
URL: https://github.com/apache/mynewt-core/pull/2584#issuecomment-827440250


   
   
   
   ## Style check summary
   
    No suggestions at this time!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] kasjer opened a new pull request #2584: hw/drivers/i2s: Add routing of MSCK pin for STMF4

2021-04-27 Thread GitBox


kasjer opened a new pull request #2584:
URL: https://github.com/apache/mynewt-core/pull/2584


   Add possibility to redirect MSCK to pin so it can be
   used by slave device.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] danielkucera commented on issue #2583: Error compiling 1.9.0

2021-04-27 Thread GitBox


danielkucera commented on issue #2583:
URL: https://github.com/apache/mynewt-core/issues/2583#issuecomment-827435178


   These macros were already present in 1.8.0:
   
https://github.com/apache/mynewt-core/blob/mynewt_1_8_0_tag/encoding/tinycbor/src/cborpretty.c#L307
   
   And this one compiles without issues. So I presume the problem won't be in 
my SDK, or?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] sjanc commented on issue #2583: Error compiling 1.9.0

2021-04-27 Thread GitBox


sjanc commented on issue #2583:
URL: https://github.com/apache/mynewt-core/issues/2583#issuecomment-827395899


   Do you mean you are able to compile other projects that use PRIuX macros 
with that SDK?
   
   Those macros should be defined in inttypes.h provided by SDK, if those are 
missing you may define those yourself ( #define PRIu64 "llu"should do)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] danielkucera commented on issue #2583: Error compiling 1.9.0

2021-04-27 Thread GitBox


danielkucera commented on issue #2583:
URL: https://github.com/apache/mynewt-core/issues/2583#issuecomment-827369433


   I'm not much in favor of keeping a separate toolchain because of mynewt, is 
there not any other way around?
   ```
   danman@silverhorse:~$ which arm-none-eabi-gcc
   /usr/bin/arm-none-eabi-gcc
   danman@silverhorse:~$ /usr/bin/arm-none-eabi-gcc -v
   Using built-in specs.
   COLLECT_GCC=/usr/bin/arm-none-eabi-gcc
   COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/9.2.1/lto-wrapper
   Target: arm-none-eabi
   Configured with: ../configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir='/usr/lib/include' --mandir='/usr/lib/share/man' 
--infodir='/usr/lib/share/info' --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir='/usr/lib/lib/x86_64-linux-gnu' 
--libexecdir='/usr/lib/lib/x86_64-linux-gnu' --disable-maintainer-mode 
--disable-dependency-tracking --mandir=/usr/share/man 
--enable-languages=c,c++,lto --enable-multilib --disable-decimal-float 
--disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath 
--disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared 
--disable-threads --enable-tls --build=x86_64-linux-gnu --target=arm-none-eabi 
--with-system-zlib --with-gnu-as --with-gnu-ld 
--with-pkgversion=15:9-2019-q4-0ubuntu1 --without-included-gettext 
--prefix=/usr/lib --infodir=/usr/share/doc/gcc-arm-none-eabi/info 
--htmldir=/usr/share/doc/gcc-arm-none-eabi/html 
--pdfdir=/usr/share/doc/gcc-arm-none-eabi/pdf --bindir=/usr/bin --libexecdir
 =/usr/lib --libdir=/usr/lib --disable-libstdc++-v3 --host=x86_64-linux-gnu 
--with-headers=no --without-newlib --with-multilib-list=rmprofile CFLAGS='-g 
-O2 
-fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
 -fstack-protector-strong' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' 
CXXFLAGS='-g -O2 
-fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
 -fstack-protector-strong' FCFLAGS='-g -O2 
-fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
 -fstack-protector-strong' FFLAGS='-g -O2 
-fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
 -fstack-protector-strong' GCJFLAGS='-g -O2 
-fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
 -fstack-protector-strong' LDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro' 
OBJCFLAGS='-g -O2 
-fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
 -fstack-protector-strong' OBJCXXFLAGS='-g -O2 -fdeb
 ug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=. 
-fstack-protector-strong' INHIBIT_LIBC_CFLAGS=-DUSE_TM_CLONE_REGISTRY=0 
AR_FOR_TARGET=arm-none-eabi-ar AS_FOR_TARGET=arm-none-eabi-as 
LD_FOR_TARGET=arm-none-eabi-ld NM_FOR_TARGET=arm-none-eabi-nm 
OBJDUMP_FOR_TARGET=arm-none-eabi-objdump RANLIB_FOR_TARGET=arm-none-eabi-ranlib 
READELF_FOR_TARGET=arm-none-eabi-readelf STRIP_FOR_TARGET=arm-none-eabi-strip
   Thread model: single
   gcc version 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599] 
(15:9-2019-q4-0ubuntu1) 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] sjanc commented on issue #2583: Error compiling 1.9.0

2021-04-27 Thread GitBox


sjanc commented on issue #2583:
URL: https://github.com/apache/mynewt-core/issues/2583#issuecomment-827362450


   this is probably due to c1f0300413fc981741d37d655654de1dbca5d4df
   
   What SDK do you use? I recall gcc-arm-none-eabi available in ubuntu had 
packaging issues resulting in this error. Could you try with ARM's gcc?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [mynewt-core] sjanc closed issue #2507: Error creating initial 'myproj' project

2021-04-27 Thread GitBox


sjanc closed issue #2507:
URL: https://github.com/apache/mynewt-core/issues/2507


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org