-
@jgrizou did you publish the STL files for this robo kart somewhere? I really like the design and wanted to build one for my kids
-
Hi folks,
I wonder if there is a simple way to create a web server with some HTML/CSS without having an SD card module.
I have a ESP8266 NodeMCU module with Espruino 2V03 flashed. I want to create a web interface to control my neopixel led decoration item from laptop/mobile (wifi only)
For that I want to crate some simple wen interface in html and display that in browser when access the esp8266 from the IP address.
Any pointers ??
//Abhinav
-
-
SDK15
targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: error: 'NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk' undeclared (first use in this function); did you mean 'NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk'? [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: note: in definition of macro 'NRF_NFCT_ERRORSTATUS_ALL' [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: note: each undeclared identifier is reported only once for each function it appears in [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: note: in definition of macro 'NRF_NFCT_ERRORSTATUS_ALL' [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC /mnt/f/Users/ABHINAV.000/Documents/esp/Espruino/targetlibs/nrf5x_15/components/libraries/usbd/app_usbd_core.o <command-line>: warning: ISO C99 requires whitespace after the macro name targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:130:41: error: 'NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk' undeclared (first use in this function); did you mean 'NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk'? NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:130:41: note: in definition of macro 'NRF_NFCT_ERRORSTATUS_ALL' NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c: In function 'hal_nfc_send': targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:742:12: warning: passing argument 1 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] memcpy(m_nfc_buffer, p_data, NFC_BUFFER_SIZE); ^~~~~~~~~~~~ In file included from targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.h:56, from targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:44: /usr/local/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/include/string.h:31:9: note: expected 'void * restrict' but argument is of type 'volatile uint8_t *' {aka 'volatile unsigned char *'} void * memcpy (void *__restrict, const void *__restrict, size_t); ^~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c: In function 'NFCT_IRQHandler': targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:874:17: error: 'm_nfc_rx_buffer' undeclared (first use in this function); did you mean 'm_nfc_buffer'? if (m_nfc_rx_buffer[0] == T2T_READ_CMD) ^~~~~~~~~~~~~~~ m_nfc_buffer targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:874:39: error: 'T2T_READ_CMD' undeclared (first use in this function) if (m_nfc_rx_buffer[0] == T2T_READ_CMD) ^~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: error: 'NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk' undeclared (first use in this function); did you mean 'NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk'? [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: note: in definition of macro 'NRF_NFCT_ERRORSTATUS_ALL' [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC /mnt/f/Users/ABHINAV.000/Documents/esp/Espruino/targetlibs/nrf5x_15/components/libraries/usbd/app_usbd_string_desc.o targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:130:41: error: 'NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk' undeclared (first use in this function); did you mean 'NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk'? NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:130:41: note: in definition of macro 'NRF_NFCT_ERRORSTATUS_ALL' NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:789: /mnt/f/Users/ABHINAV.000/Documents/esp/Espruino/targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.o] Error 1 make: *** Waiting for unfinished jobs.... <command-line>: warning: ISO C99 requires whitespace after the macro name
-
SDK12
targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: error: 'NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk' undeclared (first use in this function); did you mean 'NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk'? [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: note: in definition of macro 'NRF_NFCT_ERRORSTATUS_ALL' [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: note: each undeclared identifier is reported only once for each function it appears in [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: note: in definition of macro 'NRF_NFCT_ERRORSTATUS_ALL' [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC /mnt/f/Users/ABHINAV.000/Documents/esp/Espruino/targetlibs/nrf5x_15/components/libraries/usbd/app_usbd_core.o targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:130:41: error: 'NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk' undeclared (first use in this function); did you mean 'NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk'? NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:130:41: note: in definition of macro 'NRF_NFCT_ERRORSTATUS_ALL' NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c: In function 'hal_nfc_send': targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:742:12: warning: passing argument 1 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] memcpy(m_nfc_buffer, p_data, NFC_BUFFER_SIZE); ^~~~~~~~~~~~ In file included from targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.h:56, from targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:44: /usr/local/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/include/string.h:31:9: note: expected 'void * restrict' but argument is of type 'volatile uint8_t *' {aka 'volatile unsigned char *'} void * memcpy (void *__restrict, const void *__restrict, size_t); ^~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c: In function 'NFCT_IRQHandler': targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:874:17: error: 'm_nfc_rx_buffer' undeclared (first use in this function); did you mean 'm_nfc_buffer'? if (m_nfc_rx_buffer[0] == T2T_READ_CMD) ^~~~~~~~~~~~~~~ m_nfc_buffer targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:874:39: error: 'T2T_READ_CMD' undeclared (first use in this function) if (m_nfc_rx_buffer[0] == T2T_READ_CMD) ^~~~~~~~~~~~ <command-line>: warning: ISO C99 requires whitespace after the macro name targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: error: 'NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk' undeclared (first use in this function); did you mean 'NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk'? [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:129:42: note: in definition of macro 'NRF_NFCT_ERRORSTATUS_ALL' [#define](https://forum.espruino.com/search/?q=%23define) NRF_NFCT_ERRORSTATUS_ALL (NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk | \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC /mnt/f/Users/ABHINAV.000/Documents/esp/Espruino/targetlibs/nrf5x_15/components/libraries/usbd/app_usbd_string_desc.o targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c:130:41: error: 'NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk' undeclared (first use in this function); did you mean 'NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk'? NFCT_ERRORST
-
Hi All,
I am trying to build Espruino for Particle Xenon board with NFC. I have created a board file similar to NRF52840DK.py but changed the "devices" section in board file according to the Xenon board pinouts for leds and buttons.
I have tried SDK12 and SDK 15 target by adding NRF_SDK flag in make command but getting error -
@Gordon how do I get notification of the Kickstarter campaign? Early, mid or late August??
-
-
-
If it is reproducible then maybe logging in jshFlashErasePage for zero address could be interesting to see if it gets triggered. Or the procection there could be enabled to see if it goes away.
Yes it is I can reproduce it many times.
Do you have sample code to test as you mentioned here? @fanoush -
What about if the apps can be grouped for a defined watch mode.
For example-
Fitness/Sports tracker mode will have all health related apps.
Gaming Mode will be loaded with loads of games
Geek mode will have tech apps
Custom mode: default apps(bootloader,welcome,a clockface...) + user can define their own set of apps -
@serj, yes you are correct that BangleJs can be used as a fitness tracker and from hardware perspective it is a fitness tracker indeed. But what I wanted to say that since it is an open source watch so one can have its own use case that make this thing customizable. Like you used this to record the bike ride and GPS. Other person may have a different use case.
Bangle.JS is precise in providing the communication to its peripherals line one can get accelerometer, magnetometer or even heart monitor sensor raw data. and it's an app that use this raw data and process it for different purpose. Like accelerometer data can used to predict "Step Count", I would see this is an app that is converting the raw X,Y,Z data to step count using some algorithm which should be the part of the App not the firmware.
I may sound completely wrong here, this is my thought. I consider Espruino is acting like HAL + SDK for BangleJs and one can make their own app on JavaScript that can be run on Bangje.Js.
If there are standard, reliable fitness apps, then this will have a positive effect on the sales Bangle.js,
Agree, and community should come forward and make stable fitness apps. I am sure @Gordon will help if there is a need of change/improvement/fix in Espruino.
Yes, it might expand the number of non-tech users, but that's great!
On the other hand, for non-technical users, UX (user experience) should be very good:I think it will take some time. Even Microsoft is still improving :)
out of the box, basic functions should work stably.
AFAIK It is already working.
-
I understand how you feel @Gordon, people should understand that there are not buying an Apple Watch or AmazeFit.
This is an OpenSource hackable watch with is not a fitness tracker at all. I backed this project because I want something that I can wear and runs on Espruino. I have several other watches like Fossils and other cheap fitness tracker for this purpose.
So thinking of making fitness app should not be the goal I guess, and it should be up to Espruino community.
I planned to make even an Android app for Bangle Js but have no time.
Honestly I really appreciate your effort by making wonderful Espruino. Thanks a lot.
-
-
@Gordon I agree, these apps are not built by commercial app developers. So ratings are not quite important. For me it is point of motivation that someone like and using app that was created by me. I am quite happy to see that there are 63 downloads for my app in 2021. :)
-
-
Hi,
Is it possible (and how) MBR got erased when I upload the code from Web-IDE.
Actually I have a nrf52 based fitness tracker. I have build Espruino (not the latest one, but somewhere around 2V.07.XXX). Since this version is the sable (for me and SDK11).
When I upload the code for color OLED display driver in Inline C function, which is not mine but was originally developed for B5 and
F07 trackers.
What I did-- I upload the code for B5
- Without resetting board (reset()) I upload F07 code. I have disabled reset before send in Web IDE for some reason
When I reversed the code like Upload F07 and then B5, it did not brick the device.
Jut after second upload, WEB IDE got disconnected and tracker is not searchable in BLE search (Web IDE and nrfConenct)
After that I connected the tracker with SWD stlink and dump the flash bank 0. I noticed that MBR is filled with 0xFF from 0x0 to 0xfff.
What I understood is the MBR is clear somehow and device is bricked. Is it really possible that MBR can be erased by any chance.
I successfully bricked the device 2-3 times same way (and revived by mass erase) and every time it bricked.
Is it old Espruino code I am using.
It is the Inline C oled driver causing this?There was no firmware upgrade or flashing (other then Web-IDE upload to RAM) involved in entire process.
Thanks
- I upload the code for B5
-
@Gordon, I don't find any example how to update graph. Could you please help me!!
-
-
Thank you @Gordon as always for a super quick response!!
-
Hi,
I want to image sprite of fixed dimension small icon images(~10 to 15) in to one single image and store in to storage.What is the best way to read each individual image from the sprite. I can store individual image in storage but that is something I don't want to do (jus because I don't like soring lots of small files.)
Any clue how I can achieve this?
//Abhinav
-
@epw! interestingly PineTime also have a companion app built on top of flutter_blue library and same code can be compile in to Android or iOS app.
Unfortunately java/DART are not my skill set. So not able to understand much!!
-
@jgrizou_email_login /@jgrizou
Thanks :). I love to build this..