Permalink
Browse files

Release 3.0.0.

  • Loading branch information...
eerimoq committed Jul 4, 2017
1 parent ce13f3e commit ebd59bee95a4b45a76f875b40245ad74779b157f
View
@@ -1 +1 @@
master
3.0.0
View
@@ -52,6 +52,18 @@ def get_default_configuration(board):
cwd="examples/default-configuration")
def get_port_has(board):
"""Get the list of PORT_HAS defines for given board.
"""
return subprocess.check_output(["make",
"-s",
"BOARD=" + board,
"port-has"],
cwd="examples/default-configuration")
def main():
"""Main.
@@ -89,13 +101,13 @@ def main():
default_config.append((mo.group(1), mo.group(2)))
default_config.sort()
database["boards"][board]["default-configuration"] = default_config
# Get board drivers.
drivers_src = get_make_variable(board, "DRIVERS_SRC").split()
re_port_has = re.compile(r"#define PORT_HAS_(\w+)")
drivers = []
for src in drivers_src:
if not os.path.split(src)[0]:
drivers.append(os.path.splitext(src)[0])
for line in get_port_has(board).splitlines():
mo = re_port_has.match(line)
drivers.append(mo.group(1).lower())
database["boards"][board]["drivers"] = drivers
# Get board include paths.
View
@@ -68,6 +68,8 @@
def driver_file_name_to_class(filename):
class_map = {
'eeprom_i2c': 'EepromI2C',
'i2c': 'I2C',
'i2c_soft': 'I2CSoft',
'esp_wifi': 'esp_wifi'
}
@@ -15,8 +15,11 @@ Supported drivers for this board.
- :class:`Can<drivers.drivers.Can>`
- :class:`Dac<drivers.drivers.Dac>`
- :class:`Ds18b20<drivers.drivers.Ds18b20>`
- :class:`EepromI2C<drivers.drivers.EepromI2C>`
- :class:`Exti<drivers.drivers.Exti>`
- :class:`Flash<drivers.drivers.Flash>`
- :class:`I2C<drivers.drivers.I2C>`
- :class:`I2CSoft<drivers.drivers.I2CSoft>`
- :class:`Owi<drivers.drivers.Owi>`
- :class:`Pin<drivers.drivers.Pin>`
- :class:`Sd<drivers.drivers.Sd>`
@@ -40,9 +43,9 @@ Below is the memory usage of two applications:
+--------------------------+-----------+-----------+
| Application | Flash | RAM |
+==========================+===========+===========+
| minimal-configuration | 304632 | 37304 |
| minimal-configuration | 223992 | 37320 |
+--------------------------+-----------+-----------+
| default-configuration | 440824 | 76020 |
| default-configuration | 352248 | 76334 |
+--------------------------+-----------+-----------+
Default configuration
@@ -63,6 +66,8 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_DS18B20 | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_EEPROM_I2C | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_ESP_WIFI | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_EVENT | 1 |
@@ -75,7 +80,9 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_HTTP_SERVER_WEBSOCKET | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_I2C_SOFT | 0 |
| CONFIG_PUMBAA_CLASS_I2C | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_I2C_SOFT | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_OWI | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
@@ -91,6 +98,8 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_UART | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_WS2812 | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_EMACS | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_HEAP_SIZE | 32768 |
View
@@ -11,9 +11,14 @@ Drivers
Supported drivers for this board.
- :class:`Ds18b20<drivers.drivers.Ds18b20>`
- :class:`EepromI2C<drivers.drivers.EepromI2C>`
- :class:`esp_wifi<drivers.drivers.esp_wifi>`
- :class:`Exti<drivers.drivers.Exti>`
- :class:`Flash<drivers.drivers.Flash>`
- :class:`I2C<drivers.drivers.I2C>`
- :class:`I2CSoft<drivers.drivers.I2CSoft>`
- :class:`Owi<drivers.drivers.Owi>`
- :class:`Pin<drivers.drivers.Pin>`
- :class:`Spi<drivers.drivers.Spi>`
- :class:`Uart<drivers.drivers.Uart>`
@@ -35,9 +40,9 @@ Below is the memory usage of two applications:
+--------------------------+-----------+-----------+
| Application | Flash | RAM |
+==========================+===========+===========+
| minimal-configuration | 454141 | 62928 |
| minimal-configuration | 454573 | 63084 |
+--------------------------+-----------+-----------+
| default-configuration | 520448 | 79624 |
| default-configuration | 522992 | 78392 |
+--------------------------+-----------+-----------+
Default configuration
@@ -56,7 +61,9 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_DAC | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_DS18B20 | 0 |
| CONFIG_PUMBAA_CLASS_DS18B20 | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_EEPROM_I2C | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_ESP_WIFI | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
@@ -66,13 +73,15 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_FLASH | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_HTTP_SERVER | 1 |
| CONFIG_PUMBAA_CLASS_HTTP_SERVER | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_HTTP_SERVER_WEBSOCKET | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_HTTP_SERVER_WEBSOCKET | 1 |
| CONFIG_PUMBAA_CLASS_I2C | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_I2C_SOFT | 0 |
| CONFIG_PUMBAA_CLASS_I2C_SOFT | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_OWI | 0 |
| CONFIG_PUMBAA_CLASS_OWI | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_PIN | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
@@ -86,6 +95,8 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_UART | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_WS2812 | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_EMACS | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_HEAP_SIZE | 24576 |
View
@@ -11,9 +11,14 @@ Drivers
Supported drivers for this board.
- :class:`Ds18b20<drivers.drivers.Ds18b20>`
- :class:`EepromI2C<drivers.drivers.EepromI2C>`
- :class:`esp_wifi<drivers.drivers.esp_wifi>`
- :class:`Exti<drivers.drivers.Exti>`
- :class:`Flash<drivers.drivers.Flash>`
- :class:`I2C<drivers.drivers.I2C>`
- :class:`I2CSoft<drivers.drivers.I2CSoft>`
- :class:`Owi<drivers.drivers.Owi>`
- :class:`Pin<drivers.drivers.Pin>`
- :class:`Spi<drivers.drivers.Spi>`
- :class:`Uart<drivers.drivers.Uart>`
@@ -35,9 +40,9 @@ Below is the memory usage of two applications:
+--------------------------+-----------+-----------+
| Application | Flash | RAM |
+==========================+===========+===========+
| minimal-configuration | 454277 | 63004 |
| minimal-configuration | 454709 | 63152 |
+--------------------------+-----------+-----------+
| default-configuration | 520672 | 79704 |
| default-configuration | 530140 | 79256 |
+--------------------------+-----------+-----------+
Default configuration
@@ -56,7 +61,9 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_DAC | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_DS18B20 | 0 |
| CONFIG_PUMBAA_CLASS_DS18B20 | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_EEPROM_I2C | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_ESP_WIFI | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
@@ -70,9 +77,11 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_HTTP_SERVER_WEBSOCKET | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_I2C_SOFT | 0 |
| CONFIG_PUMBAA_CLASS_I2C | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_I2C_SOFT | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_OWI | 0 |
| CONFIG_PUMBAA_CLASS_OWI | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_PIN | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
@@ -86,6 +95,8 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_UART | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_WS2812 | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_EMACS | 0 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_HEAP_SIZE | 24576 |
@@ -15,12 +15,16 @@ Supported drivers for this board.
- :class:`Can<drivers.drivers.Can>`
- :class:`Dac<drivers.drivers.Dac>`
- :class:`Ds18b20<drivers.drivers.Ds18b20>`
- :class:`EepromI2C<drivers.drivers.EepromI2C>`
- :class:`esp_wifi<drivers.drivers.esp_wifi>`
- :class:`Flash<drivers.drivers.Flash>`
- :class:`I2C<drivers.drivers.I2C>`
- :class:`I2CSoft<drivers.drivers.I2CSoft>`
- :class:`Owi<drivers.drivers.Owi>`
- :class:`Pin<drivers.drivers.Pin>`
- :class:`Spi<drivers.drivers.Spi>`
- :class:`Uart<drivers.drivers.Uart>`
- :class:`Ws2812<drivers.drivers.Ws2812>`
Memory usage
------------
@@ -39,9 +43,9 @@ Below is the memory usage of two applications:
+--------------------------+-----------+-----------+
| Application | Flash | RAM |
+==========================+===========+===========+
| minimal-configuration | 336595 | 87716 |
| minimal-configuration | 335864 | 87708 |
+--------------------------+-----------+-----------+
| default-configuration | 697953 | 189696 |
| default-configuration | 709124 | 189832 |
+--------------------------+-----------+-----------+
Default configuration
@@ -62,6 +66,8 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_DS18B20 | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_EEPROM_I2C | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_ESP_WIFI | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_EVENT | 1 |
@@ -74,7 +80,9 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_HTTP_SERVER_WEBSOCKET | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_I2C_SOFT | 0 |
| CONFIG_PUMBAA_CLASS_I2C | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_I2C_SOFT | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_OWI | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
@@ -90,6 +98,8 @@ Default Standard Library configuration.
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_UART | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_CLASS_WS2812 | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_EMACS | 1 |
+--------------------------------------------------------+-----------------------------------------------------+
| CONFIG_PUMBAA_HEAP_SIZE | 65536 |
Oops, something went wrong.

0 comments on commit ebd59be

Please sign in to comment.