cesanta / mongoose-os

Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
https://mongoose-os.com
Other
2.49k stars 430 forks source link

Initial work on Ubuntu port of Mongoose OS #475

Closed pimvanpelt closed 5 years ago

pimvanpelt commented 5 years ago

This PR yields mostly running code on Ubuntu LTS amd64.

This is now to the point that it compiles and runs empty.git application with a 1000ms callback timer.

$ build/bin/empty 
mongoose_init        Mongoose OS 201901172117 (20190117-211718/2.10.2-25-gaf42cabb-dirty-master)
mongoose_init        empty 1.0 (20190117-211718/2.10.0-dirty-master-g01d3f5b73)
mongoose_init        CPU: 1742 MHz, heap: 16799997952 total, 2030559232 free
mongoose_init        Network: ip=194.126.235.37 netmask=255.255.255.240 gateway=194.126.235.33
mgos_hw_timers_init  Not implemented yet
mgos_vfs_common_init Not implemented yet
mgos_core_fs_init    Not implemented yet
mgos_gpio_hal_init   Not implemented yet
mgos_conf_parse_cb   Extra key: [debug.udp_log_addr]
mgos_conf_parse_cb   Extra key: [debug.mbedtls_level]
mgos_sys_config_init MAC: 03094340DE72
mgos_sys_config_init WDT: 30 seconds
mgos_init            Init done, RAM: 3915096064 total, 2030559232 free, 0 min free
app_cb               counter=1
app_cb               counter=2
app_cb               counter=3
app_cb               counter=4
app_cb               counter=5
app_cb               counter=6
app_cb               counter=7
app_cb               counter=8
rojer commented 5 years ago

https://github.com/cesanta/mongoose-os/commit/0b8ac8aede3afedf68cf969b10ff2a15676b44dd is the integration commit, closing this one.