arduino-libraries / MKRWAN_v2

[Beta] Library for Arduino MKRWAN 1300 / 1310 suitable for firmwares derived from ST sources
GNU Lesser General Public License v3.0
7 stars 6 forks source link

Fw version compiled is 1.3.0 and not 1.3.1 #4

Open aalbinati opened 3 years ago

aalbinati commented 3 years ago

Fw version compiled is 1.3.0 and not 1.3.1

javafrog commented 3 years ago

Observing the same. Is it the right version that's included?

fe64970103 commented 3 years ago

I'm not sure either. If I checkout the https://github.com/arduino/mkrwan1300-fw/tree/master-1.3.1 branch, compile it and then generate the fw.h file the end results (fw.h) is different when compared to the one contained in the "MKRWAN_v2/examples/MKRWANFWUpdate_standalone". Beside this the version.h file contains:

/* Exported constants --------------------------------------------------------*/
#define __APP_VERSION_MAIN   (0x01U) /*!< [31:24] main version */
#define __APP_VERSION_SUB1   (0x03U) /*!< [23:16] sub1 version */
#define __APP_VERSION_SUB2   (0x00U) /*!< [15:8]  sub2 version */
#define __APP_VERSION_RC     (0x00U) /*!< [7:0]  release candidate */
#define __APP_VERSION        ((__APP_VERSION_MAIN <<24)\
                                             |(__APP_VERSION_SUB1 << 16)\
                                             |(__APP_VERSION_SUB2 << 8 )\
                                             |(__APP_VERSION_RC))

I'm using the latest AC6 tools from openstm32.org.

MKRWAN is a poorly managed project. Repos are a mess (with inconsistencies like this one), two API libraries, both with quirks, forums are dead and I'm wondering if Arduino has it on the "deprecated" list already.

reyes73a commented 2 years ago

wondering the same here... its a shame. The Murata and MKRWan versions never properly match. Documentation is very poor and forums are mostly dead. Examples will not properly work due to this. I wish I had known this earlier and I would have gone with something else. The Lopy4 from PyCom is a good option. It is not the Arduino ecosystem (its micropython), but at least it seems to be more stable and with better management and support...