These are chat archives for SmingHub/Sming

26th
Jul 2016
robotiko
@robotiko
Jul 26 2016 10:19
hi
just installed in win10 .. clean manual install..
but cannot build
12:13:21 **** Build of configuration Sming for project SmingFramework ****
make rebuild 
AS system/irq_check.s
Makefile:268: recipe for target 'out/build/system/irq_check.o' failed
process_begin: CreateProcess(NULL, /c/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Isystem -Isystem/helpers -IWiring -ISmingCore -Iappinit -ISmingCore/Network/ -ISmingCore/Platform/ -IServices/libemqtt/ -IServices/SpifFS/ -IServices/FATFS/ -IServices/CommandProcessing/ -IServices/HexDump/ -IServices/cWebsocket/ -IServices/ArduinoJson/ -IServices/DateTime/ -IServices/WebHelpers/ -ILibraries/CapacitiveSensor/ -ILibraries/OneWire/ -ILibraries/MCP23017/ -ILibraries/Adafruit_ILI9341/ -ILibraries/Bounce/ -ILibraries/Adafruit_GFX/ -ILibraries/I2Cdev/ -ILibraries/Adafruit_NeoPixel/ -ILibraries/TFT_ILI9163C/ -ILibraries/ArduCAM/ -ILibraries/Ultrasonic/ -ILibraries/DS3232RTC/ -ILibraries/Mirf/ -ILibraries/DS18S20/ -ILibraries/Adafruit_SSD1306/ -ILibraries/RCSwitch/ -ILibraries/si4432/ -ILibraries/HMC5883L/ -ILibraries/Adafruit_PCD8544/ -ILibraries/DHT/ -ILibraries/BMP180/ -ILibraries/SDCard/ -ILibraries/MMA_7455/ -ILibraries/Servo/ -ILibraries/WS2812/ -ILibraries/RF24/ -ILibraries/BH1750FVI/ -ILibraries/MCP23S17/ -ILibraries/Adafruit_ST7735/ -ILibraries/IR/ -ILibraries/LiquidCrystal/ -ILibraries/SparkFun_APDS9960/ -Isystem/include -Isystem/helpers/include -IWiring/include -ISmingCore/include -Iappinit/include -ISmingCore/Network//include -ISmingCore/Platform//include -IServices/libemqtt//include -IServices/SpifFS//include -IServices/FATFS//include -IServices/CommandProcessing//include -IServices/HexDump//include -IServices/cWebsocket//include -IServices/ArduinoJson//include -IServices/DateTime//include -IServices/WebHelpers//include -ILibraries/CapacitiveSensor//include -ILibraries/OneWire//include -ILibraries/MCP23017//include -ILibraries/Adafruit_ILI9341//include -ILibraries/Bounce//include -ILibraries/Adafruit_GFX//include -ILibraries/I2Cdev//include -ILibraries/Adafruit_NeoPixel//include -ILibraries/TFT_ILI9163C//include -ILibraries/ArduCAM//include -ILibraries/Ultrasonic//include -ILibraries/DS3232RTC//include -ILibraries/Mirf//include -ILibraries/DS18S20//include -ILibraries/Adafruit_SSD1306//include -ILibraries/RCSwitch//include -ILibraries/si4432//include -ILibraries/HMC5883L//include -ILibraries/Adafruit_PCD8544//include -ILibraries/DHT//include -ILibraries/BMP180//include -ILibraries/SDCard//include -ILibraries/MMA_7455//include -ILibraries/Servo//include -ILibraries/WS2812//include -ILibraries/RF24//include -ILibraries/BH1750FVI//include -ILibraries/MCP23S17//include -ILibraries/Adafruit_ST7735//include -ILibraries/IR//include -ILibraries/LiquidCrystal//include -ILibraries/SparkFun_APDS9960//include -Iinclude -Isystem/include -IWiring -ILibraries -ISmingCore -Irboot -Irboot/appcode -IC:/Espressif/ESP8266_SDK/../include -IC:/Espressif/ESP8266_SDK/include -IC:/Espressif/ESP8266_SDK/include/json -Wpointer-arith -Wundef -Werror -Wl,-EL -nostdlib -mlongcalls -mtext-section-literals -finline-functions -fdata-sections -ffunction-sections -D__ets__ -DICACHE_FLASH -DARDUINO=106 -DCOM_SPEED_SERIAL= -Os -g -c system/irq_check.s -o out/build/system/irq_check.o, ...) failed.
make (e=2): System cannot find file especified 

make: *** [out/build/system/irq_check.o] Error 2

12:13:27 Build Finished (took 6s.303ms)
any hint?
anyone intalled without cholocolatey ?
robotiko
@robotiko
Jul 26 2016 12:22
ok solved
look like issues with the mingw addons
that is not installign correctly
zhivko
@zhivko
Jul 26 2016 12:42
@robotiko: you frightened me - I was thinking is there new version of Sming or rtos out there? - but seems syou reinstalled your environment ;) cheers
robotiko
@robotiko
Jul 26 2016 12:42
I reinstalled environemnt
but latest udk 2.1.0
has changes that make it not work
still bet anyway
zhivko
@zhivko
Jul 26 2016 12:43
so you managed to compile or not ?
robotiko
@robotiko
Jul 26 2016 12:43
I manage to compile using latest udk..
and reinstallign the mingw addons
zhivko
@zhivko
Jul 26 2016 12:44
you also did some tests ?
is there some new functionality in latest udk that you needed ?
robotiko
@robotiko
Jul 26 2016 12:44
nopes
I just reinstalled
zhivko
@zhivko
Jul 26 2016 12:44
ok - nice to know
robotiko
@robotiko
Jul 26 2016 12:45
so tried with latest
Harry Böttcher
@harry-boe
Jul 26 2016 16:11
esp8266 and the Security project
I’m still working on the security topic for the SmingPlatform. I have two branches in my repo
https://github.com/harry-boe/SmingRTOS/tree/security/CryptoAuthLib/sming/security
and https://github.com/harry-boe/SmingRTOS/tree/security/micro-ecc/sming/security
The first one is the port and HAL binding code to use the Atmel crypt chips with SmingRTOS. The second one is e elyptic cryptography library ported to sing.
I like to get your feedback on how all that code is integrated with the SmingProject. Right now it has it own subfolder and Makefile to create a security lib to be linked against siming. This will keep a lot of that complexity deom the core project.
Finaly i need to mention that there is much more stuff on the roadmap. Like signig OTA firmware with hw keys. Authetication against gateways, provisioning etc. So I think it’s reasonable to keep the saparated from the core
Any opinions welcome.
Last note: there is also a LORA branch wit ha port of the readiohead LORA library. It works but is not yet ready for the prome time (just if someone ist interested)
robotiko
@robotiko
Jul 26 2016 16:16
@harry-boe WOW
that is incredible
the first -> Atmel HAL requires a particular cryptochip or works with all atmel chips?
Harry Böttcher
@harry-boe
Jul 26 2016 16:30
The library from Atmel is designed for Atmel ATSHA204A, ATECC108A and ATECC508A. The port does not exclude any chips but is tested only with the ATECC508A chip. But i see no reason why it should not work with the other chips
robotiko
@robotiko
Jul 26 2016 16:31
nice one the ATECC508A
robotiko
@robotiko
Jul 26 2016 16:36
so the second branch more or less replaces the HW atecc508A encryption, done it on the esp without the keystore
getting it right?
HappyCodingRobot
@HappyCodingRobot
Jul 26 2016 16:45
@harry-boe nice work ..
alonewolfx2
@alonewolfx2
Jul 26 2016 18:39
@zhivko i saw omega2 bir it seems not A.1 big thing . because of addons. İta 5$
alonewolfx2
@alonewolfx2
Jul 26 2016 18:44
Just core and docks are 15$
Withiyt shipping
*without
HappyCodingRobot
@HappyCodingRobot
Jul 26 2016 19:11
The c.h.i.p. with it's 9$ seems more interesting as it has a full linux
Harry Böttcher
@harry-boe
Jul 26 2016 21:04
so the second branch more or less replaces the HW atecc508A encryption, done it on the esp without the keystore
Yep that’s the idea to have the sw implementation to support ECDSA for authentication.
Ther is actualy a showcase implementing that here https://github.com/ti8m/IoTmeetsBusiness
The project over there implements ECDSA with that libray and includes a Adroid app implementing the key exchange (provisioning) using SmartConfig. It also includes a nodes server to autheticate against and send some temp data. Unfortunatley it’s not yet well documented or aligned and cleaned up with SmingRTOS. But is hows the direction eher we are heading to
I have another question. I have some esp32 samples on the way from aliexpress. Has someone already stared porting Sming to the esp32 ?
robotiko
@robotiko
Jul 26 2016 21:06
there is a port in espt arduino
Harry Böttcher
@harry-boe
Jul 26 2016 21:12
any plans to create a Sming32 project